hum a lot of errors .. help plizz hum a lot of errors .. help plizz
 

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

hum a lot of errors .. help plizz

Started by selor, January 02, 2004, 10:49:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

selor

hi all

i have some problems ...

first : this is my config :
paths :

mydomain/modules/copermine    ( where is the gallery )
mydomain/pnCPG/ for the cpg hack

i have configured in the admin of cpg all the options
and i have read the read me and make this modif as explain :

In addition one needs to change a few files in Coppermine to have people always routed through pnCPG.
Insert the following code :
if (!USER_ID) cpg_die(ERROR, '<a href=../index.php?module=pnCPG&func=main target=_top>Click here to access the Gallery</a>', __FILE__, __LINE__);
into the following files :
index.php, thumbnails.php, search.php, dispaly(image/card).php and showthumb.php
Insert this code just after :
require('include/init.inc.php');


this is my problems :

1- when youre an anonymous user .. the link add in these files (Click here to access the Gallery) is wrong

2 - when youre a registred user .. you can log to the site postnuke but when you go to the gallery link you have the error message click here to see the gallery and it dont work ...

2- And i have put my gallery link in a core/html block as explain in the readme :
<a href="index.php?module=pnCPG&func=main" target=_blank">Coppermine</a> but if youre not logged you have a link to a blank page and the link is :

http://www.zazous.net/modules/copermine/index_pn.php?parm=||0|0|0||http://www.zazous.net/&check=ccfbc8d741288034a71e557d0355c9bd


3- impossible to run the random block corectly .. i have a message like " table mydbname.cpg91_pictures doesnt not exist
( i have pnblocks in the directory copermine/pnblock is it the error ?

this is my site :
http://www.zazous.net/

thx for your help !!

casNuy

Selor,
first of all, pnCPG should be installed within the modules directory of Postnuke.
Secondly, pnCPG needs to be initialised and activated, not Coppermine.

Within the settings of pnCPG, you can activate Guest acess.

As for the Random block, it expects that the tables from Coppermine are located in the same database as Postnuke.

Finally, you can send me an account with enough rights to check your settings directly (you can leave another PM on  my site).

Cas