Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Fatal error: Maximum execution time...

  • oumouy
  • oumouy's Avatar Topic Author
  • New Member
  • New Member
More
IP: 41.251.7.105 14 years 7 months ago #335 by oumouy
Hi
thanks for your great plugin
unfortunaly i have an error appearing only in 1 article page."
Maximum execution time of 30 seconds exceeded in plugins/system/jqueryeasy/jqueryeasy.php on line 200"

i know how to change the max execution time but what i want to know is why this is happening only in one article page and it seems like that the plugin eats up a lot of server's resources.(maybe im wrong :blink: )

an explanation will be so much appreciated
Best regards
The following user(s) said Thank You: admin
More
IP: 207.181.196.3 14 years 7 months ago #338 by admin
Hello,
the plugin scans the whole page and uses regular expressions to try and find jQuery-related code. It is mandatory, as lots of extensions actually add code to the body content of a page instead of its headers. Maybe you are having a rather long article (I am guessing) and the lookup takes longer than usual.
This makes me wonder if I should actually add an option to restrict the work of the plugin to the header area (for advanced users) to make it more efficient.

Olivier.
More
IP: 207.229.131.129 14 years 6 months ago #343 by admin
Hello,
can you check if the version 1.1.2 of the plugin improves the performance in your case?

Olivier.
More
IP: 85.54.54.27 14 years 6 months ago #354 by luismi
I'm having this problem too trying to get jomsocial frontpage... I'm using latest version of the plugin.
More
IP: 109.211.172.60 14 years 6 months ago #356 by admin
Hello,
there is not much more I can optimize at this point in the plugin. Although you could try and comment one regular expression in the plugin's code (the one that gets rid of blank lines) that will not have any effect on the purpose of the plugin but may significantly improve the performance of your page. Let me know if that helps. If so, I will look into making this piece of code optional in the next version.

Olivier.
More
IP: 92.51.217.121 14 years 1 month ago #1028 by artemistravel
Hi,

I was having the same problem and found this post and now `i have worked out what the problem was, I thought I would post it here in case future people finding the post find it useful.

My issue was I was echo'ing my record set and the jqueryeasy could not process all the records in the html in the 30 seconds, removed the print_r of the record set and the problem disappeared, magic !!

Phil