Hi,
I’m having problem with base_url of my site.
I installed it in a subdomain to test the features, but something goes wrong at the very beginning.
MODx engine pretends everything is installed in my root folder, althought it’s not. It doesn’t refer to folder, where the files really are.
I tried to hardcode the patch myself in config file, then looked for solution in the forums. None of them worked. The code below seems to be a simple trick, but it doesn’t work too...
$site_url ="http://site.com/cms/";
$base_url ="/cms/";
My phpinfo:
PHP Version 5.2.6
System FreeBSD (hostname) 6.2-STABLE i386
Build Date Nov 20 2009 15:57:29
Configure Command no value
Server API UltraCGI/1.0 for IdeaWebServer
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/php
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Any ideas how to fix it? The easiest way would be to move cms files to the root folder, but no way - I have my current site there