Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Random block and phpbb2  (Read 4607 times)

0 Members and 1 Guest are viewing this topic.

Hirokai

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Random block and phpbb2
« 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 ?
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Random block and phpbb2
« Reply #1 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
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.