Page 1 of 1
strange probelm with class
Posted: Fri Jul 01, 2005 5:55 am
by shiznatix
i have a class and i call a function in this class. easy as that. well somtimes, and it seams very very random (ya ya i know there is no randomness in coding) i get a error that says member called to undefined function (somthin like that, its the error that you get when you call to a function in a class that does not exist). now there is no reason for this error to come up since there IS the function and class and if i just hit f5 or click on any other link then everything goes back to normal. its like the class just disapears for like a half second. any sugestions?
Posted: Fri Jul 01, 2005 6:26 am
by Weirdan
Gremlins?
And code may be of much help here, mind to post it?
Posted: Fri Jul 01, 2005 6:33 am
by shiznatix
i do think that it is gremlins cause they also try to eat my in my sleep. here are the two scripts where i think the error might be located but im not sure. it usually happens when i am loged in as a admin and it happens on line 98 of index.php
http://www.koduleht.net/~andrew/cv/index.txt
http://www.koduleht.net/~andrew/cv/lang.inc.txt
EDIT: I originally had this real werid problem with the session[lang] getting set to the entire array of all of the words (no idea how that was happening) but i fixed that with the session[backup_lang]
Posted: Fri Jul 01, 2005 8:05 am
by Weirdan
btw, do you have register_globals on or off?
Posted: Wed Jul 06, 2005 5:11 am
by shiznatix
Register globals are off, still no ideas?