Stack Overflox

Quick and easy way to see what recipes your character is missing

Moderators: zeryl, Teta68

Stack Overflox

Postby Santonian » Wed Nov 05, 2008 5:18 pm

Hi there,

I am trying to run Missing Recipe on my Guild Roster. But everytime I click on it I get a white page after a couple of seconds telling me this:

Code: Select all
PHP has encountered a Stack overflow


Any idea what's the reason for this?

thanks for help
Santo.
Santonian
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Wed Oct 22, 2008 1:08 pm

Stack Overflox

Postby PleegWat » Wed Nov 05, 2008 5:44 pm

Looks like a PHP bug. Try updating to the latest version of PHP. If that doesn't work, complain to the php devs. If you can't update, complain to your host.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Stack Overflox

Postby Santonian » Wed Nov 05, 2008 5:51 pm

I am running php 4.4.4 the latest is 4.4.9

I can try if an update helps.
Santonian
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Wed Oct 22, 2008 1:08 pm

Re: Stack Overflox

Postby tuigii » Wed Nov 05, 2008 5:58 pm

Santonian wrote:... the latest is 4.4.9


Heu ???? (me go to www.php.net) - Ok, I get it.

Ok, it says PHP 4.4.9 is released! - but this concerns a security update, because many legacy program are not writen for the PHP 5.0 branch, and 5 is the current now for a bit more the one year and a half.

Anyway, I do think that you problem isn't PHP related. It's more a result of a classic out-of-memory error.
Do you use a host ? Can you inform about the memory at your disposal ?Try to reduce the time out of the Missing recipes addon.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Stack Overflox

Postby Santonian » Wed Nov 05, 2008 6:05 pm

Ok, it says PHP 4.4.9 is released! - but this concerns a security update, because many legacy program are not writen for the PHP 5.0 branch, and 5 is the current now for a bit more the one year and a half.


Exactly, thats why I don't have the 5.0 branch installed.

I have complete access to the server it's a virtual Windowss 2003 Server.

I tried diffenrt settings for the timeout already, did not help :(

And I don't want to be smartass, but I am quite familiar with programming, and usually a stack overfolw indicates some sort of endless loop or a recursive function call withour correct end condition.
I doubt that its a memory problem. Nevertheless I can check that.

Santo.
Santonian
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Wed Oct 22, 2008 1:08 pm

Re: Stack Overflox

Postby tuigii » Wed Nov 05, 2008 9:18 pm

Santonian wrote:Exactly, thats why I don't have the 5.0 branch installed.

:scratch:
From what I know, PHP 5 is better as 4.
4.4 only has security issues being updated (and the last 4.4.9 handled a memory overflow !!) - this wil be the last update.
Really, consider going for 5 real soon now ^^

Santonian wrote:....Windowss 2003 Server.

Ok, forget about local memory stuff, I was trying to filter the issue "I have a zero $ a month super server" thing (with 128 Mb of memory - and everything locked down so useless ^^)

I'll add a new point : in both realmstatus.php and missingrecipes/guild/index.php the function urlgrabber is used.

The difference is : in realmstatus.php it's only called ones, in missingrecipes/guild/index.php it's being called many times rapidly.
Now, I presume that http://wow.allakhazam.com is treating YOUR request as mine, so no problem there.

You could disable in missingrecipes/guild/index.php nearly all urlgrabber() - only keep the first 5 in the 'Alchemy' part - to see if this goes well, and if your problem is urlgrabber related.

If not, next candidate are all these preg_match_all further allong.
But if the trouble is there, then that means that upgrading your PHP to 4.4.9 would do the job for you.
Because for what I said above, in the start of this post.

After all : missingrecipes/guild/index.php works for "us".
And we all use http://wow.allakhazam.com
Leaving as an unkown factor : your server code (php most probably).
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France


Return to Missing Recipes

Who is online

Users browsing this forum: No registered users and 1 guest

cron