Jump to content

[SOLVED] Product pages not working after restore from backup.


Recommended Posts

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 :D

 

Cheers,

Ian

Link to comment
Share on other sites

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

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

  • 1 year later...
×
×
  • Create New...