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: PNphpBB2 (Zafenio) causing MySQL connection error when entering forum  (Read 18703 times)

0 Members and 1 Guest are viewing this topic.

BlackChart

  • Coppermine newbie
  • Offline Offline
  • Posts: 16

When I have an image block in my Zikula site and entering PNphpBB2 forum I only get this output:

Query0 failed : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I know this isn't related directly to pnCPG only, but do any of you have an idea on where to find the error??
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: PNphpBB2 (Zafenio) causing MySQL connection error when entering forum
« Reply #1 on: February 19, 2009, 06:41:05 pm »

Check the definitions of the block (which block are you using?)
Logged

BlackChart

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: PNphpBB2 (Zafenio) causing MySQL connection error when entering forum
« Reply #2 on: February 19, 2009, 06:58:25 pm »

I use the one called block...

I've solved the problem by inserting the DBConnectionStack::init() call into the block.php script, just belov the pnSecAuthAction section...

Haven't tried any of the other blocks yet, but this fixed it for the one I use...
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.