PHP has encountered a Stack overflow

Home Forums Support Forum PHP has encountered a Stack overflow

This topic contains 5 replies, has 2 voices, and was last updated by  Eli Scheetz 12 years, 4 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #363

    David Bann
    Member

    Hi there,

    When I try to scan the HTTPDOCS folder, I get the following error after about 68% completion of a scan:

    PHP has encountered a Stack overflow

    Any ideas how I can fix this?

    This is a GREAT plugin!

    Thanks

    #364

    Eli Scheetz
    Member

    I believe this is due to a lack of memory allocated to your PHP processes. You could try increasing the memory limit. Here are three examples of how to do that:
    in your php.ini file
    memory_limit = 256M
    in your .htaccess file
    php_value memory_limit 256M
    in your php script
    ini_set('memory_limit', '256M');

    Let me know how that works. If you need more help you can email me admin credentials to your site and I’ll take look. You can send emails to registrations at gotmls dot com

    #366

    David Bann
    Member

    Thanks for the response – I have shared hosting so I can;t change the php.ini file, so I changed the .htaccess file instead but no difference.

    The plugin does not work for very long – it just tries for a few seconds and then fails. It gets to the point where it has examined 2079 files and then it gives the error. I will try and exclude some folders and continue trying…

    #367

    David Bann
    Member

    If I exclude wp-includes then it works fine, but if I exclude everything but wp-includes then it crashes…

    #368

    Eli Scheetz
    Member

    Excellent troubleshooting on your part. I wonder if there is a file in wp-includes that is causing it to crash.

    If you repeatedly scan the wp-includes folder does it always stop on the same file? It may be that file or the file after that file that is the cause.

    I would be happy to take a look at it myself if you would be willing to grant me admin access.

    #380

    Eli Scheetz
    Member

    I have a BETA release 1.2.07.30 that has already worked for a few other people who were having the same problem. It’s not finished and it doesn’t work for everyone but if you want to give it a try you can download it here:

    http://wordpress.org/extend/plugins/gotmls/developers/

    (look for 1.2.07.30 under “Other Versions”)

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘PHP has encountered a Stack overflow’ is closed to new replies.

Comments are closed.