http://www.icyphoenix.com/viewtopic.php?f=24&t=1649&p=12211#p12211
-----------------------------------
MikeW
Sun 15 Apr, 2007 20:22

Fatal Error: Call To Undefined Function: Checkflag() In.....
-----------------------------------
I installed Full Album Pack 1.23, later i wanted to upgrade it to 1.4.1.

Now i get the message :
[quote]Fatal error: Call to undefined function: checkflag() in mysite/album_mod/album_hierarchy_sql.php on line 81[/quote]

I get this when i go to my album and in the ACP on album categorys and permissions.
The Configuration and personal album in the ACP do work


When i look what i had to change:

[code linenumbers=false]#
#-----[ OPEN ]------------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------------
#
// Mighty Gorgon - Full Album Pack - BEGIN
//--- FLAG operation functions
function setFlag($flags, $flag)
{
	return $flags | $flag;
}
function clearFlag($flags, $flag)
{
	return ($flags & ~$flag);
}
function checkFlag($flags, $flag)
{
	return (($flags & $flag) == $flag) ? true : false;
}
// Mighty Gorgon - Full Album Pack - END
#
#-----[ REPLACE, WITH ]----------------------------------------
#
// Mighty Gorgon - Full Album Pack - REMOVED[/code]

then it is not used anymore.

Wat did I forget whit the upgrade?
I uploaded all the files and changed the SQL.

Hope someone can help me with this.


