Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

Geting 500 - Internal server error.

Geting 500 - Internal server error.

Hello! Everything works fine except when using the the GEO function (GeoLite City).

As soon I enable it I'm getting a  500 - Internal server error.

This is my set up.

Code:

System     Windows NT HMC-WEBCL01 6.1 build 7600

Build Date     Jul 27 2010 10:47:27
Configure Command     cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-snapshot-template=d:\php-sdk\snap_5_2\vc6\x86\template" "--with-php-build=d:\php-sdk\snap_5_2\vc6\x86\php_build" "--disable-zts" "--disable-isapi" "--disable-nsapi" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk, shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk, shared" "--without-pi3web"
Server API     CGI/FastCGI
Virtual Directory Support     disabled
Configuration File (php.ini) Path     C:\Windows
Loaded Configuration File     C:\Program Files (x86)\PHP\php.ini
Scan this dir for additional .ini files     (none)
additional .ini files parsed     (none)
PHP API     20041225
PHP Extension     20060613
Zend Extension     220060519
Debug Build     no
Thread Safety     disabled
Zend Memory Manager     enabled
IPv6 Support     enabled
Registered PHP Streams     php, file, data, http, ftp, compress.zlib, https, ftps, zip
Registered Stream Socket Transports     tcp, udp, ssl, sslv3, sslv2, tls
Registered Stream Filters     convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*

Please point me to the right direction.

bonafied
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Re: Geting 500 - Internal server error.

Hi bonafied,

I'm sorry you're having trouble with this.

Can I just check on the basics first:

1 - have you created a folder in your root web directory called "geoip"?
2 - have you downloaded the GeoCityLite database from Maxmind.com, uncompressed it, then put it into this folder?

After that, I would be looking for the server log files to find the error log, and see more information about the particular error that's going on. Generally a "500" error has some more information available.

It's actually a bit strange to get a 500 error in this sort of case. Generally there are warnings or errors about PHP, or missing/corrupt files etc, and not 500 errors. That's why a log file wouldl be most useful.

Hope that helps to find the error,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3328 Posts
User info in posts
Administrator has disabled public posting

Re: Geting 500 - Internal server error.

Hello!

Yes! I did actually.

Now I have also tried the GeoIP.dat and it works perfectly.
I do think that it could be the value in the php.ini

post_max_size   8M

What do you think?

bonafied
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Re: Geting 500 - Internal server error.

The post size is only going to relate to POST requests - and you're not doing any of those if you're simply using the GeoCityLite database.

1 - can you tell me the size in bytes of the uncompressed GeoCityLite.dat file, as it appears on your site? You may need to use a FTP client. This is just to see if it got truncated at any point. I'll compare it to mine.

2 - please keep looking for the webserver error log file, to see if that has any more info. Are you using apache or IIS?

Cheers,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3328 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5933
Posts this week:
4
User Info:
 
Total Users:
4383
Newest User:
kingpen99
Members Online:
0
Guests Online:
99

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked