Jump to content

CaptainEd

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Location
    USA
  • First Name
    Ed
  • Last Name
    Gaito

CaptainEd's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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.squirrel...-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. I can log into the database with phpMyAdmin and everything appears to be there. 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 This led me to this thread..... I'm finding include(..../config.inc.php in a huge number of files. Do they all need to be edited and changed to include_once(? Could there be an issue with my PHP configuration? The site is running fine in production......just not on my staging server. I can mass search/replace if that's the fix for this server, but I don't want to jump in too deep and screw things up further. Thank you in advance for any help you can offer. -Ed G.
  2. 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.
  3. 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.
  4. And if it helps, I can log into the database with phpMyAdmin and everything looks fine with the database....
  5. 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.
  6. 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.
  7. Can you point me to something that would guide me to your recommended upgrade path? When you say "select not to update default theme" it leads me to believe there is an upgrade script of sorts, correct? Do I get that version out of GitHub or from the PrestaShop site? My dashboard has a box/link suggesting 1.6 be downloaded, but I'm not going there yet...that will be a spring project. I like to get my hands dirty, but I need to focus on selling and getting traffic back to the site. Do you recommend against just upgrading the county.php file to the patched one mentioned above to get taxes working for now? Again, thank you.
  8. I recently took over a site that is currently running version 1.4.4.1. It's a somewhat seasonal business, with the busy season upon us, so I'm concerned about jumping into an upgrade for fear of running into issues that could take me down for any length of time. Any comments on the risk/reward profile for jumping to the current version would be appreciated. The known bug I'm running into concerns tax calculations where counties are involved. I've done a good bit of reading and found some threads referencing a code fix, and even a video discussing how to fix the issue by editing a query in county.php, but can't seem to find the actual code as it appears the bug tracker and forums have been upgraded over time. I also found a reference to the fix being in SVN, here: http://forge.prestashop.com/browse/PSCFI-1622 which led me to GitHub. When I look in GitHub, I see a 2013 version of country.php for 1.4 here: https://github.com/PrestaShop/PrestaShop-1.4/blob/master/classes/County.php Is it a good idea to simply replace my county.php with this one, which includes what appear to be a couple of fixes to taxes and zip codes? If not, can someone help me find the original code fix? Thank you in advance for any assistance offered. I'm looking forward to getting more familiar with PrestaShop and the ecosystem around it. I'm not sure why it hasn't crossed my radar before now, -Ed G.
×
×
  • Create New...