ianrarity Posted September 28, 2011 Share Posted September 28, 2011 Hi guys, I'm hoping someone can help me with a problem I am having with my client's prestashop store. A couple of days ago I had to restore the website and database from a backup and I am now getting a "Server Error" when trying to view ALL product pages! Error says: "HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request." I really don't understand this as everything was working perfectly before the restore, and after looking in the database the products tables seems to be fine... The error logs say: === [Wed Sep 28 01:38:42 2011] [error] [client 79.170.40.31] PHP Warning: require_once(/home/sites/brothersmenswear.co.uk/public_html/config/../classes/oqch8mmleycsq.php): failed to open stream: No such file or directory in /home/sites/brothersmenswear.co.uk/public_html/config/config.inc.php on line 18, referer: http://www.brothersmenswear.co.uk/ [Wed Sep 28 01:38:42 2011] [error] [client 79.170.40.31] PHP Fatal error: require_once(): Failed opening required '/home/sites/brothersmenswear.co.uk/public_html/config/../classes/oqch8mmleycsq.php' (include_path='.:/usr/share/pear53:/usr/share/php') in /home/sites/brothersmenswear.co.uk/public_html/config/config.inc.php on line 18, referer:http://www.brothersmenswear.co.uk/ === The website url is: www.brothersmenswear.co.uk and ALL product pages don't work (feel free to take a look). Its using prestashop version 1.3 (I think). Hopefully you knowledgeable guys can help Cheers, Ian Link to comment Share on other sites More sharing options...
ianrarity Posted September 29, 2011 Author Share Posted September 29, 2011 Nobody have any ideas?? I'm desperate! lol Link to comment Share on other sites More sharing options...
Mike Kranzler Posted September 29, 2011 Share Posted September 29, 2011 Hi Ian, A 500 error is an issue with your hosting server, not PrestaShop. I would suggest that you give them a call and find out what you may need to do in order to get this back up and running. -Mike Link to comment Share on other sites More sharing options...
tomerg3 Posted September 29, 2011 Share Posted September 29, 2011 I believe this is related to the way the Apache server was compiled, the issue is with smarty trying to register a function. The quick fix would be to create a new php file /classes/oqch8mmleycsq.php inside just have the php tag <?php ?> That should take care of the error. Link to comment Share on other sites More sharing options...
ianrarity Posted September 29, 2011 Author Share Posted September 29, 2011 Thanks for your help guys!!! tomerg3's advice was spot on and has worked a treat! I originally spoke to the hosting company who thought at first it was a suspicious file and though it might of been a hack attempt or something... After an investigation they said it wasn't, but it was a problem with the Prestashop script and not their hosting/server. But you guys think it is to do with their server? What do you reckon the problem is? So I can go back and tell them it's their fault and sound all knowledgeable lol. Thanks again for your help guys... Can always count on someone here having the answer!! Ian Link to comment Share on other sites More sharing options...
tomerg3 Posted September 30, 2011 Share Posted September 30, 2011 I'm glad your site is working again. I have seen this rare issue before when a registering a class function into smarty, it is also related to the way Apache is compiled, since in at least one case the error showed up after switching to FastCGI. Link to comment Share on other sites More sharing options...
ianrarity Posted September 30, 2011 Author Share Posted September 30, 2011 OK, tomerg3.. Once again, thanks for your help.... And keep up the good work with your modules! (I've purchased a few before for other clients stores) Ian Link to comment Share on other sites More sharing options...
mecollectibles Posted January 22, 2013 Share Posted January 22, 2013 Thanks Tomer. Without peoples like you, Prestashop would have been a headache but I am glad we have you in Prestashop to help all. We appreciate your help every time we face a problem. Link to comment Share on other sites More sharing options...
Recommended Posts