PNphpBB2 (Zafenio) causing MySQL connection error when entering forum PNphpBB2 (Zafenio) causing MySQL connection error when entering forum
 

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

PNphpBB2 (Zafenio) causing MySQL connection error when entering forum

Started by BlackChart, February 19, 2009, 08:26:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BlackChart

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??

casNuy

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

BlackChart

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...