Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post FAP SUPPORT - 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


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: [Download] [Hide] [Select]
#
#-----[ 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


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.
 



 
MikeWSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Fatal Error: Call To Undefined Function: Checkflag() In. 
 
I think you didn't upload all files correctly, try to delete all old PHP album files and reupload the new ones.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Fatal Error: Call To Undefined Function: Checkflag() In. 
 
Ofcourse i already tried this, but somehow i seem to forgotten something.

The Album is back but i still have an problem with it.
Everything seems to work in the ACP.
The album also works, uploading works.

But i see no pictures and if i click on a thumbnail (Just the little red cross, no picture) i get this message:

Quote:
Warning: filesize() [function.filesize]: Stat failed for album_mod/upload/61ca178530fa380bcbba3afec8d6ae0f.jpg (errno=2 - No such file or directory) in /home/vofpergo/public_html/JRforum/album_showpage.php on line 1213


The reason i did the upgrade was because every space in an title or description was written as
Quote:
%20

That seems to be fixed now.
 



 
MikeWSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Fatal Error: Call To Undefined Function: Checkflag() In. 
 
Can I have a link please?

Are you sure you haven't removed your pictures?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Fatal Error: Call To Undefined Function: Checkflag() In. 
 
It was even after trying to upload an new picture to see if the problem with the name and discription was solved.

link to the forum is:
h**p://***.vofpergo.nl/JRforum

link to the album part is:
h**p://***.vofpergo.nl/JRforum/album.php
 



 
MikeWSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Fatal Error: Call To Undefined Function: Checkflag() In. 
 
If I try to load the pic directly http://www.vofpergo.nl/JRforum/albu...6a089212d7c.gif I get an error...

I think the picture either doesn't exist or you have HTACCESS in those folders.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Fatal Error: Call To Undefined Function: Checkflag() In. 
 
I removed the ht.access files in de album mod/upload dir.

After that, i saw that the restrictions wore false.
Because I uploaded this directory again, somehow i forget to change the restrictions again.

Now it works, thanks.

 
 



 
MikeWSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron