Even weirder problem.
Posted: Thu May 15, 2003 7:00 am
This one is giving me MAJOR headaches. My problem is with functions. I am making a very modular website where many functions are stored on different *.php files. One of my main files index.php calls another one functions.php which has a set of functions in it. The two are connected with an require_once statement in index.php.
The problem arises when i make a new function in functions.php and then call the function from index.php. My page just dies! blank... as if there is a problem... so i try everything possible... until for some reason... it works!! after some time the function works fine and all good... so ignore the happening and go on with my little life... but now i made a new function, called it... and voila poop in my face... so i desperately try everything...EVERYTHING... and then after like 1 hour it works again.
The old functions there work absolutely fine, the new ones i create are simple output functions that make debugging easy.
Oh my god i really don't understand what is wrong.. and this takes up so much time... Thanks...
The problem arises when i make a new function in functions.php and then call the function from index.php. My page just dies! blank... as if there is a problem... so i try everything possible... until for some reason... it works!! after some time the function works fine and all good... so ignore the happening and go on with my little life... but now i made a new function, called it... and voila poop in my face... so i desperately try everything...EVERYTHING... and then after like 1 hour it works again.
The old functions there work absolutely fine, the new ones i create are simple output functions that make debugging easy.
Oh my god i really don't understand what is wrong.. and this takes up so much time... Thanks...