PS 1.6 Migration problem



  • Hi All,

    Just migrated from PS 1.6 using the migration tool and now I have a blank screen error 500 - https://www.urcarfresheners.com/ Before I panic, is there anything I can do before I go trying to restore files etc…

    My test local XAMPP went ok and of course my main one hasn’t - I didn’t notice any errors during the upgrade process.

    Thanks, Dave


  • administrators

    Can you turn error reporting on in the back end and see what errors you are getting. Also you can check the server error log too.



  • Hi Lesley - thanks for the reply, my backend is totally unresponsive as well! my error log shows

    [Fri Aug 25 16:50:18 2017] [error] PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/vendor/geoip/geoip/src/geoip.inc on line 1602
    [Fri Aug 25 16:50:19 2017] [error] PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/vendor/geoip/geoip/src/geoip.inc on line 1602
    [Fri Aug 25 16:50:20 2017] [error] PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/vendor/geoip/geoip/src/geoip.inc on line 1602
    [Fri Aug 25 16:50:20 2017] [error] PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/vendor/geoip/geoip/src/geoip.inc on line 1602
    [Fri Aug 25 16:50:29 2017] [error] PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/vendor/geoip/geoip/src/geoip.inc on line 1602
    [Fri Aug 25 16:50:37 2017] [error] PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/vendor/geoip/geoip/src/geoip.inc on line 1602
    [Fri Aug 25 16:57:40 2017] [error] PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/vendor/geoip/geoip/src/geoip.inc on line 1602
    [Fri Aug 25 17:03:54 2017] [error] PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/vendor/geoip/geoip/src/geoip.inc on line 1602
    [Fri Aug 25 17:11:14 2017] [error] PHP Fatal error: Class ‘Module’ not found in /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/modules/psonesixmigrator/psonesixmigrator.php on line 35
    [Fri Aug 25 17:11:14 2017] [error] [client 89.127.55.119] File does not exist: /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/favicon.ico
    [Fri Aug 25 17:11:15 2017] [error] [client 89.127.55.119] File does not exist: /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/favicon.ico
    [Fri Aug 25 17:11:21 2017] [error] [client 89.127.55.119] Directory index forbidden by Options directive: /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/modules/psonesixmigrator/
    [Fri Aug 25 17:15:24 2017] [error] PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/vendor/geoip/geoip/src/geoip.inc on line 1602
    [Fri Aug 25 17:15:23 2017] [error] [client 93.40.243.99] File does not exist: /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/wp-login.php
    [Fri Aug 25 17:23:07 2017] [error] PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/vendor/geoip/geoip/src/geoip.inc on line 1602
    [Fri Aug 25 17:23:06 2017] [error] [client 223.229.239.212] client denied by server configuration: /var/www/vhosts/46/495126/webspace/httpdocs/urcarfresheners.com/wp-login.php


  • administrators

    What happens when you disable GEOlocation in the back office of the site?



  • I can’t access my backend either…


  • administrators

    Are you familiar with using phpmyadmin?



  • I have used it before!



  • I’ve just logged into it now


  • administrators

    Look in the ps_configuration table and find the row called PS_GEOLOCATION_ENABLED and set the value to 0. See if that helps anything.



  • Hi, that’s already at 0? 101 NULL NULL PS_GEOLOCATION_ENABLED 0


  • administrators

    hmm it looks like it might be the geoip php extension on your server causing a conflict, ask your host if they can disable it.



  • Thanks Lesley - I will, if they won’t or can’t am I looking at restoring PS do you think?



  • Hi Leslie, I’ve just sent them a request to disable and lets see what comes back! Thanks again, Dave


  • administrators

    If they won’t it might be the best short term option. We will have to run some tests to see if we can make it compatible. The files are included because it makes for easier updates, but it is known to conflict with the php extension (which is rarely installed) so we will have to make a dev environment and test against it.



  • Lets see what they say - if I have to and because I can’t roll back, I guess I need to FTP up my backup. Drop the database and then restore it from my backup right?


  • administrators

    Yeah, that should do it, or restore from a server backup.



  • Hi, I’ve had this same problem and my host says they can’t make any changes to the server. I’ve bodged my way around it by renaming the offending functions in the geoip.inc file and the site is now working.

    Would be good if there was a proper fix for this though. Would it be a matter of checking if geoip was already enabled?


  • administrators

    Have you updated thirty bees? The check is added since 1.0.2, but we have yet to make a few drastic changes in order to make the migration module migrate to the latest version of tb.
    Once you’re running 1.0.2 or higher there’s no more need to add the check manually.



  • @mdekker Yeah, I migrated from Prestashop to TB 1.0.0, had the issue, fixed it, then upgraded to 1.0.3 and the issue came back. I think the geoip file location was different this time though.



  • Hi all - sorry I never replied, no I had to do a restore and that turned into a bit of a job. A few lessons (obvious now I know) do the clone test as it’s the best test. A test rig using XAMMP is only half of a test as it doesn’t factor in server differences! Anyway you live and learn :-)

    My provider won’t change these files either. However because I lost complete access to my frontend AND backend that problem has sadly scared me off TB - which is a real shame!

    D


Log in to reply
 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.