| Author |
Message |
azam
Beginner


Joined: Mar 15, 2004 Posts: 4
|
Posted: Sat Mar 27, 2004 1:23 am Post subject: Fatal error: Call to undefined function: isalbumname() |
|
|
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. |
|
| Back to top |
|
|
AdBot
|
| Post subject: Fatal error: Call to undefined function: isalbumname() |
|
|
|
|
|
| Back to top |
|
 |
slackbladder
Moderator


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


Joined: Mar 15, 2004 Posts: 4
|
Posted: Sat Mar 27, 2004 5:19 am Post subject: Re: Fatal error: Call to undefined function: isalbumname() |
|
|
| I'm running Gallery 1.4.3 and block-NG-RandomPhotoV2 |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Sat Mar 27, 2004 5:35 am Post subject: Re: Fatal error: Call to undefined function: isalbumname() |
|
|
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) |
|
| Back to top |
|
|
azam
Beginner


Joined: Mar 15, 2004 Posts: 4
|
Posted: Sat Mar 27, 2004 7:43 am Post subject: Re: Fatal error: Call to undefined function: isalbumname() |
|
|
Thanks a lot brother...it's works! I replaced all isAlbumName to getAlbumName.
I'm really appreciated it. Thank you again  |
|
| Back to top |
|
|
dari
Site Admin


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


Joined: Mar 16, 2004 Posts: 1
|
Posted: Sun Apr 04, 2004 4:28 pm Post subject: Re: Fatal error: Call to undefined function: isalbumname() |
|
|
| Thanks for the fix - a very impressive random block. |
|
| Back to top |
|
|
jonny_noog
Beginner


Joined: Sep 26, 2004 Posts: 1
|
Posted: Wed Sep 29, 2004 1:22 am Post subject: Re: Fatal error: Call to undefined function: isalbumname() |
|
|
Who says no one searches forums anymore? Had the problem, thanks for the fix. |
|
| Back to top |
|
|
ELTEE
Beginner


Joined: Dec 06, 2004 Posts: 1
|
Posted: Mon Dec 06, 2004 6:08 pm Post subject: Re: Fatal error: Call to undefined function: isalbumname() |
|
|
Same problem, fixed, thanks kindly  |
|
| Back to top |
|
|
kwestman
Beginner


Joined: Dec 24, 2004 Posts: 2
|
Posted: Mon Dec 27, 2004 2:04 pm Post subject: Re: Fatal error: Call to undefined function: isalbumname() |
|
|
Same problem, however I dont know what you mean by replaceing these things. Replace where? What file?
Thank you |
|
| Back to top |
|
|
kwestman
Beginner


Joined: Dec 24, 2004 Posts: 2
|
Posted: Mon Dec 27, 2004 2:07 pm Post subject: Re: Fatal error: Call to undefined function: isalbumname() |
|
|
Nevermind, got it. I changed the isalbumname to getalbumname in the NG-RandomPhoto_functions.php. I should have known!
Thanks for the help. |
|
| Back to top |
|
|
MWarrioR
Beginner


Joined: Jan 11, 2005 Posts: 2
|
Posted: Mon Jan 24, 2005 9:49 am Post subject: Re: Fatal error: Call to undefined function: isalbumname() |
|
|
Wow... this patch works with newestphoto block also.... thanks....  |
|
| Back to top |
|
|
okami
Beginner


Joined: Feb 01, 2005 Posts: 1
|
Posted: Sun Feb 06, 2005 3:02 am Post subject: Re: Fatal error: Call to undefined function: isalbumname() |
|
|
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. |
|
| Back to top |
|
|
ubertek
Beginner


Joined: Mar 07, 2005 Posts: 1
|
Posted: Mon Mar 07, 2005 11:38 am Post subject: Re: Fatal error: Call to undefined function: isalbumname() |
|
|
Marvellous.
Worked for me too in this and Newest photo too. |
|
| Back to top |
|
|
|
|
|
|
|