Home
Scripts
Contributions (Pro Mod Access)
FAQ's
Downloads
Support Forum
  SnailSource.com [Logo]
Calendar LiteCalendar Lite (Demo)
Calendar ProCalendar Pro (Demo)
LinksLinks Pro (Demo)
Log in to check your private messagesForum
RegisterRegister
Log inLog in
Log in to check your private messagesLog in to check your private messages SearchSearch FAQFAQ ProfileProfile MemberlistMemberlist UsergroupsUsergroups Join GroupsJoin Groups

Could not select Gallery permission... and other errors

 
Post new topic   Reply to topic   printer-friendly view    SnailSource.com Forum Index -> Gallery->phpBB2 Integration Support printer-friendly view
View previous topic :: View next topic  
Author Message
darkon



Joined: 19 Oct 2005
Posts: 6



Hlp* 15.00
PostPosted: Wed Jul 26, 2006 3:12 am    Post subject: Could not select Gallery permission... and other errors Reply with quote Direct link

Hi,

i installed Gallery 1.5.3 and this mod on a phpBB 2.2.1

When i try to access to gallery through the phpBB i get a lot of errors at the head of the page:

Code:

Warning: mysql_connect(): Access denied for user 'forum'@'localhost' (using password: NO) in /var/www/vhosts/XXXXX.serverkompetenz.net/httpdocs/phpBB2/modules/gallery/classes/database/mysql/Database.php on line 28

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/vhosts/XXXXX.serverkompetenz.net/httpdocs/phpBB2/modules/gallery/classes/database/mysql/Database.php on line 29

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/vhosts/XXXXX.serverkompetenz.net/httpdocs/phpBB2/modules/gallery/classes/database/mysql/Database.php on line 33

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/XXXXX.serverkompetenz.net/httpdocs/phpBB2/modules/gallery/classes/database/mysql/Database.php on line 37

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/vhosts/XXXXX.serverkompetenz.net/httpdocs/phpBB2/modules/gallery/classes/database/mysql/Database.php on line 33

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/XXXXX.serverkompetenz.net/httpdocs/phpBB2/modules/gallery/classes/database/mysql/Database.php:28) in /var/www/vhosts/XXXXX.serverkompetenz.net/httpdocs/phpBB2/includes/page_header.php on line 559

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/XXXXX.serverkompetenz.net/httpdocs/phpBB2/modules/gallery/classes/database/mysql/Database.php:28) in /var/www/vhostsXXXXX.serverkompetenz.net/httpdocs/phpBB2/includes/page_header.php on line 561

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/XXXXX.serverkompetenz.net/httpdocs/phpBB2/modules/gallery/classes/database/mysql/Database.php:28) in /var/www/vhosts/XXXXX.serverkompetenz.net/httpdocs/phpBB2/includes/page_header.php on line 562

( I XXXXX-ed out some part of the path Wink )


and on the page itself it says:

Code:
Could not select Gallery permission from user table

DEBUG MODE

SELECT user_gallery_perm FROM phpbb_users WHERE user_id = ''

Line : 127
File : User.php



I searched and found your help, so i edited the common.php and commented "unset($dbpasswd);" out.


But it changed nothing at all. Sad
The same errors are coming on, no matter if comment it out or not.


Is there any way to get it working?
Back to top
View user's profile Send private message
Martin
Site Admin


Joined: 24 Mar 2002
Posts: 8182



Hlp* 3655.72
PostPosted: Wed Jul 26, 2006 11:20 am    Post subject: Reply with quote Direct link

The only fix I'm aware of is the one you've applied..

I'd double check that you have successfully edited and uploaded the file and also that your login information hasn't changed.

The other thing to note is that the integration mod was only tested up until version 1.5.1 as the newer Gallery 2.x.x version is much better integrated with phpBB2 and has a host of improvements on 1.5.x..

My recommendation would be to upgrade your gallery to version 2.1.x and use the information stickied on this forum to get moving.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    SnailSource.com Forum Index -> Gallery->phpBB2 Integration Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

This board is protected by Phpbbantispam
Board Security

15557 Attacks blocked

Powered by phpBB © 2001, 2005 phpBB Group