bug found bug found
 

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

bug found

Started by wareagle, November 18, 2003, 04:41:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wareagle

I found a bug in the register module.


it seems the program does not like subdomains.

if I access potmphoto.tsfowler.com

and try to register. it gives me the accept screen and I click I agree I then get a page not found error.

it trys to go to potm.tsfowler.com/potmphoto/register.php

but if I access tsfowler.com/potmphoto/index

it works fine.

Tarique Sani

Not a bug with CPG but problem with your subdomain setup

The form action is set to $PHP_SELF and in your case it is potm.tsfowler.com/potmphoto/register.php

hth
SANIsoft PHP applications for E Biz

wareagle

ok where do I set up the subdomain in cpg?

all other functions work from

http://potmphoto.tsfowler.com

except register

it is the only one that changes the path to

http://potmphoto.tsfowler.com/potmphoto/register.php

the correct path is

http://tsfowler.com/potmphoto/register.php

it is only after the you click on the I agree button that it fails if using a subdomain to register a new user

hyperion

As a work around, you can hard code the correct location into the form action spot in register.php.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)