Results 1 to 13 of 13

maximum execution time line 54 functions_vbseo_misc.php

This is a discussion on maximum execution time line 54 functions_vbseo_misc.php within the Bug Reporting forums, part of the vBSEO SEO Plugin category; hi, my error_log shows this error several times PHP Fatal error: Maximum execution time of 30 seconds exceeded in <<removeddd>>includes/functions_vbseo_misc.php ...

  1. #1
    Member
    Real Name
    m0rgulvale
    Join Date
    May 2009
    Posts
    88
    Liked
    2 times

    Question maximum execution time line 54 functions_vbseo_misc.php

    hi,

    my error_log shows this error several times

    PHP Fatal error: Maximum execution time of 30 seconds exceeded in <<removeddd>>includes/functions_vbseo_misc.php on line 54


    line 54 is:

    preg_match('#<title.*?\>(.+?)</title.*?\>#is', $ptext, $tmatch);


    This only starting appearing after patching the file in recent security 'patch' upgrade


    Please advise

    thanks

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    could you please compare the date/time of the error log entry with access log to find out which URL was requested?

  3. #3
    Member
    Real Name
    m0rgulvale
    Join Date
    May 2009
    Posts
    88
    Liked
    2 times
    hey oleg, i checked the access_log file but didn't see anything matching that time

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    There definitely must be an entry with that timestamp (or close to it), can you check other error entries time? (you mentioned there are a few of them)

  5. #5
    Member
    Real Name
    m0rgulvale
    Join Date
    May 2009
    Posts
    88
    Liked
    2 times
    [edit]

    i should be comparing the timestamps in error_log to those in access_log right?

    thx for ur help !
    peace

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    That's right.

  7. #7
    Member
    Real Name
    m0rgulvale
    Join Date
    May 2009
    Posts
    88
    Liked
    2 times
    don't see anything odd or suspicious from either day... very typical messages appear on these dates and near the times of the errors in error_log

    do not see any errors related to vbseo in the access_log after greping thru it

  8. #8
    Senior Member
    Real Name
    Ceri May
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    1,726
    Liked
    15 times
    Blog Entries
    1
    Hey m0rgulvale,

    You shouldn't see errors in your access logs but what you are looking for it what file/URL was access when the error happened. That way you can find out what is causing the problem.

    So at the same time as the error is timestamped (or maybe a few seconds before) what file was accessed?

    Ceri

  9. #9
    Member
    Real Name
    m0rgulvale
    Join Date
    May 2009
    Posts
    88
    Liked
    2 times
    thanks for the input ceri

    i had another error today:


    [02-Dec-2009 08:25:43] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /<removed>/includes/functions_vbseo_misc.php on line 54

    i saw this stuff in /usr/local/apache/logs/error_log

    [Wed Dec 02 08:23:32 2009] [error] [client removedipaddr] Invalid URI in request GET HTTP/1.1
    [Wed Dec 02 08:45:53 2009] [error] [client 79xxxx7] Invalid URI in request GET HTTP/1.1
    [Wed Dec 02 08:45:55 2009] [error] [client 1xxxxxxx] Invalid URI in request GET HTTP/1.1

  10. #10
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Can you check the access_log file for the same timestamp and see what url they were trying to access when this occured?

  11. #11
    Member
    Real Name
    m0rgulvale
    Join Date
    May 2009
    Posts
    88
    Liked
    2 times
    access_log has

    2xxx - - [02/Dec/2009:08:23:32 +0000] "GET HTTP/1.1" 400 2025

    7xxx - - [02/Dec/2009:08:45:53 +0000] "GET HTTP/1.1" 400 2025
    1xxx - - [02/Dec/2009:08:45:55 +0000] "GET HTTP/1.1" 400 2025
    (same IPs as in post 9)

    these were all bad requests not sure if this casued the problem

    note that between GET and HTTP there is a character not being seen , not sure if its an extra space or not, might need to open the access_log in hex editor to find that out

  12. #12
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    There's no URL or referral in there? it seems really odd to not have the actual access request included there.

    This is saying the script returned a 400 error (bad request), but returned 2025 bytes of data.... but its missing the script call itself.

  13. #13
    Member
    Real Name
    m0rgulvale
    Join Date
    May 2009
    Posts
    88
    Liked
    2 times
    dont see any referral urls in entire /usr/local/apache/logs/access_log

Similar Threads

  1. Fatal error: Maximum execution hatası alıyorum
    By canerium in forum Türkçe
    Replies: 8
    Last Post: 04-10-2010, 07:02 AM
  2. Fatal error: Maximum execution time
    By jaryx in forum Troubleshooting
    Replies: 26
    Last Post: 09-08-2009, 03:13 AM
  3. Maximum execution time in functions_vbseo_url.php
    By r2ritu9 in forum General Discussion
    Replies: 3
    Last Post: 02-07-2009, 07:57 AM
  4. Maximum execution time of 30
    By QATARSPEED in forum Troubleshooting
    Replies: 7
    Last Post: 05-03-2007, 04:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •