bebe25 Posted August 3, 2006 Share Posted August 3, 2006 Hi all, When I've got to step 2 of installation the osCommerce, the page doesn't finish loading at all. I've read several topic about the same problem, some ppl said need to set register_long_arrays =on in php.ini. I've tried to look for php.ini, still couldn't find it. There one topic said php.ini is same as .htaccess, but i wasn't sure how to set this thing up. Please help anyone, I'm so frustrating about this over 24 hrs.... Link to comment Share on other sites More sharing options...
MikOn Posted August 4, 2006 Share Posted August 4, 2006 Hi all,When I've got to step 2 of installation the osCommerce, the page doesn't finish loading at all. I've read several topic about the same problem, some ppl said need to set register_long_arrays =on in php.ini. I've tried to look for php.ini, still couldn't find it. There one topic said php.ini is same as .htaccess, but i wasn't sure how to set this thing up. Please help anyone, I'm so frustrating about this over 24 hrs.... Hi, I had the same problem yesterday when I tried to install OsCommerce for the first time ever. I looked at trying to hack this manually but there were too many files involved. I have written a script that sorted me out and I have uploaded it as a contribution to this site. It is called "Install with register_long_arrays set to OFF" under the Other category. The script edits every .php file that contains the older predefined variables, ($HTTP_*_VARS) and replaces them with the corresponding superglobals. My web host has register_long_arrays set to OFF, and I could not get past step2 of the install until I ran this script. Now everything works, I can install, open the catalog, and run admin. Although I am an experienced programmer, I only started learning PHP about 24 hours ago, so the script could probably be improved, and I would recommend that you back up the site files before you run it. Hopefully this will sort you out! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.