Jump to content
thirty bees forum
  • 0

Question

Posted

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

Recommended Posts

  • 0
Posted

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

  • 0
Posted

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.

  • 0
Posted

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?

  • 0
Posted

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?

  • 0
Posted

@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.

  • 0
Posted

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

  • 0
Posted

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!

  • 0
Posted

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.

  • 0
Posted

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.

  • 0
Posted

@bznk Well, I had to comment out the offending code but the experience was not good. I mean, I have some development experience so I could smoke it out myself but others finding themselves with a 500 error after installing TB might just give up. Also, I think the next update of TB might overwrite my patch so each update could potentially cause problems.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...