Greetings,
I just installed ZenCart on my Windows PC so that I can work with it for awhile before installing it on a real website. I have my PC set up as a web server, so I can browse to localhost and view everything.
After installation, I browsed to the zen-cart directory and the store came up. And when I browsed to the admin directory, the admin login page came up. But when I enter the (correct) admin ID and password, the browser thinks for a while, then I get a Windows error that tells me that Apache has encountered a problem and has to close.
I've tracked the problem down to the following line in the admin/includes/header.php file:
$lines = @file(NEW_VERSION_CHECKUP_URL);
If I echo some text and exit just prior to this line, I'm fine; if I try to echo some text and exit just after it, the error occurs and the text is not displayed.
I've browsed to the value of NEW_VERSION_CHECKUP_URL (http://ping.zen-cart.com/version_id.txt) directly, and the page is displayed immediately. So why can't the file be read into $lines?
Any help would be greatly appreciated.
Cheers,
Riich



