Link at email notification Link at email notification
 

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

Link at email notification

Started by redlock, October 27, 2006, 10:57:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

redlock

in the email notification is following link to read at present the message:
http://www.s-bahn-berlin.de/erleben/foto-community/pms.php

user those announced do not get then however an error message

I find the following link better:
http://www.s-bahn-berlin.de/erleben/foto-community/login.php?referer=pms.php

how can I change that?

Stramm

easiest way would be to change thr error message... something like you need to login to use that feature or something similar.

What you want to do would lead to an error message if a user's already's logged in (Error. You are already logged in !)

Stramm

can I mark this as solved or do you need help changing the error message?

redlock


Stramm

find in pms.php

if (!USER_ID) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
and replace with
if (!USER_ID) cpg_die(ERROR, "Du musst Dich <a href='login.php?referer={$_SERVER['PHP_SELF']}'>einloggen</a>, um Deine PNs zu lesen ", __FILE__, __LINE__);

redlock

after the replace:

Parse error: parse error, unexpected ';' in /home/192839/html/erleben/foto-community/pms.php on line 13

any idea?

Stramm

try again, works as expected for me. The line you're supposed to replace is no. 9

redlock