spsurfer Posted April 19, 2016 Share Posted April 19, 2016 Hello, I recently tried to migrate this prestashop installation to a new server http://www.team-bikestores.com/bikestores/es/ The new page should show up here http://bikestor.es but as you can see, I recieve this error Fatal error: Class 'Tools' not found in /var/www/vhost/bikestor.es/home/html/config/defines_uri.inc.php on line 83 I uploaded all the files from the old installation to the new server, created a new database and imported the old one and changed the settings.inc.php to the new database. I don't have a clue how to get this page wrking, any hints? The max upload of the server is set to 265MB Thanks in advance Link to comment Share on other sites More sharing options...
tuk66 Posted April 19, 2016 Share Posted April 19, 2016 I think not all files are really uploaded. Link to comment Share on other sites More sharing options...
Prestachamps Posted April 19, 2016 Share Posted April 19, 2016 Hi, did you modified in the database the table ps_shop_url , with your new shop domain, and path. after this, in backoffice, save the Seo&url page(this will regenerate the correct htaccess file for the site), after that clear cache of prestashop. The strange thing is that your new shop is redirected to the install folder . If you just copyed all files from the old live site, then you should not have the install folder in it. (install folder should be deleted after installing the prestashop. Are you sure you didn't copyed a clean prestashop files to the new location?) If still not succeed, then enable DEBUG mode. Regarding the error, are you sure you have copyed all class folder content from the live site?, and there is class/Tools.php file in it? You should check the backoffice->configuration Information page for missing folders or files , just to be sure you have copyed everything. Regards, Leo Link to comment Share on other sites More sharing options...
David S Johnston Posted April 19, 2016 Share Posted April 19, 2016 was your old shop in a similar directory structure? have you set the base URL correctly in BO > Prefrences > SEO & URL's . Scroll down and have a look what the base directory is set to. I think in your case it should be /home/html/ Link to comment Share on other sites More sharing options...
spsurfer Posted April 19, 2016 Author Share Posted April 19, 2016 (edited) Hello, first of all: THANK YOU FOR YOUR FAST REPLYS!! @Leo - I changed the ps_shop_url to the new one, but I can't access the backend, whe I rename the install folder, I recieve this error: Error: "install" directory is missing The tools.php is inside the classes folder. Regarding the install folder, on the new server first I uploaded a new prestashop instalation, BUT after, I copied the life site copy, too. The life site is in a sub directory "bikestores" and the new one in root "html". Do you think it will be better to delete everything and upload again the life site backup? Regards surfer Edited April 19, 2016 by spsurfer (see edit history) Link to comment Share on other sites More sharing options...
spsurfer Posted April 20, 2016 Author Share Posted April 20, 2016 Hello, as this is quit urgent, I actually make a new life site backup and new installation on the new server. I'll tell you how it works. Regards surfer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now