| Author |
Message |
dthiessen
Beginner


Joined: May 17, 2003 Posts: 16 Location: Strathmore, Alberta, Canada
|
Posted: Wed Aug 06, 2003 3:50 pm Post subject: Gallery 1.3.4-pl1 and blocks |
|
|
| 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 |
|
|
AdBot
|
| Post subject: Gallery 1.3.4-pl1 and blocks |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Wed Aug 06, 2003 3:57 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
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  _________________
 |
|
| Back to top |
|
|
dthiessen
Beginner


Joined: May 17, 2003 Posts: 16 Location: Strathmore, Alberta, Canada
|
Posted: Wed Aug 06, 2003 7:10 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
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 |
|
|
dthiessen
Beginner


Joined: May 17, 2003 Posts: 16 Location: Strathmore, Alberta, Canada
|
Posted: Wed Aug 06, 2003 7:24 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
| Alright, I have fixed the first error fairly easy but the second one I can't find the fix for. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Wed Aug 06, 2003 8:38 pm Post subject: |
|
|
i'm guessing that the path to your nuke install is just /var/www/html/
your config looks ok to me... _________________
 |
|
| Back to top |
|
|
natch
Beginner


Joined: Aug 06, 2003 Posts: 9
|
Posted: Thu Aug 07, 2003 9:41 am Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
natch
Beginner


Joined: Aug 06, 2003 Posts: 9
|
Posted: Thu Aug 07, 2003 12:04 pm Post subject: |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Thu Aug 07, 2003 12:39 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
reactivate the block so i can see the problems. _________________
 |
|
| Back to top |
|
|
natch
Beginner


Joined: Aug 06, 2003 Posts: 9
|
Posted: Thu Aug 07, 2003 1:20 pm Post subject: |
|
|
Temporary fix - block works on the right and center but not on the left.
-
natch |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Thu Aug 07, 2003 1:26 pm Post subject: |
|
|
a fixed block has been posted. http://phpnuke.nukedgallery.net has it working on the left. dumb bug on my part  _________________
 |
|
| Back to top |
|
|
dthiessen
Beginner


Joined: May 17, 2003 Posts: 16 Location: Strathmore, Alberta, Canada
|
Posted: Thu Aug 07, 2003 6:28 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
thanks for all the help from both of u guys. I'll go try the fix now.  |
|
| Back to top |
|
|
dthiessen
Beginner


Joined: May 17, 2003 Posts: 16 Location: Strathmore, Alberta, Canada
|
Posted: Thu Aug 07, 2003 6:40 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Thu Aug 07, 2003 7:11 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
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  _________________
 |
|
| Back to top |
|
|
dthiessen
Beginner


Joined: May 17, 2003 Posts: 16 Location: Strathmore, Alberta, Canada
|
Posted: Thu Aug 07, 2003 9:03 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
| 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 |
|
|
|
|
|
|
|