Random block and phpbb2 Random block and phpbb2
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Random block and phpbb2

Started by Hirokai, February 14, 2005, 04:48:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hirokai

I'm using postnuke .750, phpbb2, Coppermine 1.3.2  and pnCPG 2.5

I'm having a little trouble with the random block. When using normal links in the menu it works fine but when I try goto the forums it gives me the following error messages:

Warning: mysql_connect(): Lost connection to MySQL server during query in /customers/savagefury.org/savagefury.org/httpd.www/www1/modules/pnCPG/pnblocks/pncpg-random.php on line 104

Warning: blocks_pncpg_display(): URL file-access is disabled in the server configuration in /customers/savagefury.org/savagefury.org/httpd.www/www1/modules/pnCPG/pnblocks/pncpg-random.php on line 393

Warning: blocks_pncpg_display(http://www1.savagefury.org/config.php): failed to open stream: no suitable wrapper could be found in /customers/savagefury.org/savagefury.org/httpd.www/www1/modules/pnCPG/pnblocks/pncpg-random.php on line 393

Warning: blocks_pncpg_display(): Failed opening 'http://www1.savagefury.org/config.php'; for inclusion (include_path='.:/usr/lib/php') in /customers/savagefury.org/savagefury.org/httpd.www/www1/modules/pnCPG/pnblocks/pncpg-random.php on line 393

Warning: mysql_connect(): Access denied for user: 'savagefury.org@localhost' (Using password: NO) in /customers/savagefury.org/savagefury.org/httpd.www/www1/modules/pnCPG/pnblocks/pncpg-random.php on line 400


under that it still displays the random picture fine!

Anyone got a clue what's going wrong here and why I get access denieds while under that it displays the picture fine. And why this only happens when using  phpbb2 ?

casNuy

Have you defined the PostNuke home directory properly within the config of pnCPG ?
This needs to be the physical path so do not use www.yourdomain.com/pn/ but something like /home/webroot/postnuke/


Cas