Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Call to undefined function: numaccessiblealbums

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Blocks View previous topicPrinter friendly versionView next topic
Author Message
talam_buruk

Beginner
Beginner


Joined: Apr 23, 2003
Posts: 2

PostPosted: Wed Aug 13, 2003 3:20 am    Post subject: Call to undefined function: numaccessiblealbums Reply with quote

Fatal error: Call to undefined function: numaccessiblealbums() in /var/www/phpnuke/html/blocks/block-NG-NEW-newAlbums.php on line 47

line 47 -> foreach ($newAlbumDB->albumList as $tmpAlbum)
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:V1.3.4
Apache version:2.0.4
PHP version (don't just say PHP 4, please):4.2.2
Graphics Toolkit:jpeg..pbm
Operating system:redhat9
Web browser/version (if applicable): IE6
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Call to undefined function: numaccessiblealbums  

Back to top
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Wed Aug 13, 2003 3:46 am    Post subject: Reply with quote

I could be wrong but I don't think that the function numaccessiblealbums() was in 1.3.4? Try upgrading (link on the left)
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Ciro

Beginner
Beginner


Joined: Aug 13, 2003
Posts: 4

PostPosted: Wed Aug 13, 2003 4:29 am    Post subject: Reply with quote

I'm getting the same error on Gallery v1.3.4-pl1 with this setting: define(USE_THUMBS,1);

Fatal error: Call to undefined function: numaccessiblealbums() in /home2/user2582/public_html/html/blocks/block-NG-NEW-newAlbums.php on line 47

---
Gallery v.1.3.4-pl1 on PHP-Nuke 6.5
PHP Version: 4.3.2 - MySQL version: 4.0.13 - Apache version: 1.3.28 (Unix) - OS: Linux
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Wed Aug 13, 2003 7:27 am    Post subject: Reply with quote

the call is this:
Code: › $albumCount = $newAlbumDB->numAccessibleAlbums($cacheUser);


this function was changed to numAlbums(). I will make the change in the code and update the download.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Wed Aug 13, 2003 7:38 am    Post subject: Reply with quote

OK, here's what I did. I put the numAccessible albums function in the block file, since the numAlbums function did not return the same value. I also updated that nasty little CACHE_FILE -> ALBUMCACHE bug....
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Blocks View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia