Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
I am using UBBThreads 6.1.1.
I want my visitors to upload attachments but if the connection is too slow they receive some kind of time-out after 80 seconds like this: [:"blue"]Fatal error: Maximum execution time of 30 seconds exceeded in c:\www\ubbthreads\addpost.php on line 22 [/]
I have tried to find some editing possebility in that file but I can not see where I can change the upload time.
Is there some help for me?

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I Believe this has to do with PHP and not with threads.

If you've got your own server, you can modify this in the php.ini file. Otherwise you'll need to ask your host to increase the time limit.

I had to do so when I wanted to allow very large attachments via threads.

Joined: Apr 2002
Posts: 102
Journeyman
Journeyman
Offline
Joined: Apr 2002
Posts: 102
You could try using this at the top of the script:

set_time_limit(0);

Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
Thanks, I did youre suggestion modefying php.ini and it worked.
Set 30 sec to 120 sec.
I want to upload my visitors videofiles up to 10 mb so it takes some time........
thanks again for helping me out!
Regards,
Foppen


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)