- Posts: 3722
COMMUNITY FORUM
Maximum Execution Time
- william white
-
Topic Author
- Offline
- Platinum Member
Less
More
14 years 8 months ago #88464
by william white
Maximum Execution Time was created by william white
Having a problem crop up generating an error in /administrator/components/com_k2/lib/class.upload.phpSource image was transfered - The XL and L images were saved and encoded. The rest were missing.Other sites on same server will act correctly and create all the images and just work.One install on dedicated server throws the error.Tried reinstalling latest svn - error still persistsImages used were all under the 2 mb limit sizeFix that worked - create .htaccess in root directory - include php_value max_execution_time 90in the file and everything works...Slowly but it works.Why would only one install on the same server act like this?
Please Log in or Create an account to join the conversation.
- william white
-
Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 8 months ago #88465
by william white
Replied by william white on topic Maximum Execution Time
bump
Please Log in or Create an account to join the conversation.
- David R.
-
- Offline
- Premium Member
Less
More
- Posts: 81
14 years 8 months ago #88466
by David R.
Replied by David R. on topic Maximum Execution Time
Hey William,
So did you see timeout errors in the log, which is what lead you to upping it? What is the default in the php.ini file?
It could just be the time that GD takes to convert the images in question tripping an otherwise fairly conservative timeout setting. I think the default is 30 seconds or less, which considering that the script in question makes something like 6 manipulated copies of the original could certainly trip up the timeout.
So did you see timeout errors in the log, which is what lead you to upping it? What is the default in the php.ini file?
It could just be the time that GD takes to convert the images in question tripping an otherwise fairly conservative timeout setting. I think the default is 30 seconds or less, which considering that the script in question makes something like 6 manipulated copies of the original could certainly trip up the timeout.
Please Log in or Create an account to join the conversation.
- william white
-
Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 8 months ago #88467
by william white
Replied by william white on topic Maximum Execution Time
The default was 30 sec
No, i didnt check the log file yet, but was searching for the error and stumbled across the fix
Just wondering why one site on the same server might "act" differently than all the others
No, i didnt check the log file yet, but was searching for the error and stumbled across the fix
Just wondering why one site on the same server might "act" differently than all the others
Please Log in or Create an account to join the conversation.
- David R.
-
- Offline
- Premium Member
Less
More
- Posts: 81
14 years 8 months ago #88468
by David R.
Replied by David R. on topic Maximum Execution Time
Yeah that's a bit odd, but could just be a variation in regards to what was going on with the server at the time you were testing.
William White said:The default was 30 sec No, i didnt check the log file yet, but was searching for the error and stumbled across the fix
Just wondering why one site on the same server might "act" differently than all the others
William White said:The default was 30 sec No, i didnt check the log file yet, but was searching for the error and stumbled across the fix
Just wondering why one site on the same server might "act" differently than all the others
Please Log in or Create an account to join the conversation.