Tagged: pretty photo
September 3, 2013 at 11:23 am #7068
I just found out this morning that the Pretty Photo plugin in the Optimal child theme is causing massive error logs on our account. It was so large, 16GB, that the hosting company had to delete the error log in order for me to even get access to the site. We don’t use the Portfolio page on this installation and I would like to know the best way to completely disable and delete this plugin from the theme so we don’t continue to get these errors.
Ken PartainSeptember 3, 2013 at 11:34 am #7070
To get rid of the portfolio file, you could just simply delete it and the folder that has the prettyPhoto file in your theme.
I’m willing to bet that it’s something else causing those errors, maybe some custom code, or a plugin of some sort, or bad WP install. The prettyPhoto plugin is not activated whatsoever unless you actually use the portfolio template. And even then, it wouldn’t do that. I’m not sure why they would tell you something like that, no other site has ever had this issue before in any theme. Who are you hosted with?
You can use FTP to delete the files, or you can make a copy of your theme and delete the files from your desktop, then rezip and upload. Either way will work (FTP is recommended).
If you can, please keep me updated, because I’m curious about this.
September 3, 2013 at 12:19 pm #7078
Hi Eric – thanks for your quick reply.
Here’s the note I received from Hostgator:
This appears to be caused by a faulty plugin located here: /home/********/public_html/wp-content/themes/optimal/plugins/prettyPhoto/. It has generated a log file that is over 16 Gigs. That log file is located here: /home/********/public_html/error_log.
I’ve obscured the actual folder id with asterisks.
I have checked to make sure that no pages on the site are using the Portfolio template.
Now, just to be sure before I start deleting things, I should delete the page_portfolio.php file from the Optimal folder and then I can completely delete the PrettyPhoto folder from the Optimal/plugins folder, including the css, images and js folders?
Ken PartainSeptember 3, 2013 at 1:53 pm #7086
Yes that is correct. Make sure and back everything up fist in case you delete the wrong thing by mistake. But I’m not sure if that’s going to make a difference to whatever the real issue is, because the prettyPhoto code/file does not show up at all unless you use a template, or if there is custom code somewhere linked to it. 16gb of errors is still extreme and unheard of, I still doubt that this theme is the cause. Hostgator is known for getting things wrong and blaming WordPress for their own server issues (I’ve had them a few years ago)
I’ve never seen that happen out of all the people I’ve helped here. I have a lot of clients that use some of Appfinite and StudioPress themes and this has never occurred. I’m not even sure how that could even happen from an error. If this continues after you delete those files, and you know that the prettyPhoto is not the cause of the problem, then it’s probably time to find a more reliable host IMO.
Let me know what happens when you get a chance.
September 3, 2013 at 3:19 pm #7093
I agree Eric. We are already in the process of moving everything over to WPEngine. Thanks for your help.
KenSeptember 3, 2013 at 10:35 pm #7100
- You must be logged in to reply to this topic.