"Cannot find server" when uploading multiple photo

Checkmate
Checkmate's picture

Joined: 2004-02-24
Posts: 29
Posted: Tue, 2004-02-24 22:11

Hi,

I am having trouble uploading more than one photo at a time. One photo works perfect, but as soon as I browse for more than one photo (default maximum is five) and hit the "Upload Now" button, I get a "Cannot find server" error. The extra "File upload in progress" window appears, but in the other window the error occurs. My browser (IE6) says it cannot find server or DNS error (for URL/save_photos.php).

Any ideas?
----
Gallery version: 1.3.3
Apache version: 2.0.40
PHP version: 4.2.2
Graphics Toolkit: NetPBM
Operating system: ClarkConnect (Redhat 9)

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Tue, 2004-02-24 22:16
 
Checkmate
Checkmate's picture

Joined: 2004-02-24
Posts: 29
Posted: Tue, 2004-02-24 22:20

Mmm... I've read that one, but I don't want to compile a new PHP version, mainly because ClarkConnect doesn't have gcc installed (which I don't mind out of security reasons).

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Tue, 2004-02-24 22:37

Well, you're on your own then. We don't support Apache 2 unless you upgrade to PHP >= 4.3.x

 
Checkmate
Checkmate's picture

Joined: 2004-02-24
Posts: 29
Posted: Wed, 2004-02-25 22:06

Ok, fair enough... I did some digging myself though and I found out what the problem was. I did all the changes according to the FAQ C.6. to upload larger files but apparantly, there's another php.conf in the /etc/httpd/conf.d directory and there it was, another LimitRequestBody directive with a small value. I changed that one as well and voilà, it worked.

So if there are any other ClarkConnect users out there, don't forget to edit that php.conf file!

I'm glad it had nothing to do with the Apache 2 - PHP 4.2 combo :D

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-02-25 22:10

Checkmate, feel free to add that as a note to the faq! (add the end of the faq page, select 'add note".)