Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems installing


pezza

Recommended Posts

Posted

ok, i have downloaded the latest oscommerce (2.2) and have configured settings on my hosting server for PHP and MySQL.

 

I have created a MySQL database throught the hosting companies control panel and have a location for it.

 

I had to download a contribution to correct a reg globals error as i kept getting an error when running install. Now i get the install page, leave the checks in and click continue, and i do not get any further :-(

 

I have read all sorts of posts stating to amend the php.ini, but I cannot find any PHP.INI file??? I also found some posts with an update to fix register long arrays, but this is in some weird .sh file or .gz file. I therefore downloaded the recommended program but cannot for the life of me work out how to decompress a file with Cygwin??

 

This is getting beyond me now, as i thought i was downloading a pre-built shopping cart, and didn't realise that downloading MySQL, PHP, PHPMyAdmin, Cygwin and more was required :-(

 

My hosting package is configured for PHP 5 (no choice, this is the only option i have) and also MySQL5

 

What am I supposed to do to get this working? I am slowly losing the will to live!! :'(

 

Hope someone can help.

 

Thanks

 

Andy

Posted

Install gets stuck on page 2

---------------------------

The most common cause for installation getting stuck in step 2

is that most recent PHP installations have register_long_arrays = OFF

This needs to be turned to ON in the php.ini file (you will need to

stop and restart your server to get this change to take effect.)

 

Vger

Posted
Install gets stuck on page 2

---------------------------

The most common cause for installation getting stuck in step 2

is that most recent PHP installations have register_long_arrays = OFF

This needs to be turned to ON in the php.ini file (you will need to

stop and restart your server to get this change to take effect.)

 

Vger

 

Thanks vger for the reply, but i cannot find any php.ini file?? Where should this be located? I am using a hosting company at the moment, and accessing my site via FTP. I don't have MySQL or PHP or PHPMyAdmin installed on my PC at home, although I have tried downloading these apps but the install fails. (I think this is because I am running 64 bit version of Vista, and there are no setup files yet)

 

Am i correct in thinking that I need these apps to create my PHP.INI file?? I am new to all this, and I really thought that i was going to be able to download a shopping cart, and just attach to my ASP.NET website, but this appears not to be the case :-(

 

Am I missing something?? Is the PHP.INI file there and I am just missing it? I have looked in all the directories of oscommerce that I downloaded. I know there are contributions to download that will amend this register_long_arrays, but they are in file formats that I don't have programs for, and I downloaded cygwin and just don't understand how to use it :-(

 

I have Visual Studio 2005, so can this app be used to amend/create PHP files? Please Help

 

Thanks

 

Andrew

Posted

Create a new text document on your desktop and rename it to php.ini (ignore the warning about changing the file type).

 

Insert into it:

 

register_long_arrays = On

 

Upload that file to the root of your web.

 

Vger

Posted

Have just done this but still not working.

 

I am at work at the moment though, so will have a proper go when i get home. I have amended a few things last night, and uploaded various "contributions" to try to fix, so i think it is better to put back the original download and then try this again :-)

 

Thanks vger. I didn't realise that it was so simple and just a case of creating a simple text/ini file, i guess i was thinking too deep and that it was some sort of php file. :blush:

 

I will have a go, and report back!

 

Cheers

 

Andrew

Archived

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

×
×
  • Create New...