Forums / Installing on a Windows Server / HTTP 500 Internal Server Error

HTTP 500 Internal Server Error

Started by stoyka on 22 Dec 2010, 9:47 PM · Views: 2,378

Results 1 to 4 of 4
22 Dec 2010, 9:47 PM
#1
stoyka avatar

stoyka

New Zenner

Join Date:
Dec 2010
Posts:
7
Plugin Contributions:
0

HTTP 500 Internal Server Error

Hi,

I've installed Zen Cart 1.3.8 on my local server. Installation was successful but when I try to load the site it returns "HTTP 500 Internal Server Error"
myDEBUG-xxxxxxx.log contains following:

PHP Deprecated: Function ereg() is deprecated in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\cvetnobiju\includes\classes\db\mysql\query_factory.php on line 139

139 if (!ereg('^[0-9]', $key)) {
140 $obj->result[$zp_ii][$key] = $value;
141 }

Could you help?

Apache server ver. 2.2.17
PHP ver. 5.3.3
MySQL ver. 5.1.52

Thanks

22 Dec 2010, 10:50 PM
#2
webchills avatar

webchills

Zen Follower

Join Date:
Sep 2005
Location:
Austria
Posts:
99
Plugin Contributions:
1

Re: HTTP 500 Internal Server Error

Zen-Cart 1.3.8 is not compatible with PHP 5.3
Install the current version 1.3.9h

23 Dec 2010, 9:08 AM
#3
stoyka avatar

stoyka

New Zenner

Join Date:
Dec 2010
Posts:
7
Plugin Contributions:
0

Re: HTTP 500 Internal Server Error

Thanks a lot!

23 Dec 2010, 3:58 PM
#4
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: HTTP 500 Internal Server Error

Also, as of PHP 5.3.3 the server php.ini file (in a default installation) tries to force the use of cookies to contain session data. You need to find this line in your main php.ini file:

session.use_only_cookies = 1

and comment it out, like so:

; session.use_only_cookies = 1

Then restart the server.

Vger