pantheon-systems / localdev-issues

Issue tracking for Pantheon localdev
6 stars 2 forks source link

Some images not displaying on page and in admin #107

Closed kstates closed 3 years ago

kstates commented 3 years ago

After pulling the site down into LocalDev, when I navigate to the home page, all of the images that are stored in the database are missing from the site. They are also not appearing in the image selector, as seen.

image

However, the images are showing up in the database, and in the 'code editor' view in the admin.

This site is working as intended for several coworkers, and the support engineer who took a look at this for me and suggested opening an issue.

I am using a Macbook Pro with an Intel chip.

I have re-pulled the code and db several times, completely destroyed and rebuilt the site, tried on the most recent version of Docker as well as the suggested version of Docker, turned on WP debugging, switched the theme to default 2021 theme, turned off all plugins, allocated more resources to Docker, and probably several other debugging attempts that I have forgotten in my hair rending at this point.

kstates commented 3 years ago

It looks like this was actually an issue with LocalDev not pulling the database correctly - I was getting memory errors, but it was saying that the process was completed correctly. Once I pulled the database from dev manually and uploaded it to my local, the images started working correctly.