forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: methos_vk on October 16, 2003, 05:57:41 pm

Title: install.php 'hangs'
Post by: methos_vk on October 16, 2003, 05:57:41 pm
Running (trying to anyway) cpg1.2.0rc2 on RedHat 8 with Apache (httpd-2.0.40-11.7) and PHP (php-4.2.2-8.0.8) and GD (gd-1.8.4-9) and MySQL (mysql-3.23.58-1.80).  (and I have root access if necessary)

PHP is NOT running in safe mode, but I'm kinda guessing that either post isn't working or php can't edit/create the config files.  (no error message or warnings or such, though maybe some log somewhere could tell me....)

Anyway, all seems fine when i load up install.php from mozilla, but once I enter the requested info and submit it just pops up a screen with the coppermine banner at the top and nothing else (images/logo.gif)

Looking at the HTML for the page it stops after the table containing the logo, but does not properly terminate the HTML file...so is PHP hanging on something?  any suggestions?  I tried mucking around a lot with permissions and putting coppermine in different directories...but to no avail.

Also note that after I couldn't get Coppermine to work I tried Gallery which didn't work either. *sigh*
Title: install.php 'hangs'
Post by: Tarique Sani on October 16, 2003, 07:26:49 pm
Any URL we can look at?
Title: site
Post by: methos_vk on October 16, 2003, 08:14:27 pm
i suppose....

http://www.binarywinter.net/~sel9/coppermine/

that shows an error message because config.inc.php does not exist.  I'm guessing that this is because the install.php fails to create it.  However, when I tried to make it by hand it still didn't work.

Also I'm seeing this in the Apache Error Log:

PHP Warning:  Unable to load dynamic library '/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

looks promising
Title: install.php 'hangs'
Post by: jasendorf on October 16, 2003, 08:30:27 pm
Looks like an incomplete install to me.  Try again only follow the instructions EXPLICITLY.  If you error out, we need the exact error it gives you FIRST.  That will help us help you.
Title: install.php 'hangs'
Post by: methos_vk on October 16, 2003, 08:34:23 pm
after a
yum install php-mysql

the install script seems to work.  i'll post further if it dies elsewhere :)
Title: can't post pictures
Post by: methos_vk on October 16, 2003, 10:12:43 pm
[Thu Oct 16 15:32:35 2003] [error] [client 192.168.0.2] Requested content-length of 1834962 is larger than the configured limit of 524288, referer: http://192.168.0.4/~sel9/coppermine/upload.php


That seems to be the error message telling ~why Posting isn't working.  I can batch add from the disk, but over the net posting isn't going so well.  I thought I had allowed huge files to be posted but perhaps not....

YUP, had to change php.ini and up the allowed value there as well.