The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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 Code:
php_value max_execution_time 300 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. |
#2
|
|||
|
|||
Well, u need to chk the apache log and see if its spitting out a error with the now bigger document, its probably doing the same thing as it was before, could also be a memory issue, chk ur logs.
|
#3
|
||||
|
||||
How can I do this? I have my site on a server host and I could not find any links in cPanel to view this information. There was an Error Log, but nothing shows after a post dies.
|
#4
|
|||
|
|||
If you dont have a dedicated server, i doubt the host will give you access as well, yo ucan try this though in the config.php at the top, after the <?php on line 2
Code:
ini_set('memory_limit', 32 * 1024 * 1024); ini_set("max_execution_time", "600"); |
#5
|
||||
|
||||
Thanks, but this does not seem to have an effect.
|
#6
|
|||
|
|||
Without log access, i doubt you will find the issue behind this.
|
#7
|
|||
|
|||
The text is probally to long for the database. Try breaking it down to 100,000 per post.
|
#8
|
||||
|
||||
Quote:
What if I created a short version of the post and tried to manually input the full version into the pagetext field using phpMyAdmin? Would the basic text including bbcode work? What would the statement syntax be? As I may not have another post of this size again, finding a technical workaround would make me happy. |
#9
|
||||
|
||||
I managed to work around this problem by using phpMyAdmin and pasting the content (complete with bbCode formatting) into the pagetext field for the post. It works fine, but I have to use the same method in making edits.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|