gabiang Posted January 3, 2014 Share Posted January 3, 2014 Hello everyone! I'd made a copy of my shop in another folder in order to test an upgrade (actual version: 1.4.9) in /public_html/presta_upgrade. I'd also make a copy of the DB I changed __PS_BASE_URI__ to the new folder (presta_update), and parameters on settings.inc.php to use the copied DB. The problem is when accessing modules in BO. I get this error: Fatal error: Cannot redeclare class ProductCore in /public_html/classes/Product.php on line 0 You should note the path is for my root shop, as the testing one is located in /public_html/presta_upgrade/ Any help on this please??? Thanks in advance Best regards G Link to comment Share on other sites More sharing options...
vekia Posted January 3, 2014 Share Posted January 3, 2014 hello so you're connect to new shop (copy), and you see error reports related to original? Link to comment Share on other sites More sharing options...
gabiang Posted January 3, 2014 Author Share Posted January 3, 2014 Exactly! The error apears at the BO of the copy Link to comment Share on other sites More sharing options...
vekia Posted January 3, 2014 Share Posted January 3, 2014 it might be related to cache, if i were you i will try to clear shop cache first. can you try it please? Link to comment Share on other sites More sharing options...
gabiang Posted January 4, 2014 Author Share Posted January 4, 2014 it might be related to cache, if i were you i will try to clear shop cache first. can you try it please? Do you mean cleaning smarty(_v2)/compile smarty(_v2)/cache? I did it and the error persists Link to comment Share on other sites More sharing options...
El Patron Posted January 4, 2014 Share Posted January 4, 2014 you might try deleting the .htaccess in root of new domain... and also delete cache/class_index.php fingers crossed Link to comment Share on other sites More sharing options...
gabiang Posted January 4, 2014 Author Share Posted January 4, 2014 (edited) you might try deleting the .htaccess in root of new domain... and also delete cache/class_index.php fingers crossed I deleted .htaccess and nothing happened cache/ only has index.php, I tried deleting it with no success Still geting the error, could it be something on permissions? All folders are 775, and files 774 Also modules-position has a problem. it gets blank. Edited January 4, 2014 by gabiang (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 4, 2014 Share Posted January 4, 2014 it's blank probably because one of the modules has got issue with Product class redeclare (it's included somewhere once again - effect: doubled class and error). if I were you, i will try to disable only by one non default modules (unfortunately, manually from prestashop filesystem) 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