mein Fotoalbum wird nicht angeziegt.
Klicke ich darauf, kommt folgende Fehlermeldung.
Code: Alles auswählen
Fatal error: Call to undefined function: checkflag() in /var/www/web55/html/forum/album_mod/album_hierarchy_sql.php on line 81
Hier ein Auszug. Zeile 81 ist mit markiert.

Code: Alles auswählen
// ------------------------------------------------------------------------
// Read the album information from the database, either public or personal
// ------------------------------------------------------------------------
function album_read_tree($user_id = ALBUM_PUBLIC_GALLERY, $options = ALBUM_AUTH_VIEW)
{
global $db, $album_data , $userdata;
[color=blue]$can_view = (int) checkFlag($options, ALBUM_AUTH_VIEW);[/color]
$can_upload = (int) checkFlag($options, ALBUM_AUTH_UPLOAD);
$can_rate = (int) checkFlag($options, ALBUM_AUTH_RATE);
$can_comment = (int) checkFlag($options, ALBUM_AUTH_COMMENT);
$can_edit = (int) checkFlag($options, ALBUM_AUTH_EDIT);
$can_delete = (int) checkFlag($options, ALBUM_AUTH_DELETE);
// parent categories
$parents = array();
// read categories and categories with right user access rights
$cats = array();
if ( count($album_data['data']) > 0)
{
return ALBUM_DATA_ALREADY_READ;
}
$parent_root_id = ALBUM_ROOT_CATEGORY;
if (checkFlag($options, ALBUM_READ_ALL_CATEGORIES))
{
// All galleries, both public and personal
Gruß Christian