Menu

#8 masterobject and includeheaders declarations

open
nobody
None
5
2008-04-04
2008-04-04
Anonymous
No

My php is puking on the includes for the masterobject class. Says it is being redeclared somehow.

I changed the include instances to include_once and still received the error.

I resolved it by putting a if(!class_exists("masterobject")) wrapper around the class declaration

I had to do a similar function_exists() statement around the includeheaders declaration in the /admin and /supervisor directories.

Also, you get an index error trying to review computers if one has not been registered yet.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB