The connection was reset

Since Opentools.de has now gone away I've created this forum to house FAQs and support for this mod in phpBB2.

Moderator: Experts

Locked
twg4461
Posts: 4
Joined: Mon Apr 23, 2007 11:33 pm
Location: San Francisco, CA
Contact:

The connection was reset

Post by twg4461 »

Ok totally ripped everything out:

fresh phpbb2 install
fresh premodified 2.0.22 install
fresh mysql 3.x db

phpbb2 is working great
attachmod seems to be working great until you actually try to attach a file. When I do my browser kicks back "The connection was reset"

What am I missing?

http://www.radium.com/phpBB2/phpinfo.php
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

It might have something to do with your max_execution_time set to 30 seconds. In that case you would need to have that value increased. Does this happen with any file you try to upload?
twg4461
Posts: 4
Joined: Mon Apr 23, 2007 11:33 pm
Location: San Francisco, CA
Contact:

Post by twg4461 »

Happens to any file. And almost immediately. What file do I edit to change the maxtime?
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

Are you managing that server or does someone do it for you?
twg4461
Posts: 4
Joined: Mon Apr 23, 2007 11:33 pm
Location: San Francisco, CA
Contact:

Post by twg4461 »

i do. virtualized
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

Look for the setting in the php.ini file then and increase it. Normally it's set to 120. Not sure where that file would be located at on a Linux/Unix server though...
twg4461
Posts: 4
Joined: Mon Apr 23, 2007 11:33 pm
Location: San Francisco, CA
Contact:

...

Post by twg4461 »

still doing it even w/ max_execution_time = 120

just trying to attach 2mb jpg.
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

Can't remember if this is in your php.ini file or in the MySQL setup files but you should also change mysql.connect_timeout (make it 60).

Also I noticed that upload_max_filesize is set to 2M which seems to be at about the size of your file. Make it 20M, restart Internet services if required, and you should be good to go.
Locked