coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: euler on November 18, 2004, 03:47:11 PM

Title: install.php reload.
Post by: euler on November 18, 2004, 03:47:11 PM
Hi to everyone. I am trying to set up coppermine in my Mac, it is a PowerBook running Mac OS 10.3.6 and i want coppermine just for test web apps.
I download the installer, decompress it in the right folder, and then try to run install.php to set it up all, and the script just load once and again.
I found a topic in this same forum about this same problem in a XP box, in this discussion it seems to be that coppermine and php 5 are not working well together, i am running php 5, so i think this could be the problem with me. Any one knows how to fix coppermine to work properly with php 5? Stepping back to php 4 is not a solution.
Title: Re: install.php reload.
Post by: Joachim Müller on November 18, 2004, 05:14:45 PM
Quote from: euler on November 18, 2004, 03:47:11 PMand the script just load once and again.
This might be a language issue, but I don't understand your report here: please post exact error messages (if you get any) or exact descriptions of what is happening (e.g. "when I click "foo" on the page "bar", then "foobar" happens.

Joachim

P.S. Coppermine runs fine under PHP5 if your server is properly configured. Search the board, this has been posted several times.
Title: Re: install.php reload.
Post by: euler on November 18, 2004, 11:21:34 PM
Hi, i tried to install coppermine in my PowerBook, so i download and decompress the files into the appropiate folder, and then i load the install.php file with Safari, i fill the form with the required information, and then click the "Let's Go!" button. Few seconds later the install.php is reloaded and, if you take a look at the database, nothing has changed. I installed it on my server and it works just fine, with php 4.3.4
Title: Re: install.php reload.
Post by: Joachim Müller on November 19, 2004, 09:13:46 AM
This usually happens if you haven't set up permissions as suggested in the docs - if the installer can't write the config files into the includes folder, it will start over. Make sure you have granted the script write permissions for the include and albums folder (CHMOD).

Joachim
Title: Re: install.php reload.
Post by: radical_tyro on November 30, 2004, 08:48:52 AM
Same problem. PHP 5.0.2. I even tried chmod -R 777 cpg132.
Title: Re: install.php reload.
Post by: Joachim Müller on December 02, 2004, 10:19:03 AM
did you enable register_long_arrays as suggested in many threads, e.g. http://forum.coppermine-gallery.net/index.php?topic=9602.msg50883#msg50883 ?

Joachim
Title: Re: install.php reload.
Post by: radical_tyro on December 02, 2004, 08:21:54 PM
I tried version 1.4.0 (alpha) and it works correctly.
Title: Re: install.php reload.
Post by: chtito on December 02, 2004, 11:17:11 PM
I've got a mac with PHP5. By default, register_long_arrays is not set. Setting register_long_arrays helped, but for some reason, it is not enough.

The solution that worked for me was to edit the php files which caused problem and to change manually $HTTP_GET_VARS to $_GET and all such variables that are on that page (http://se.php.net/manual/en/reserved.variables.php#reserved.variables.get") to their moder counterpart.

These changes have been  made in version 1.4, and that might be the reason why it works with php5.