Access Denied!
budroni
Joined: 2003-11-10
Posts: 8 |
Posted: Sun, 2003-11-16 07:12 |
OK.. I figured out what my first problem was. I had created a new gallery installation and then put the block-random.php file in. I then added photos to test the site. I needed to delete the cache file for it to work. I can run the block-random.php fine directly now. But when I try to load it as a module (i.e. - http://your.server/modules.php?op=modload&name=your-gallery-name&file=index&include=block-random.php) It gives me this error: Warning: Access denied for user: 'root@localhost' (Using password: NO) in /path/to/my/site/gallery/classes/database/mysql/Database.php on line 28 Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in /path/to/my/site/gallery/classes/database/mysql/Database.php on line 28 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /path/to/my/site/gallery/classes/database/mysql/Database.php on line 29 BTW, I am running Gallery v1.4.1-RC2 and vbPortal on an apache 2.0.40 server. Any ideas? |
|
Posts: 4
Not sure if it's too late to help, but I had same prob.
Read about the common Random Block issue... except I haven't got it installed.
So then tried looking in other files.
index.php
has a line which reads Nuke, and then some if statements after which include Postnuke, I think it's broken!
So just change "nuke" to "postnuke" and load it.
First it says converting users, and the refresh option doesn't work (!)
but after that- it should be ok... well mine is so far!
Regards
Allan
Community- I'm trying to help becuase others helped me!
Posts: 794
Problem is you are using a possible unsupported CMS. Where did you get your random block? You might have better luck with the standalone version, which also was intended to work with PostNuke but not sure if that is outdated for nuke use. But as Also mentioned, this solution is key to your problem.