[opencms-dev] a weird problem ...

ruben malchow r_malchow at web.de
Sun Nov 5 12:54:34 CET 2006


Dark Side schrieb:

uh ...well. maybe that's true, but so far i never actually had a problem 
with it - only with the trailing slashes etc. however, in this case, 
after modifying the CmsVfsDriver to print the actual SQL used in query, 
it turned out that i somehow switched to the Online project ...

d'uh ...

.rm

> Hi,
>
> regardless of the problem you have,
>
> this:
>
> co.getRequestContext().setSiteRoot("/sites"); // no trailing slash ?!
>
> makes definitely no sense!!!!!
>
> A site root is either "/", the Root site or
> "/sites/default/", "/sites/mysite/" etc.
>
> A site is always a subfolder in the "/sites/" folder of your VFS 
> (looking at it form the Root-Site "/").
> Which - of course - must have its corresponding definition in the 
> opencms.system.xml config file. This is also described in the Alkacon 
> documentation modules.
>
> If you use something else as your "site", you might encounter 
> unexpected effects, so maybe you problem is related to that.
>
> Dark




More information about the opencms-dev mailing list