PDA

View Full Version : Problem on auto detect base url


criscarneirocwb
08-06-05, 12:57 AM
Hi

I am using DotProject with Apache 2.0.39 and PHP 4.2.2 on a Windows 2003 Server, my Browser is Firefox 1.0.4.
The base url of my DotProject site is like http://projects.mydomain.com
It seemed to be functioning correctly, but when it went to create a new task I find error messagem on JavaScript console. Looking in the forum history I find a Thread posted by zhangjin
http://www.dotproject.net/vbulletin/archive/index.php/t-2166.html
I look in my index.php and see that just was in fixed form. Them I comment lines of "automatically define the base url" an change to

$baseUrl = 'http://projects.mydomain.com';

And all works fine. It seems that the code dont work fine when the base url dont have a subdir like "/dotproject".

Thank´s

Cristiano Carneiro
CWB - Brazil

Ps: Sorry by my bad english.