Random block and phpbb2 Random block and phpbb2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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