Home | Support Forums | Your Account | Gallery [2] | 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  

Gallery 1.3.4-pl1 and blocks
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Blocks View previous topicPrinter friendly versionView next topic
Author Message
dthiessen

Beginner
Beginner


Joined: May 17, 2003
Posts: 16
Location: Strathmore, Alberta, Canada

PostPosted: Wed Aug 06, 2003 3:50 pm    Post subject: Gallery 1.3.4-pl1 and blocks Reply with quote

I was just wondering if the blocks on this website will work with Gallery 1.3.4-pl1. I try them but I get error after error. I was just wondering if ther was any updated gallery files for the latest version. Thanks.
Back to top
Offline View user's profile Send private message Visit poster's website MSN Messenger
AdBot
   Post subject: Gallery 1.3.4-pl1 and blocks  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Wed Aug 06, 2003 3:57 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

these blocks work with that version. http://phpnuke.nukedgallery.net is always running the latest CVS version of gallery, on the latest version of PHPNuke. so far, so good Smile
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dthiessen

Beginner
Beginner


Joined: May 17, 2003
Posts: 16
Location: Strathmore, Alberta, Canada

PostPosted: Wed Aug 06, 2003 7:10 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

Well...I guess I better start workin on my problems then. The first being the new albums block. I made sure configuration is right also.

Here are the errors:
Code: › Warning: Invalid argument supplied for foreach() in /var/www/html/modules/gallery/session.php on line 55

Fatal error: Call to a member function on a non-object in /var/www/html/modules/gallery/classes/User.php on line 90


and here's what I have set for variables in the block:
Code: › /* CHANGE THESE VARIABLES */
$GALLERY_BASEDIR = "/var/www/html/modules/gallery/";
define(SERVER_ADDR,"http://thehub.sytes.net/");
define(WEB_BASE_ADDR,"http://thehub.sytes.net/");
define(GALLERY_NAME,"gallery");
define(USE_THUMBS,0);  // Set to 1 to show thumbnails, 0 to just list albums.


If you need anything else just ask. Thanks
Back to top
Offline View user's profile Send private message Visit poster's website MSN Messenger
dthiessen

Beginner
Beginner


Joined: May 17, 2003
Posts: 16
Location: Strathmore, Alberta, Canada

PostPosted: Wed Aug 06, 2003 7:24 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

Alright, I have fixed the first error fairly easy but the second one I can't find the fix for.
Back to top
Offline View user's profile Send private message Visit poster's website MSN Messenger
dari

Site Admin
Site Admin


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

PostPosted: Wed Aug 06, 2003 8:38 pm    Post subject: Reply with quote

i'm guessing that the path to your nuke install is just /var/www/html/

your config looks ok to me...
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
natch

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 9

PostPosted: Thu Aug 07, 2003 9:41 am    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

Same problem here with user.php when activating the block-mostviewed.php.

I'm using php-nuke 6.5, gallery 1.3.4-pl1, PHP 4.3.2.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu Aug 07, 2003 9:44 am    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

natch-
what is the exact error you're getting?

try deleting this line from block-mostViewed.php:
Code: ›         $numAccess = $albumDB->numAccessibleAlbums($gallery->user);

_________________
Back to top
Offline View user's profile Send private message Visit poster's website
natch

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 9

PostPosted: Thu Aug 07, 2003 12:04 pm    Post subject: Reply with quote

Err.. it's worse than I thought.

I removed the line from the mostviewed block on advice from Dari. It looks fine: shows a picture and has a text link. Clicking either the picture or the text link goes to a 404.

I had already commented out the line in question. I just tried deleting it also and no change.

--

When I actually open up the photogalley inside php-nuke I see the main albums fine. No matter which album I click on it always takes me to the newest album which is a nested album inside one of the main albums. It also doesn't show the list of nested albums at the top. Deactivating the newalbums block fixes this.

--

Hope this helps.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu Aug 07, 2003 12:39 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

reactivate the block so i can see the problems.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
natch

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 9

PostPosted: Thu Aug 07, 2003 1:20 pm    Post subject: Reply with quote

Temporary fix - block works on the right and center but not on the left.

-
natch
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu Aug 07, 2003 1:26 pm    Post subject: Reply with quote

a fixed block has been posted. http://phpnuke.nukedgallery.net has it working on the left. dumb bug on my part Rolling Eyes
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dthiessen

Beginner
Beginner


Joined: May 17, 2003
Posts: 16
Location: Strathmore, Alberta, Canada

PostPosted: Thu Aug 07, 2003 6:28 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

thanks for all the help from both of u guys. I'll go try the fix now. Very Happy
Back to top
Offline View user's profile Send private message Visit poster's website MSN Messenger
dthiessen

Beginner
Beginner


Joined: May 17, 2003
Posts: 16
Location: Strathmore, Alberta, Canada

PostPosted: Thu Aug 07, 2003 6:40 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

newAlbums block now works great but because I have my gallery hosted on a different server the loading time is just Haggard.

Code: › Page Generation: 17.73 Seconds


Also...is there any way I can cache the 5 newest albums in my database and just make it update every hour like news?. And also limit the thumbnails to a certain size?. Thanks again
Back to top
Offline View user's profile Send private message Visit poster's website MSN Messenger
dari

Site Admin
Site Admin


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

PostPosted: Thu Aug 07, 2003 7:11 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

yeah, that's a mod i'm working on for people with larger galleries. i've been pretty busy at work and at home and haven't had a chunk of time i could devote to fixing it. it will happen, though Smile
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dthiessen

Beginner
Beginner


Joined: May 17, 2003
Posts: 16
Location: Strathmore, Alberta, Canada

PostPosted: Thu Aug 07, 2003 9:03 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

sounds great...i might have a go at it myself also. It shouldn't be that hard except for I don't know how to make it update at a set interval.
Back to top
Offline View user's profile Send private message Visit poster's website MSN Messenger
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
Goto page 1, 2  Next

 
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