forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: stevepaugh on March 26, 2005, 07:26:54 am

Title: cpg hangs after install.php
Post by: 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?
Title: Re: cpg hangs after install.php
Post by: stevepaugh on March 26, 2005, 07:48:42 am
fixed by adding
 register_long_arrays = On

to /etc/php.ini

then
service httpd stop
service httpd start
Title: Re: cpg hangs after install.php
Post by: 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.
Title: Re: cpg hangs after install.php
Post by: stevepaugh on March 27, 2005, 06:38:38 am
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)

 :)
Title: Re: cpg hangs after install.php
Post by: yoggieb on July 07, 2005, 10:18:51 am
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?
Title: Re: cpg hangs after install.php
Post by: RockCitySaint on July 11, 2005, 04:41:12 am
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.
Title: Re: cpg hangs after install.php
Post by: Buelldozer on July 11, 2005, 05:16:07 am
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.
Title: Re: cpg hangs after install.php
Post by: Joachim Müller on July 11, 2005, 08:59:21 am
http://forum.coppermine-gallery.net/index.php?action=search2;search=Notice:%20Undefined%20index:%20PATH_TRANSLATED
Title: Re: cpg hangs after install.php
Post by: grisu59 on July 11, 2005, 12:41:38 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
Title: Re: cpg hangs after install.php
Post by: RockCitySaint on July 11, 2005, 05:32:49 pm
I reinstalled PHP manually and coppermine didn't hang anymore. Go figure.
Title: Re: cpg hangs after install.php
Post by: Joachim Müller on July 12, 2005, 11:05:28 am
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 (http://forum.coppermine-gallery.net/index.php?topic=19606.msg90335#msg90335) and got an answer. >:(

Joachim
Title: Re: cpg hangs after install.php
Post by: digitalky on August 15, 2005, 02:53:30 am
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

Title: Re: cpg hangs after install.php
Post by: Joachim Müller on August 15, 2005, 06:36:27 am
did you turn  register_long_arrays on in php.ini?
Title: Re: cpg hangs after install.php
Post by: digitalky on August 15, 2005, 01:33:44 pm
yes i did
it is php 5 and the newest version of mysql on a new server
Title: Re: cpg hangs after install.php
Post by: Joachim Müller on August 16, 2005, 08:19:30 am
The install.lock (http://ns2.digitalky.com/coppermine/include/install.lock) doesn't exist, nor does the file config.inc.php (http://ns2.digitalky.com/coppermine/include/config.inc.php), which means that the install has never been run successfully, or the include folder is not writable by the script.
Title: Re: cpg hangs after install.php
Post by: swijnolst on August 23, 2005, 12:45:49 am
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?
Title: Re: cpg hangs after install.php
Post by: Joachim Müller on August 23, 2005, 10:14:55 am
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.
Title: Re: cpg hangs after install.php
Post by: swijnolst on August 23, 2005, 10:30:22 am
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.
Title: Re: cpg hangs after install.php
Post by: fred2028 on August 27, 2005, 05:08:31 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?
Title: Re: cpg hangs after install.php
Post by: kegobeer on August 27, 2005, 05:14:58 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?
Title: Re: cpg hangs after install.php
Post by: Doc_holiday on August 30, 2005, 07:12:12 pm
fixed by adding
 register_long_arrays = On

to /etc/php.ini

then
service httpd stop
service httpd start


This did the job for me, thanks
Title: Re: cpg hangs after install.php
Post by: speedymx on November 06, 2005, 05:40:39 am
I am using Yahoo web hosting with the latest php and mysql.  When I try to log in after install I get a blank screen, no logo.  Doesnt make sense.  It said successful install...Any suggestions?
Title: Re: cpg hangs after install.php
Post by: Joachim Müller on November 06, 2005, 03:14:21 pm
this is a sticky FAQ thread, no individual setup issues are meant to be posted as replies. Check the thread that deals with yahoo setup (http://forum.coppermine-gallery.net/index.php?topic=18943.0). Locking this thread now.