Results 1 to 3 of 3

PHP has encountered a Stack overflow

This is a discussion on PHP has encountered a Stack overflow within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I keep running into these messages around "PHP has encountered a Stack overflow" Right now it on http://localhost/affiliate_affiliate.php above the ...

      
  1. #1
    New Member
    Join Date
    Nov 2004
    Location
    Colorado
    Posts
    17
    Rep Power
    0


    Default PHP has encountered a Stack overflow

    I keep running into these messages around

    "PHP has encountered a Stack overflow"

    Right now it on http://localhost/affiliate_affiliate.php above the shopping cart infobox, but I have seen this in other places. Does anyone know why these are appearing?

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    By chance are you using Windows Server with IIS (there is alot of complaint with this about stack overflow)

    This Error is NOT part of osCMax but it's your server.


    Make sure you have PHP installed as ISAPI.

    And here is the fix if you use ISAPI:

    - Make sure your IIS application protection is on high/isolated.
    - Add the ISAPI module to your ISAPI filter section.

    You may want also check your server php.ini file....

    look for "memory_limit" in there. What value does it have?

    By default it should be 8MB (which may be a bit low).

    Try increasing that to see if that fixes it.

    Good Luck!

  3. #3
    New Member
    Join Date
    Nov 2004
    Location
    Colorado
    Posts
    17
    Rep Power
    0


    Default

    Well, that was with IIS. The problem that I have though is when I run this through my Apache 2 server, I keep getting this messagebox at the end of every page request that says "Document contains no data." I have see this before in random places at random times, but with osCmax, it seems to occur on every page request.

    I've looked into the problem a bit, and other people have had it on other PHP projects, but no one has a good explaination as to what causes it. It was reported in the bug tracker for PHP but because the bug is random, the PHP staff just closed the bug since it couldn't be reproduced.

    Unfortunatly, if I do host an osCmax site, it will have to be under IIS, at least for now, because that's what all of our servers around here are running. Hopefully later this summer we will get a Linux box up and running.

Bookmarks

Posting Permissions

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