August 25, 20179 yr 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
August 25, 20179 yr 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.
August 25, 20179 yr Author 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 geoipcountrycodebyname() 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 geoipcountrycodebyname() 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 geoipcountrycodebyname() 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 geoipcountrycodebyname() 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 geoipcountrycodebyname() 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 geoipcountrycodebyname() 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 geoipcountrycodebyname() 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 geoipcountrycodebyname() 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 geoipcountrycodebyname() 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 geoipcountrycodebyname() 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
August 25, 20179 yr Look in the psconfiguration table and find the row called PSGEOLOCATION_ENABLED and set the value to 0. See if that helps anything.
August 25, 20179 yr 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.
August 25, 20179 yr Author Thanks Lesley - I will, if they won't or can't am I looking at restoring PS do you think?
August 25, 20179 yr Author Hi Leslie, I've just sent them a request to disable and lets see what comes back! Thanks again, Dave
August 25, 20179 yr 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.
August 25, 20179 yr Author 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?
August 31, 20179 yr 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?
August 31, 20179 yr @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.
September 3, 20179 yr Author 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
September 5, 20179 yr Author Hi Lesley, I'm not gone - I still want to try it, I'll have a look at my cloned setup and see if I can work something out but as I non techie mucking with files is not something I'll be trying!
September 10, 20179 yr I faced the same challenges a couple of weeks back. Still cheering for an official solution for this since also my hosting provider refuses to touch geoip on the server.
September 11, 20179 yr This issue could very very well that your webhost made a choise with there setup, if the PECL version of GEOIP is installed to there could be issues with that actually.
September 11, 20179 yr Hmm have any one with the issue tryed to parse out the geoipcountrycodebyname() function? Go to the vendor/thirtybees/geoip/src - Download or Open the file geoip.inc find the line function geoipcountrycodebyname($gi, $name) //function geoipcountrycodebyname($gi, $name) //{ // $countryid = geoipcountryidbyname($gi, $name); // if ($countryid !== false) { // return $gi->GEOIPCOUNTRYCODES[$country_id]; // } // return false; //} More or less try and parse the function out, and see if that makes a difference, it might then say there is a issue with geoipcountrynamebyname Parse that out to if so and se what happens, if this works then im quite sure it's the PECL module screwing something up.
Create an account or sign in to comment