Topic Title: Fatal error: Call to undefined function: isalbumname()

Forum Index » Blocks » Fatal error: Call to undefined function: isalbumname()
Topic URL: http://www.nukedgallery.net/postt786.html

AuthorMessage
Post Title: Fatal error: Call to undefined function: isalbumname()
azam
Joined: Mar 15, 2004
Posts: 4

Posted: Sat Mar 27, 2004 1:23 am
hi,

I got error message after installing random block:
Fatal error: Call to undefined function: isalbumname() in /home/xxxxx/xxxxx/blocks/NG-RandomPhoto_functions.php on line 101

Does anybody help me on this.

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
slackbladder
Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK
Posted: Sat Mar 27, 2004 5:00 am
What version of GALLERY are you running?

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
azam
Joined: Mar 15, 2004
Posts: 4

Posted: Sat Mar 27, 2004 5:19 am
I'm running Gallery 1.4.3 and block-NG-RandomPhotoV2

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
slackbladder
Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK
Posted: Sat Mar 27, 2004 5:35 am
GALLERY 1.4.3 is currently only available on CVS. As per the GALLERY changelog:

2004-03-05 Jay Rossiter 1.4.3-cvs-b106

* Change: Stage 2 of a fix for bug 903936 -
1. Changing all non-AlbumItem references to AlbumItem::isAlbumName
to getAlbumName()

You will either need to change ALL refs to isAlbumName to getAlbumName or downgrade to 1.4.2 until Dari (site admin) has revised the RANDOM BLOCK code (my guess is this won't be done until 1.4.3 is on public release)

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
azam
Joined: Mar 15, 2004
Posts: 4

Posted: Sat Mar 27, 2004 7:43 am
Thanks a lot brother...it's works! I replaced all isAlbumName to getAlbumName.

I'm really appreciated it. Thank you again Mr. Green

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Sat Mar 27, 2004 7:54 am
once 1.4.3 is released, I will make changes to the relevant blocks.

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
jrs
Joined: Mar 16, 2004
Posts: 1

Posted: Sun Apr 04, 2004 4:28 pm
Thanks for the fix - a very impressive random block.

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
jonny_noog
Joined: Sep 26, 2004
Posts: 1

Posted: Wed Sep 29, 2004 1:22 am
Who says no one searches forums anymore? Laughing Had the problem, thanks for the fix.

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
ELTEE
Joined: Dec 06, 2004
Posts: 1

Posted: Mon Dec 06, 2004 6:08 pm
Same problem, fixed, thanks kindly Smile

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
kwestman
Joined: Dec 24, 2004
Posts: 2

Posted: Mon Dec 27, 2004 2:04 pm
Same problem, however I dont know what you mean by replaceing these things. Replace where? What file?

Thank you

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
kwestman
Joined: Dec 24, 2004
Posts: 2

Posted: Mon Dec 27, 2004 2:07 pm
Nevermind, got it. I changed the isalbumname to getalbumname in the NG-RandomPhoto_functions.php. I should have known!

Thanks for the help.

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
MWarrioR
Joined: Jan 11, 2005
Posts: 2

Posted: Mon Jan 24, 2005 9:49 am
Wow... this patch works with newestphoto block also.... thanks.... Laughing

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
okami
Joined: Feb 01, 2005
Posts: 1

Posted: Sun Feb 06, 2005 3:02 am
Aye, and just to help a little more, here's a tip.

Use the Find option in your editor, or notepad and find all instances of isAlbumName, and as you find them replace the word with getAlbumName.

There are about 5 or 6 instances of this in the NG-RandomPhoto_functions.php file.

AuthorMessage
Post Title: Re: Fatal error: Call to undefined function: isalbumname()
ubertek
Joined: Mar 07, 2005
Posts: 1

Posted: Mon Mar 07, 2005 11:38 am
Marvellous.

Worked for me too in this and Newest photo too.

All times are GMT - 5 Hours
Powered by PHPNuke and phpBB2 © 2006 phpBB Group