jpcmorais Posted July 1, 2009 Share Posted July 1, 2009 Hello.I want to change my prestashop from one server to other.I made a backup of my database, then I copied everything to the new server. After I changed the correct lines in the file settings.inc.php in config folder to my new database server.Everything looked OK, but when I click on any product or category link I get one of this two errors.Fatal error: Class 'ObjectModel' not found in /var/www/vhosts/playnet.biz/httpdocs/product.php on line 18Fatal error: Class 'ObjectModel' not found in /var/www/vhosts/playnet.biz/httpdocs/category.php on line 15What went wrong?Thanks in advance. Link to comment Share on other sites More sharing options...
Patric Posted July 1, 2009 Share Posted July 1, 2009 Verify that the file /classes/ObjectModel.php has correctly been copied. Even try to copy it again by replacing the other one. Link to comment Share on other sites More sharing options...
jpcmorais Posted July 2, 2009 Author Share Posted July 2, 2009 PROBLEM SOLVEDI copied everything again with Filezilla "et voilà" prestashop is up and running.Thanks. You are all a great team. Link to comment Share on other sites More sharing options...
xertion Posted February 11, 2011 Share Posted February 11, 2011 I'm having the same problem. A new client want to move her website over to our server. So I copied the public_html folder and the whole database to our server, then changed the settings.The firstpage works fine. But when I press any category I get the error "Fatal error: Class 'ObjectModel' not found in /var/www/leufstaq/category.php on line 15"I've re-copied the whole Classes folder multiple times, doesnt seem to solve anything.You got any more ideas to this problem? Link to comment Share on other sites More sharing options...
Recommended Posts