Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PS 1.6 Migration problem

Featured Replies

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

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.

  • 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

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

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.

  • Author

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

  • Author

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

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.

  • 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?

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?

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

  • 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

  • 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!

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.

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.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.