Advanced search  

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

Pages: [1]   Go Down

Author Topic: PNphpBB2 (Zafenio) causing MySQL connection error when entering forum  (Read 18563 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.027 seconds with 19 queries.