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

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

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