CaptainEd Posted November 18, 2015 Share Posted November 18, 2015 (edited) I'm working on setting up a clone of my live site in order to run an upgrade from 1.4.4.1 to current. I followed the instructions at this link that I found here in the forums: https://www.squirrelhosting.co.uk/hosting-blog/hosting-blog-info.php?id=27 It seems pretty basic....export the database, import it to the new one, FTP all of the files over and change the database settings in the settings.inc file. No errors were encountered importing the SQL file, and the file counts match between the source ftp directory and the target. Upon trying to access the site, I get a 500 error, blank page. I turned on error displays, and see this: Fatal error: Cannot redeclare p() (previously declared in /home7/lakelao1/public_html/devstore/config/config.inc.php:86) in /home7/lakelao1/public_html/devstore/classes/config/config.inc.php on line 88 I've searched for a solution to no avail.... I assume I should have this up and running before attempting to upgrade....any clues? Thank you, -Ed G. Edited November 20, 2015 by El Patron (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted November 18, 2015 Share Posted November 18, 2015 Hi Ed. What is the PrestaShop version you are working with? Link to comment Share on other sites More sharing options...
CaptainEd Posted November 18, 2015 Author Share Posted November 18, 2015 Hi Ed. What is the PrestaShop version you are working with? 1.4.4.1 It was actually the link in your signature I used to turn on error reporting, from a previous thread I found...... Thank you for your response, -Ed G. Link to comment Share on other sites More sharing options...
CaptainEd Posted November 18, 2015 Author Share Posted November 18, 2015 Hi Ed. What is the PrestaShop version you are working with? And if it helps, I can log into the database with phpMyAdmin and everything looks fine with the database.... Link to comment Share on other sites More sharing options...
CaptainEd Posted November 20, 2015 Author Share Posted November 20, 2015 I'm still stuck on this....any clues anyone? Thank you, -Ed G. Link to comment Share on other sites More sharing options...
El Patron Posted November 20, 2015 Share Posted November 20, 2015 https://www.prestashop.com/forums/topic/218647-fatal-error-cannot-redeclare-p-previously-declared-in-webcabserwwwconfigconfigincphp90/?p=1317387 https://www.prestashop.com/forums/topic/264098-fatal-error-cannot-redeclare-p-previously-declared-in/?p=1317400https://www.prestashop.com/forums/topic/264098-fatal-error-cannot-redeclare-p-previously-declared-in/?p=1317400 Link to comment Share on other sites More sharing options...
CaptainEd Posted November 21, 2015 Author Share Posted November 21, 2015 I had found those two threads in my own research, but am having trouble locating the include. Any idea what file it could be in? The site files are a direct copy from a running store, so I'm not sure how it would have changed on its own. Thank you, -Ed G. Link to comment Share on other sites More sharing options...
El Patron Posted November 21, 2015 Share Posted November 21, 2015 it is best if you update the 'other' topic that is in English for help. The person posting the fix is an active member of community. I also suggest you find a good file search program that allows you to search your shop files (on you computer) to find strings. Link to comment Share on other sites More sharing options...
CaptainEd Posted November 21, 2015 Author Share Posted November 21, 2015 Continuing the search, I found what looks like hundreds of files that include( or require( config.inc.php: include(PS_ADMIN_DIR.'/../config/config.inc.php'); Should this be mass-updated to include_once? Could there be a PHP setting on this new server that doesn't allow it to run while it runs correctly on the production server? Thanks, -Ed G. Link to comment Share on other sites More sharing options...
El Patron Posted November 21, 2015 Share Posted November 21, 2015 I'd post in the other post so my it is best if you update the 'other' topic that is in English for help. The person posting the fix is an active member of community. 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