If you’ve returned the site to an almost vanilla installation and the problem persists, I’d be checking to see if the WordPress core files were corrupted, missing, or in the worse case, compromised.
To be frank though, if this has happened to you again, maybe you should consider dumping shared hosting. I too have a shared hosting account and it costs me less than a pint of beer and bag of crisps a month. However, I use it to test things, break things and experiment. I don’t run any publicly facing sites there and wouldn’t dream of putting a client or business on it.
You can get a decent VPS dirt cheap these days and I consider that kind of hosting to be entry level. Sure, there’s a learning curve but you soon get the hang of things.
Thanks WPRanger. I have close to 60 websites (20 are WordPress sites) hosted with 1and1 on the same shared hosting and the only site I’m having problems with is this one.
I just called 1and1 and upgraded my package from 128 MB of PHP memory to 256 MB of memory. This should resolve the problem. I will likely be removing some of the plugins from this website to prevent this from occurring for a 3rd time.
So I upgraded my account with 1and1 to allow for 256MB of PHP but I’m still getting the 128MB PHP exceeded error.
After spending 1hr on the phone with tech support, they were able to get the site live but none of the images were loading. The way they did it was to change the Site Address in WordPress to http://www.baseballheavenpc.com/wordpress and in the 1and1 control panel, point the “target directory” for the domain directly to /wordpress/ which points the domain directly into the WordPress folder on the server.
I’m guessing the reason why the images were not loading is because the database has the URL’s for the images at baseballheavenpc.com/wordpress and by changing the Site URL to baseballheavenpc.com/ that causes the images to be broken. Am I understanding that correctly?
The reason the site URL was baseballheavenpc.com instead of baseballheavenpc.com/wordpress is because of the instructions in the “Using a Pre-existing subdirectory install” instructions at https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory.
Once we got the site running, I disabled ALL of the plugins within WordPress control panel but as soon as I changed the Site URL back to baseballheavenpc.com/ and pointed the domain to the root directory instead of /wordpress/, the PHP error came back up.
That leads me to believe that it’s not the plugins that are causing the PHP Memory Error.
I’m at a loss…I have no idea how to troubleshoot from here.
So here is where I’m at currently…..
1. The site is loading at http://baseballheavenpc.com/ without the PHP Memory Error but no images are loading.
2. I have disabled ALL plugins within WordPress control panel.
3. In the WordPress Control Panel, I have the WordPress Address (URL) set to http://www.baseballheavenpc.com
4. In the WordPress Control Panel, I have the Site Address (URL) set to http://www.baseballheavenpc.com.
5. In the 1and1 hosting control panel, I have the domain pointed into the /wordpress/ folder where the wordpress files are located.
So at this point, I do not know how to get the images to load because if I change the Site URL back, and point the domain back into the root directory of the server, I get the PHP Memory error.
I’m copying the wp-content/uploads folder and am going to put it in the root directory on the server. I’m guessing that will fix the images but is that just a bandaid? Would rather fix the actual problem.
Any help would be GREATLY appreciated.
I had even tried to re-upload the core wordpress files to the server and override the existing files and that did not fix the php error.
Well, copying the wp-admin/uploads folder to the root directory did not resolve the broken images issue.