coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 pnCPG (Coppermine for postNuke/Zikula) => Topic started by: Hirokai on February 14, 2005, 04:48:56 PM

Title: Random block and phpbb2
Post by: Hirokai on February 14, 2005, 04:48:56 PM
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 ?
Title: Re: Random block and phpbb2
Post by: casNuy on February 15, 2005, 11:26:07 PM
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