swscoobies Posted May 9, 2007 Share Posted May 9, 2007 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 More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 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 More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 The php.ini snippet you showed is just a description in the top, you have to change the uncommented values further down. Link to comment Share on other sites More sharing options...
swscoobies Posted May 9, 2007 Author Share Posted May 9, 2007 have tried this, still the same? thought id try to go through an update, using a previouse shop database...... and this also fails at step 2 Link to comment Share on other sites More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 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 More sharing options...
swscoobies Posted May 9, 2007 Author Share Posted May 9, 2007 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. Link to comment Share on other sites More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 I guess you also restarted apache again? Also you created an empty database and added a valid user to this? Link to comment Share on other sites More sharing options...
swscoobies Posted May 9, 2007 Author Share Posted May 9, 2007 yes restarted Apache...... and created a new empty Database, and new user. Link to comment Share on other sites More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 Did you upload the phpinfo.php file to check the values? Link to comment Share on other sites More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 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 More sharing options...
swscoobies Posted May 9, 2007 Author Share Posted May 9, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.