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  

Random Block and 5 New Albums Blocks = Problems

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

Beginner
Beginner


Joined: Jul 27, 2003
Posts: 4

PostPosted: Sun Jul 27, 2003 6:27 am    Post subject: Random Block and 5 New Albums Blocks = Problems Reply with quote

Hi , I just installed the 5 newest albums block ,but my random block doesnt like it. When both are active , the random block just puts out a error message :

Fatal error: Cannot redeclare fs_copy() (previously declared in /var/www/html/modules/gallery/platform/fs_unix.php:22) in /var/www/html/modules/gallery/platform/fs_unix.php on line 22


Whats the matter . Changing left right or center for the 2 blocks doesnt change a thing.

Thanks for the help
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Random Block and 5 New Albums Blocks = Problems  

Back to top
petzlux

Beginner
Beginner


Joined: Jul 27, 2003
Posts: 4

PostPosted: Sun Jul 27, 2003 7:22 am    Post subject: Reply with quote

Get a new error message now, after installing another version of block-random, had before the earlier version without the ability to use hourly or daily.
It works alone, but if i use newest album with it, the thumb is still displayed but clicking on it produces an error and the following error message is also displayed along the thumb:


Warning: fopen("/block-random.cache", "w") - Permission denied in /var/www/html/modules/gallery/platform/fs_unix.php on line 53
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Sun Jul 27, 2003 12:33 pm    Post subject: Re: Random Block and 5 New Albums Blocks = Problems Reply with quote

hmm..check to make sure that the "require" lines at the top all read "require_once (STUFF HERE ."init.php");"

are you using any other block that calls gallery funtions on your page? what side are the blocks on?
as for the other error, make sure that the permissions on the block-random.cache file are set to allow writing.
Back to top
Offline View user's profile Send private message Visit poster's website
petzlux

Beginner
Beginner


Joined: Jul 27, 2003
Posts: 4

PostPosted: Sun Jul 27, 2003 1:45 pm    Post subject: Reply with quote

I did set the permission for the block-random.cache to 777. What exact file does the require_once statement stand in ?
Back to top
Offline View user's profile Send private message
petzlux

Beginner
Beginner


Joined: Jul 27, 2003
Posts: 4

PostPosted: Sun Jul 27, 2003 1:47 pm    Post subject: Reply with quote

$GALLERY_BASEDIR = "/var/www/html/modules/gallery/";
define(ALBUM_BASEADDR, "http://www.petz.lu/albums/");
define(SERVER_ADDR, "http://www.petz.lu/");
require_once($GALLERY_BASEDIR . "init.php");
require_once($GALLERY_BASEDIR . "random_support.php");



Thats what my block-random.php reads concerning the statements
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Sun Jul 27, 2003 9:19 pm    Post subject: Re: Random Block and 5 New Albums Blocks = Problems Reply with quote

hmm...OS? web server? PHP version?

search through the forums, i know that others have had this issue as well. your block-random.php file looks fine. check the top of your random_support.php file (it should be in your modules/gallery directory) and make sure that the require_once for the init.php line is at/near the top (and that there isn't a line requiring random_support.php.
Back to top
Offline View user's profile Send private message Visit poster's website
casper

Beginner
Beginner


Joined: May 24, 2003
Posts: 6

PostPosted: Mon Jul 28, 2003 4:16 am    Post subject: Reply with quote

I got the following errors with the newsest album block..

Warning: Division by zero in /public_html/php-nuke/html/modules/gallery/classes/Image.php on line 152

and the thumbnail is not resized to fit the block colum width..

anyone knows why? and any fix available?

Thanks! Wink
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Mon Jul 28, 2003 7:10 am    Post subject: Re: Random Block and 5 New Albums Blocks = Problems Reply with quote

that sounds more like a general Gallery issue. you might want to check this forum: Troubleshooting & Problems [menalto.com]
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 Integration » 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: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

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