Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Install wont pass step 2


swscoobies

Recommended Posts

Hi,

 

i cannot get the install to go past step 2.

 

i have already edited my php.ini file

 

; - register_globals = On		 [Security, Performance]
;	 Global variables are no longer registered for input data (POST, GET, cookies,
;	 environment and other server variables).  Instead of using $foo, you must use
;	 you can use $_REQUEST["foo"] (includes any variable that arrives through the
;	 request, namely, POST, GET and cookie variables), or use one of the specific
;	 $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
;	 on where the input originates.  Also, you can look at the
;	 import_request_variables() function.
;	 Note that register_globals is going to be depracated (i.e., turned off by
;	 default) in the next version of PHP, because it often leads to security bugs.
;	 Read http://php.net/manual/en/security.registerglobals.php for further
;	 information.
; - register_long_arrays = On  [Performance]

 

then restarted acpache, and the entire server. I had the register_globals issue first, and corrected this, but now i have this.

 

Can anyone help me.

 

Thanks

Derek

Link to comment
Share on other sites

Your php.ini should contain following lines:

register_globals = On

register_long_arrays = On

 

If that doesn't work add following two lines to the htaccess file in your web root:

php_value register_globals 1

php_value register_long_arrays 1

Link to comment
Share on other sites

Create a new file named phpinfo.php and put only the following code in it:

<?php phpinfo(); ?>

 

Put the file in your catalog directory and visit it with your web browser, check here the value of register_long_arrays

Link to comment
Share on other sites

Hi,

 

 

i just read your edited post, and went back through php.ini and found the part that has to be edited.

 

It has let me past that point now, but still at step 2 it seems to crash on database import.

 

see pic below.

 

thum_14641ba035f0ad.jpg

Link to comment
Share on other sites

Also have a look at this reading, it has some solutions that worked for other php5 users or consider to install the database and files manually and change the configure.php files (catalog/includes/ - catalog/admin/includes/) to reflect your server / database.

Link to comment
Share on other sites

Also have a look at this reading, it has some solutions that worked for other php5 users or consider to install the database and files manually and change the configure.php files (catalog/includes/ - catalog/admin/includes/) to reflect your server / database.

 

 

 

Sorted this now Thanks fro your help.

 

Got a Blank screen now though. Think i seen someone with a similar problem before.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...