bid - bug(?)

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
art777
Posts: 34
Joined: Wed 12. Nov 2003, 03:07

bid - bug(?)

Post by art777 »

When config is:

$phpwcms["site"] = "http://domain.com/";
$phpwcms["root"] = "cms";

in verification email is:

(...)you have send a new bid from our website:
http://domain.com/cms/cms/index.php

The amount of your bid is: 100,00 EUR

Your bid is taken only after you have verified by clicking
http://domain.com/cms/cms/index.php?id=6,12,0,0,1,0&hash=V9f4c62d0f611b47117284e348c08ff32

If you do not want to bid please do nothing or delete the bid
http://domain.com/cms/cms/index.php?id=6,12,0,0,1,0&hash=D9f4c62d0f611b47117284e348c08ff32
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Re: bid - bug(?)

Post by DeXXus »

art777 wrote:When config is:

$phpwcms["site"] = "http://domain.com/";
$phpwcms["root"] = "cms";
Since you are a longtime user I assume you just used shorthand form... in your post, but, just in case, i wanted to re-iterate to all that they make sure to use:
$phpwcms["site"] = "http://www.domain.com/";
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

yes - seems to be a bug

uncomment line 140 in cnt20.article.inc.php:

Code: Select all

//$bid['url'] .= ($phpwcms["root"]) ? "/".$phpwcms["root"] : '';
[UPDATE] I have not tested - but check please.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

It is working and fixing the problem ;-)
http://www.studmed.dk Portal for doctors and medical students in Denmark
Locked