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: pnCPG Block Errors (table does not exist)  (Read 9622 times)

0 Members and 1 Guest are viewing this topic.

msbr

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
pnCPG Block Errors (table does not exist)
« on: April 16, 2007, 12:57:28 am »

Hi,

We have the Coppermine start page set to 'pnCPG'.  This has always worked great for our homepage…

When I try to add a pnCPG block (such as 'pnCPG/Show last added Albums') it crashes the whole site and displays this error: Query1 failed : Table 'my_postnukedb.cpg__albums' doesn't exist

It also does that for all other pnCPG block types.  It seems that it is adding an extra underscore to the table name.  I have the pnCPG configuration set to use the prefix 'cpg_' which should be correct because the homepage works.

To get the site back up, I have to rename the pnCPG directory (to re-enable access to Coppermine), then deactivate the new pnCPG block, then rename the pnCPG directory back to the original name (to re-enable pnCPG/Coppermine).

We are using pnCPG 3.5 and Coppermine 0.7.6.2.

Does anybody know what we may be doing wrong?  Thank you for the help.
« Last Edit: April 20, 2007, 08:42:43 am by GauGau »
Logged

Kenshino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: pnCPG Block Errors (table does not exist)
« Reply #1 on: April 19, 2007, 07:38:10 pm »

The prefix should not have an underscore. So set it at cpg if it is cpg only.

As for why your page works correct, the reason is because pnCPG doesn't use the table information till you use the blocks.
Logged

msbr

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: pnCPG Block Errors (table does not exist) SOLVED
« Reply #2 on: April 19, 2007, 09:06:41 pm »

That fixed it... Thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.