Not sure if this is a bug or not but earlier today I registered a new user and noticed that the URL sent to the user was not correct. It was sent to the contents of $phpwcms["site"] in conf.inc.php which is:
$phpwcms["site"] = "http://cgi.xxxx.yyyy.com/";
Now my installation is in a subdirectory of my site and the name of the sub directory is recorded thus:
$phpwcms["root"] = "phpwcms";
for completeness I also have the following defined:
$_SERVER["DOCUMENT_ROOT"] = '/files/home2/xxxx';
Thinking that this was my error in conf file, I changed the site to include phpwcms and removed phpwcms from root. Although this fixed the Email URL it broke other areas of the site with lots of errors being displayed when rendering pages so I have now backed out this change.
I am not sure where or how the URL is created in the user manager but now suspect that is where the problem lies.
James
URL sent to users by User Manager v Site in conf.inc.php
- Oliver Georgi
- Site Admin
- Posts: 9919
- Joined: Fri 3. Oct 2003, 22:22
- Contact: