Dr. Bantham |
05-14-2007 11:02 PM |
Timeout with Large Content Posts
I have the need to post large documents as a post. I am having trouble with one particular document timing out when posting. This document is over 350,000 charachters in length. This is a full essay document which is being posted as an article in GARS, thereby allowing it to be presented with an extensive table of contents directory for online reading/navigation.
This is the error I received when first attempting to post this document:
Code:
Fatal error: Maximum execution time of 30 seconds exceeded in
home/xxxxxxx/public_html/includes/functions.php on line 1533
If I reduce the document size and wait patiently, everything works. If I add the following line to my .htaccess file, an earlier version of the document would sometimes upload:
Code:
php_value max_execution_time 300
Unfortunately, a recent increase in the document size pushed it past another threshold. Now it times out with a whitescreen, stating "finsihed" in the browser status bar and listing editpost.php in the address bar.
What can I do to remedy this situation? Though this size document will be a rarity, this is a very important literature release for the site and I can not give up.
|