database error: Access denied for user

Naphta

Joined: 2003-11-10
Posts: 2
Posted: Mon, 2003-11-10 14:55

Latest Version >>Gallery Random Block (Latest Source)<<from Jörg + Md-Pro - Gallerie RC2

trying to add the block i get the following error:

Warning: Access denied for user: 'nobody@localhost' (Using password: NO) in /www/htdocs/bla/modules/gallery/classes/database/mysql/Database.php on line 28

Warning: MySQL Connection Failed: Access denied for user: 'nobody@localhost' (Using password: NO) in /www/htdocs/bla/modules/gallery/classes/database/mysql/Database.php on line 28

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /www/htdocs/bla/modules/gallery/classes/database/mysql/Database.php on line 29

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /www/htdocs/bla/modules/gallery/classes/database/mysql/Database.php on line 33

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /www/htdocs/bla/modules/gallery/classes/database/mysql/Database.php on line 37

Any hints?

Naphta

 
yannou

Joined: 2003-11-10
Posts: 10
Posted: Mon, 2003-11-10 17:56

I hade the same problem and finaly found the answer to it.

If your're using postnuke with ramdom block on Gallery v1.4.1-RC2 you need to edit gallery_random.php

You must change
$GALLERY_EMBEDDED_INSIDE = "nuke";

TO
$GALLERY_EMBEDDED_INSIDE = "postnuke";

cheers,
Yann

 
Naphta

Joined: 2003-11-10
Posts: 2
Posted: Mon, 2003-11-10 19:24

Thanks a lot!

Naphta

 
glendo

Joined: 2002-11-29
Posts: 60
Posted: Tue, 2003-11-18 21:24

:lol: :D :D Thanks Yannou :P :) :D

 
jeinsen

Joined: 2003-08-13
Posts: 7
Posted: Wed, 2003-11-19 08:35

thanks - works like a charm
just had to get the newest source from joergs site and apply your little fix to "postnuke"
http://www.holzapfel-online.de/downloads/gallery_random_block_latest.tar.gz