Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New install


Mike14017

Recommended Posts

Hi

 

I am new to osCommerce, I have uploaded the scripts on the server, and have put on the revised scripts to counter the register globals on. I have set up the database. I have set the permissions as shown in the quick install guide. But when I go to install it won't go past the second page (Welcome page then - Import Catalog Database: Automatic Configuration:).

 

The web address is www.decalsandstickers.co.uk/catalog/install

 

If you could help me with this.

 

Thanks in advance

 

Mike

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

 

Hi

 

I have checked and register_long_arrays is OFF. I am on a shared server, I have spoken to my provider and they tell me I can write a php.ini file with R_L_As=ON and put it in all the folders I need it to be in, and it should work without rebooting the server. I am not very ofay with php, I have done a Google search to see what I can find but quite honestly I'm baffled.

 

Can you help please.

 

Regards

 

Mike

Link to comment
Share on other sites

Create a file and name it php.ini and place in all folders. Put this code in it:

 

long_arrays = on

 

If that doesn't work then find a new, more cooperative, host.

 

Vger

Link to comment
Share on other sites

Create a file and name it php.ini and place in all folders. Put this code in it:

 

long_arrays = on

 

If that doesn't work then find a new, more cooperative, host.

 

Vger

 

Hi

 

Thanks for the above, I've just found this in their help pages:

 

Some variables in the php.ini file can be overwritten, you can do this using a .htaccess file with the following command:

php_value vairable_name variable value

We cannot however offer technical support for this should it not produce the desired results for your scripts.

 

is this correct php_on_long_arrays

 

I presume that they both do the same thing, but which way would you suggest I use.

 

Thanks

 

Mike

Link to comment
Share on other sites

If you put a .htaccess file in the root of your domain, and your hosts say that this function can be overwritten, then it will save you having to put php.ini files inside every folder.

 

Use this code:

php_flag register_long_arrays on

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...