cpg hangs after install.php cpg hangs after install.php
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

cpg hangs after install.php

Started by stevepaugh, March 26, 2005, 07:26:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stevepaugh

After I fill out the form at install.php and hit let's go, i'm redirected to install.php with just a logo and a blank page.  Can someone help me figure out what i'm doing wrong?

stevepaugh

fixed by adding
register_long_arrays = On

to /etc/php.ini

then
service httpd stop
service httpd start

kegobeer

Coppermine 1.3.2 uses the old style server variables, so when using Coppermine 1.3.2 with PHP5+, you have to enable long arrays.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

stevepaugh

As a followup I am using PHP version 4.3.10 with CM 1.32 and the fix listed for PHP seemed to work (as above)

:)

yoggieb

I am using the latest version of php5.04 and in its php.ini, it already has  register_long_arrays = On in it.

I am still facing the same error which is a blank page and the logo only.

Can anyone help?

RockCitySaint

Yea, I'm in yoggieb's shoes... I thought it was a problem with MySQL but then I saw your fix, unfortunately long arrays was already on. What I don't get is that about 3-4 weeks back I installed coppermine on the virtually the same exact system without any problems... please help, Ive got to have this ready within this month or I'm screwed... Theres no other good gallery script out there that's free... I love coppermine.

Buelldozer

Same problem here, only I get two additional lines on the page above the graphic:

Notice: Undefined index: PATH_TRANSLATED in c:\Inetpub\wwwroot\cpg133\install.php on line 21

Notice: Undefined offset: -1 in c:\Inetpub\wwwroot\cpg133\install.php on line 22

Dunno what the heck it means, but that's it...the Coppermine install stops right there.

Long arrays are enabled in php.ini as well.


grisu59

Quote from: kegobeer on March 26, 2005, 02:47:21 PM
Coppermine 1.3.2 uses the old style server variables, so when using Coppermine 1.3.2 with PHP5+, you have to enable long arrays.

Sorry if the question is stupid but ... WHere I have to enable long arrays .. on the PHP.ini ???
so I have ti ask to my serveradministrator?

Thanks

RockCitySaint

I reinstalled PHP manually and coppermine didn't hang anymore. Go figure.

Joachim Müller

Quote from: grisu59 on July 11, 2005, 12:41:38 PM
Sorry if the question is stupid but ... WHere I have to enable long arrays .. on the PHP.ini ???
so I have ti ask to my serveradministrator?
Don't double post nor cross-post: you already asked this here and got an answer. >:(

Joachim

digitalky

i am seeing the same problem on win2k iis5.0 and have done everything even tried giving the iuser full access

any suggestions please

http://ns2.digitalky.com/coppermine


Joachim Müller

did you turn  register_long_arrays on in php.ini?

digitalky

yes i did
it is php 5 and the newest version of mysql on a new server

Joachim Müller

The install.lock doesn't exist, nor does the file config.inc.php, which means that the install has never been run successfully, or the include folder is not writable by the script.

swijnolst

Same problem here: empty page with logo shows up after filling out install.php's inital form.

After a long evening of testing it came out that mysql.so wasn't loaded in my php4.ini!
This was reveiled after removing the '@' on line 69 of install.php.

Maybe it would be good to remove the '@' in the script so this type of error clearly distinguishes itself from other error that cause the same symptoms?

Joachim Müller

no, not a good idea. The pre-requisite for installing coppermine is to have your server set up and running with all the minimum requirements (php, mysql, GD or IM). Coppermine can't be the trouble-shooter for server setup issues. Ouput of warning messages would frighten people, that's why the output is being silenced deliberately, using the @ in front of the command.

swijnolst

OK, you've got a point there ;).

The function that tests the SQL-connection gives feedback when it fails. But in this case, there is no feedback at all - just the blank page with the logo on top. IMHO it should be telling to the user running install.php there is something wrong in their setup in this case. Don't get me wrong: troubleshooting is not Coppermine's task, but it is to tell the user that there is *something* wrong with the pre-requisites.

Been playing around with Coppermin now for a few hours and I múst say: great piece of software!
Keep up the good work.

fred2028

Quote from: stevepaugh on March 26, 2005, 07:26:54 AM
After I fill out the form at install.php and hit let's go, i'm redirected to install.php with just a logo and a blank page.  Can someone help me figure out what i'm doing wrong?


I have the same problem. Anyone have advice?

kegobeer

Quote from: fred2028 on August 27, 2005, 05:08:31 AM
Quote from: stevepaugh on March 26, 2005, 07:26:54 AM
After I fill out the form at install.php and hit let's go, i'm redirected to install.php with just a logo and a blank page.  Can someone help me figure out what i'm doing wrong?


I have the same problem. Anyone have advice?

Please pick a post and stick with it.  Starting a new thread wasn't necessary, since you replied to this one.  Have you tried the solutions posted above?  Have you searched the boards yet?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots