install.php reload. install.php reload.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

install.php reload.

Started by euler, November 18, 2004, 03:47:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

euler

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.

Joachim Müller

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.

euler

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

Joachim Müller

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

radical_tyro

Same problem. PHP 5.0.2. I even tried chmod -R 777 cpg132.

Joachim Müller

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

radical_tyro

I tried version 1.4.0 (alpha) and it works correctly.

chtito

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 to their moder counterpart.

These changes have been  made in version 1.4, and that might be the reason why it works with php5.
Vous pouvez poser vos questions en français sur le forum francophone !