pkedpker Posted June 14, 2009 Share Posted June 14, 2009 Everytime I try to open my webiste I get a red X messagebox saying I have a STACK_OVERFLOW. I use PHP 5.2.3. all my pages had if (!session_is_registered('username')) { echo 'You must login please'; } So I replaced them all with new function i made isLogin() found the ERROR it.. hehe solved just for anyone wondering where the problem was.. it was my dang notepad It replaced too much stuff. this gave me a stack_overflow function isLogin() { if (!isLogin()) { return false; } else { return true; } } it's a endless recursive call to isLogin() the correct one was function isLogin() { if (!session_is_registered('username')) { return false; } else { return true; } } just for reference. Link to comment https://forums.phpfreaks.com/topic/162176-solved-php-cgiexe-application-error-0xc00000fd-stack_overflow/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.