BigCommerce - Hosted Ecommerce Software by Interspire

Interspire Forum

 
Go Back   Interspire Forum > Interspire Shopping Cart Community Forum > Customization and Integration > Layout and Store Design Customization

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2012, 07:33 AM
amanda_bh + amanda_bh is offline
Interspire Customer
 
Join Date: Jan 2012
Posts: 9
Default PHP Notice...What have i done!?!?

Hi everyone,

I have recently purchased ISC and installed with no issues... i was playing around with the templates and created a new color for one of the templates, and then switched back to the standard interspire (purses).

Ever since then i now receive the follow notice displayed:

Notice: Undefined offset: -16776960 in /home/ondutyc2/public_html/shop/lib/geoip/geoip.php on line 379

The notice/error occurs regardless of the template installed.

I have checked in the geoip.php file and it appears to be defined on the very first line.

Does anyone have any ideas why the notice is appearing? Any suggestions would be fantastic!

TIA
Reply With Quote
  #2  
Old 01-19-2012, 08:16 PM
bigboardroom + bigboardroom is offline
Interspire Customer
 
Join Date: Oct 2011
Posts: 90
Default

Quote:
Originally Posted by 5mservices View Post
try to reinstall it.
Or...you could get the real answer:
The error message is referring to this line:
return $gi->GEOIP_COUNTRY_CODES[$country_id];
and is saying that $country_id is null or set to something that doesn't exist in that GEOIP_COUNTRY_CODES array.

Since that array is built based off the other file in that directory, my guess is that you just need to re-upload GeoIP.dat from the installation files into /lib/geoip/.
__________________
BigBoardroom.com - eCommerce Experts and Services. Providing management, design, consulting, and custom development.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump