![]() |
LetoDMS does not work on Sub-Domain - Printable Version +- LetoDMS Community Forum (https://community.letodms.com) +-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4) +--- Forum: Technical Support (https://community.letodms.com/forumdisplay.php?fid=10) +--- Thread: LetoDMS does not work on Sub-Domain (/showthread.php?tid=106) |
LetoDMS does not work on Sub-Domain - mauzi - 07-19-2010 Hi! Thx to Matteo :-))) I have installed LetoDMS 1.8 successfully on my domain and the DMS is running fine and stable! But if I try to call the DMS from a Sub-Domain the following error appears when adding a document (other functions are working properly ... which I wonder about; except adding a document). Then I get this message: Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 1245 is not allowed to access /var owned by uid 0 in /var/httpdoc/domaintype/html/letodms/inc/inc.FileUtils.php on line 61 Don't get it wrong - SAFE MODE is activated on all my Domains and Subdomains - so this can't be the problem but I just can't figure it out what it is.... Any help would be appreciated ;-) Mauzi RE: LetoDMS does not work on Sub-Domain - administrator - 07-19-2010 try to turn off safe mode. lol letodms RE: LetoDMS does not work on Sub-Domain - mauzi - 07-19-2010 (07-19-2010, 11:03 PM)administrator Wrote: try to turn off safe mode. ![]() 50:50 Chance I guess .... ok I give it a try. Thx 4 your reply! RE: LetoDMS does not work on Sub-Domain - alekseyn - 08-02-2010 (07-19-2010, 10:28 PM)mauzi Wrote: Hi! Mauzi, had a similar problem... in my case the browser was reporting that the 500 error. After much testing and playing, the solution that worked was simple: edit the line in index.php in the root of your installation: Code: header("Location: ". (isset($settings->_siteDefaultPage) && strlen($settings->_siteDefaultPage)>0 ? $settings->_siteDefaultPage : "out/out.ViewFolder.php")); to be Code: header("Location: ". (isset($settings->_siteDefaultPage) && strlen($settings->_siteDefaultPage)>0 ? $settings->_siteDefaultPage : "../out/out.ViewFolder.php")); found that adding the "../" before the path resulted in absolute path... more info here RE: LetoDMS does not work on Sub-Domain - mauzi - 08-02-2010 Hey Alekseyn! it was that exactly that problem - now it works :-))) yeah!!! Thank you for your kind help Aleksey thx! :-))))) Mauzi RE: LetoDMS does not work on Sub-Domain - alekseyn - 08-02-2010 glad I could help! |