Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Oscommerce installation does not proceed


shakunmahajan

Recommended Posts

hello,

 

I am new to Oscommerce and am having issues installing it. here is the config

OS: Win XP home

PHP : version 5.1.4

MySQL: version 5.0

Apache: version 2.0

 

PHP and mySQL are installed properly (i.e. I am able to access mySQL DB using PHP code)

 

When I start installing osCommerce, it comes to the screen which has the option for 'Import Catalog DB' and 'Automatic Configuration' (URL: http://localhost:8080/catalog/install/install.php). Both options are checked. When I click 'Continue' button it comes back to the same screen (URL changes to: http://localhost:8080/catalog/install/install.php?step=2). I am unable to progress in my installation.

 

Can anyone suggest what's missing here ?

 

Thanks!

Link to comment
Share on other sites

OSC is compatible with PHP5. You just have the php.ini configured improperly. I had the same problem until i changed register_long_arrays = On

 

I have still the same problem i can only made a .htaccess file to make it on but it doesnt work.

 

Do someone know a answer?

Link to comment
Share on other sites

I might be wrong but osCommerce doesnt support php5. Could be the problem.

 

could you post your php.ini ?

 

I also have the same problem, tried your suggestion, but its doesn't solve the problem. Maybe there's more in php.ini that needs changing?

Link to comment
Share on other sites

As I said before I was getting the same error when trying to install on my server (not local machine). After a lot of back and forth with my hosting company's tech support they told me that the version of php on the server was not compatible with oscommerce and mysql on a windows environment. After making they made some changes, it worked fine.

 

Not sure, but maybe this will help someone. :thumbsup:

Link to comment
Share on other sites

Hey guys,

 

I had this same problem too. I added the following line to .htaccess in the catalog/ directory:

 

php_value register_long_arrays 1

 

It worked flawlessly.

 

Thanks for the help, I hope I have steered some others in the right direction. :D

Link to comment
Share on other sites

I have PHP 4.3.9 and get the same problem!! I do not have a register_long_arrays setting in my php.ini

 

What else could be the problem? I have been battling this for hours, I am about to turn away and just use ZenCart.

Link to comment
Share on other sites

Hey guys,

 

I had this same problem too. I added the following line to .htaccess in the catalog/ directory:

 

php_value register_long_arrays 1

 

It worked flawlessly.

 

Thanks for the help, I hope I have steered some others in the right direction. :D

 

 

Hey,

 

This did it for me,

 

Thanks :D

Link to comment
Share on other sites

I got mine to work by fixing a couple of slashes in the php.ini file:

was - include_path = ".;c:/PHP5/includes"

now - include_path = ".;c:\PHP5\includes"

 

I don't no if this will fix yalls problem but it worked for me after I made the change and rebooted.

Link to comment
Share on other sites

I have PHP 4.3.9 and get the same problem!! I do not have a register_long_arrays setting in my php.ini

 

What else could be the problem? I have been battling this for hours, I am about to turn away and just use ZenCart.

 

 

Did you think that maybe you should try adding register_long_arrays = on to your php.ini file. I mean, isnt that what people have suggested in this topic?!?

Link to comment
Share on other sites

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...