View Single Post
Old 06-30-2009, 11:59 AM   #16 (permalink)
Wildhoney
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

See, another thing that makes me think it's not a double include is that surely PHP would see the function at the top, and be unable to redeclare that. Rather, it is failing at the last function in the file which is even more curious.

I say it cannot be a double include from that. What does everybody else think?

You must be creating that function elsewhere. Unless something else is creating that function which is out of your control. Perhaps a PHP module of some sort that nobody else has here.

Try adding the following code about your require_once statements, to see if the function exists. And then if it doesn't exist there, try and move it in between the require_once statements, one at a time.

php Code:
if (function_exists('validateTime'))
{
    die('It already exists... But where?');
}
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote