Image

Imagelonganimity wrote in Imagephp

Cyboards is tricktsy...

Hello there! Yeah, new here, not really new to php, but nowhere near being called anything but newbie. Heh. All righty, anyhow... here's the mishap.

Fatal error: Call to undefined function: verify_admin() in index.php on line 5.

Don't you love how that line plagues you when you try to sleep? Bah!

Two files comprise the index.php with cyboards. Yeah, I know it isn't the greatest board out there, but I needed php and mySQL available in a flat threaded format, instead of the newer layouts like phpBB2 has.

Anyhow, config.php and common.php. All file paths are resolved, fixed that. Uploaded tables, done.

$access = verify_admin();

Very simple line, very simple. I know the problem is staring me right in the face, and for the life of me, I cannot figure out what it could be! I set the global password off in another file, so that is done. All the information is set. That's done.

So, anyone care to point out my newbie mistake? Heh.