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:
http://ug.dorm.org/gallery
then my normal site:
http://ug.dorm.org
how do i install the module for postnuke?
Posts: 11
Anybody have answer to this question? I'm having the same problem?
Posts: 794
Get the Joerg Random Block from http://www.holzapfel-online.de.
This is from the random_read.me file. Find this file, it describes how to configure it once the block is installed.
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
Posts: 794
Oh thanks! That helps stengthens my masculinity 8)
Glad to be of service.
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
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..
Posts: 794
You beat me it looks like. Good work!
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
Warning: MySQL Connection Failed: 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
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /usr/web/brinkofdystopia/htdocs/html/modules/gallery/classes/database/mysql/Database.php on line 35
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/web/brinkofdystopia/htdocs/html/modules/gallery/classes/database/mysql/Database.php on line 39
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/web/brinkofdystopia/htdocs/html/modules/gallery/classes/database/mysql/Database.php on line 43
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 ..
Posts: 794
Yes... same fix 8)
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.
Posts: 13
yeah - i changed it to "postnuke" and it all works well again. thanks for everyones help!
Posts: 13
saved by the bell - same issue - thanks!