coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: gehrts on May 27, 2005, 04:02:33 PM

Title: setup does not work, install.php just refreshes when hit 'Let's go'
Post by: gehrts on May 27, 2005, 04:02:33 PM
Hi !

I have a strange error here. I try to install Coppermine 1.3.3 on my new SuSE 9.3 setup with apache 2.0 and php5. When I go to the install.php page, fill out the parameters and the hit 'Let's go' .....    nothing happens.

The Browser just refreshed the page and I''m still at the install.php with the same input form as before but without the input that have used before.   

I don't get an error message or soemthing... its just the refresh!

What's wrong here????? Am I missing something here? And: How can I see what is going on when I hit the 'Let's go' button... how can I debug this??

I hope that someone can help. Any Idea is appreciated.

cheers,
Hans
Title: Re: setup does not work, install.php just refreshes when hit 'Let's go'
Post by: Nibbler on May 27, 2005, 06:23:19 PM
You need to enable long arrays for PHP5, search the board.
Title: Re: setup does not work, install.php just refreshes when hit 'Let's go'
Post by: gehrts on May 27, 2005, 09:36:44 PM
Quote from: Nibbler on May 27, 2005, 06:23:19 PM
You need to enable long arrays for PHP5, search the board.

Yessss :) That was it. Thanks a lot !!! Its hard to find something in the board, when you don't know what to search for. But after i searched for register_long_arrays, I found that I have to set this to 'On' in the php.ini.

A little side-note for SuSE 9 users: the /etc/php.ini is not parsed !!! Its the files in /etc/php5/apache2 , if your are using apache2. It's easy to find this, when you create a check.php with this content:
<?php
echo phpinfo();
?>

search for register_long_arrays and check if it set to On... and within the output you can see, where the php.ini is, that drives the setting.