postnuke block?!?
Stokes
Joined: 2003-09-29
Posts: 8 |
![]() |
sorry I am new to this, and I have my gallery up and running, but I dont know how to get the block on my main site, i have my site like this: then my normal site: how do i install the module for postnuke? |
|
logik
Joined: 2003-10-14
Posts: 11 |
![]() |
Stokes wrote:
sorry I am new to this, and I have my gallery up and running, but I dont know how to get the block on my main site, i have my site like this: Anybody have answer to this question? I'm having the same problem? |
|
Warren
![]()
Joined: 2002-07-24
Posts: 794 |
![]() |
Get the Joerg Random Block from http://www.holzapfel-online.de. Quote:
Make a "pnblocks"-directory in your gallery-module directory and place the gallery_random.php in that directory. The only thing to change in the source is the name of the gallery dir. In most cases this schould be "gallery". This is from the random_read.me file. Find this file, it describes how to configure it once the block is installed. |
|
logik
Joined: 2003-10-14
Posts: 11 |
![]() |
I installed the random block script V1.0 from here. I guess it doesn't work for newer gallery versions. You are the MANN! Thanks I will try it as soon as I get home :D |
|
Warren
![]()
Joined: 2002-07-24
Posts: 794 |
![]() |
Oh thanks! That helps stengthens my masculinity 8) Glad to be of service. |
|
logik
Joined: 2003-10-14
Posts: 11 |
![]() |
I installed the block, but I getting these errors. Whats happening? Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/local/etc/httpd/htdocs/modules/gallery/classes/database/mysql/Database.php on line 37 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/etc/httpd/htdocs/modules/gallery/classes/database/mysql/Database.php:37) in /usr/local/etc/httpd/htdocs/includes/pnAPI.php on line 1097 |
|
logik
Joined: 2003-10-14
Posts: 11 |
![]() |
Warren, I just wanna say thanks in advance..I searched the forum and found the answer. Here is the code below to fix my problem.. $GALLERY_MODULENAME = "gallery"; //Change this to your module Name $GALLERY_BASEDIR = "modules/$GALLERY_MODULENAME/"; $GALLERY_EMBEDDED_INSIDE = "postnuke"; $GALLERY_NO_SESSIONS = true; |
|
Warren
![]()
Joined: 2002-07-24
Posts: 794 |
![]() |
You beat me it looks like. Good work! |
|
robdog711
Joined: 2003-06-08
Posts: 13 |
![]() |
I was wondering is someone could look at my errors upon "block addition" and tell me if the above is the same fix? Warning: Access denied for user: 'www-data@localhost' (Using password: NO) in /usr/web/brinkofdystopia/htdocs/html/modules/gallery/classes/database/mysql/Database.php on line 34 Also, why does it say password=no when the admin has a password and I typed the password into the Gallery install wiz? Thanks in advance .. |
|
Warren
![]()
Joined: 2002-07-24
Posts: 794 |
![]() |
Yes... same fix 8) |
|
Warren
![]()
Joined: 2002-07-24
Posts: 794 |
![]() |
Well depending on if you just upgraded to PHP-Nuke 6x or higher from a lower version with Gallery 1.3.x. There was the same error back then too. |
|
robdog711
Joined: 2003-06-08
Posts: 13 |
![]() |
yeah - i changed it to "postnuke" and it all works well again. thanks for everyones help! |
|
jr1001
Joined: 2003-05-04
Posts: 13 |
![]() |
saved by the bell - same issue - thanks! |
|