strange probelm with class
Moderator: General Moderators
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
strange probelm with class
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?
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
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]
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]