| Author |
Message |
sgn2
Beginner


Joined: Aug 08, 2004 Posts: 1
|
Posted: Mon Aug 09, 2004 9:15 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
1.4.4 fix?
Fatal error: Call to undefined function: isalbumname() in |
|
| Back to top |
|
|
AdBot
|
| Post subject: Re: [RELEASE] Random Photo V2 |
|
|
|
|
|
| Back to top |
|
 |
jdlejeune
Beginner


Joined: Jul 19, 2004 Posts: 1
|
Posted: Tue Aug 10, 2004 11:45 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
I'm new to this. I've placed the files in my Blocks folder. I go to blocks in admin and under "add a new block" I type:
Name: Random Photo
Filename: NG-RandomPhotoSelectTest
Position: Right
Activate: yes
Expiration: 0 days
After expiration: deactivate
Who can view..: All Visitors
Visible to Subscribers: Yes
Why can't I see it?? |
|
| Back to top |
|
|
agarcha
Beginner


Joined: Oct 15, 2003 Posts: 2
|
Posted: Wed Aug 11, 2004 6:08 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
| I am getting the same error as sgn2 "Fatal error: Call to undefined function: isalbumname()" something to do with line 101. Help! |
|
| Back to top |
|
|
dvsj
Beginner


Joined: Aug 13, 2004 Posts: 1
|
Posted: Fri Aug 13, 2004 5:11 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
| I too am getting an error with 1.4.4 |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Aug 13, 2004 6:54 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
i haven't had the time to go through the blocks and check for code changes that need to be made in light of the 1.4.4 release. Gallery evolves more and more with each release, making it difficult for the "little guys" like me to keep up  |
|
| Back to top |
|
|
aimana
Beginner


Joined: Aug 01, 2003 Posts: 1
|
Posted: Fri Aug 13, 2004 1:20 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
| works on my implementation of 1.4.4 and nuke 7.3 |
|
| Back to top |
|
|
GJSchaller
User


Joined: Aug 04, 2004 Posts: 37 Location: Valhalla, NY, USA
|
Posted: Mon Aug 16, 2004 4:10 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
| I'm getting the same error on line 101 - Gallery 1.4.4, Nuke 7.4 |
|
| Back to top |
|
|
nickg
Beginner


Joined: Aug 26, 2004 Posts: 1
|
Posted: Thu Aug 26, 2004 8:43 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
hi - a small bug i've found on NG-RandomPhoto_funcitons.php
when the random photo block is installed in phpnuke and you set it to AUTO (from the block-NG-RandomPhoto.php file) - a link shows on your block where you can acces the gallery directly, you click it and the link opens up inide the block
its becasue of this in NG-RandomPhoto_functions.php
$FROM = "From: <a href=\"$ALBUM_URL\">" . $album->fields['title'] . '</a>';
there is nothing to tell it to open a new window so i added target=\"_top\"
and that fixed it. - so now i go into the photoalbum directly !
$FROM = "From: <a href=\"$ALBUM_URL\" target=\"_top\" >" . $album->fields['title'] . '</a>'; |
|
| Back to top |
|
|
twelves
Beginner


Joined: Jul 31, 2003 Posts: 14
|
Posted: Sat Oct 02, 2004 11:10 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
Fatal error: Call to undefined function: isalbumname()
Count me in watching this thread also.
nuke 7.5 (Patched)
Final version of PHP
Linux server |
|
| Back to top |
|
|
twelves
Beginner


Joined: Jul 31, 2003 Posts: 14
|
Posted: Sat Oct 02, 2004 11:16 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
Wooops, Did more digging and found this.
I hope I can make a small donation this year. Might have a real job now!
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 |
|
|
-JiF-Mike
Beginner


Joined: Oct 12, 2004 Posts: 1 Location: NH
|
Posted: Tue Oct 12, 2004 11:51 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
I replaced isAlbumName with getAlbumName and that fixed it for me. Thanx for the info! |
|
| Back to top |
|
|
Ricasso
Beginner


Joined: Oct 15, 2004 Posts: 1
|
Posted: Sat Oct 16, 2004 6:58 am Post subject: Re: [RELEASE] Random Photo V2 |
|
|
Is anyone having a problem with the "random" function of the block? I have my block set to scroll three images vertically but they are sometimes not as random as I would like... i.e. sometimes the same thumbnail shows twice. Is there a something that I need to tweak in the random function?
My block is in the lower right-hand corner: http://www.seekers-hq.com/portal [seekers-hq.com]
And I just want to say thanks for all the hard work you've done keeping up with the Gallery releases. |
|
| Back to top |
|
|
martinn
Beginner


Joined: Sep 19, 2004 Posts: 2
|
Posted: Sat Oct 16, 2004 4:25 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
I am getting error:
Fatal error: main(): Failed opening required '/wartwoa/public_html/modules/gallery/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 61
i am using v 1.4.4
nuke 7.4
is this why, or can i fix?? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Sat Oct 16, 2004 5:02 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
martinn,
you need to specify the ABSOLUTE path in your block config:
/home/wartwoa/public_html/modules/gallery/
Ricasso,
The randomness is a function of how many pictures are in each album. So, if you have three albums, one with 100 images, one with 10, and another with 5, the album with 100 images will be chosen more than the other two. and, when the others are chosen, they may show duplicates. you can delete the block-random.cache file and see if that helps. |
|
| Back to top |
|
|
martinn
Beginner


Joined: Sep 19, 2004 Posts: 2
|
Posted: Sun Oct 17, 2004 4:28 pm Post subject: Re: [RELEASE] Random Photo V2 |
|
|
ok changed to absolute path
changed all references to isAlbumName to getAlbumName
now i get a scrolling image in the block but under all these error messages:
Warning: fopen(/wartwoa/public_html/albums/block-random.cache): failed to open stream: No such file or directory in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 221
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223
Warning: fclose(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 225
anything else i can try???
gallery 1.4.4
Nuke 7.4 |
|
| Back to top |
|
|
|
|
|
|
|