coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: pw on July 06, 2005, 10:21:16 AM

Title: cpg133 install.php gives no output
Post by: pw on July 06, 2005, 10:21:16 AM
Hi!

Configuration:
Apache/1.3.33 Ben-SSL/1.55 (Debian GNU/Linux) PHP/4.3.10-15
Coppermine 1.3.3

When I try to use install.php the page blanks after hitting the buttom. I have tried the register_long_arrays directive but it doesn't work, nor does it show up in the info when using a info.php file with <?php phpinfo(); ?> in it.

I have searched the board and find reference that the register_long_arrays should work with this configuration. Also a search at php.net gives me that this variable is included in php starting with php 5.0.0

Can anyone give me some hints here because I am totally stuck.

Yours Sincerely,

// Paul
Title: SOLVED: Re: cpg133 install.php gives no output
Post by: pw on July 08, 2005, 02:29:58 PM
Ok, have done some digging.

This problem is due to Debian not installing the php4-mysql package by default.
It had nothing to do with register_long_arrays

The install-script hang on the row

if (! $connect_id = @mysql_connect($HTTP_POST_VARS['dbserver'], $HTTP_POST_VARS['dbuser'], $HTTP_POST_VARS['dbpass'])) {

with no error messages, nothing in logs etc.

So case closed!

Since noone answered or asked further question, I do hope that I haven't caused to much trouble!

Yours sincerely,

// Paul
Title: Re: cpg133 install.php gives no output
Post by: Nibbler on July 08, 2005, 04:16:39 PM
Thankyou for posting the solution. I have added a check for mysql support into the 1.4 installer.