Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LetoDMS does not work on Sub-Domain
#4
(07-19-2010, 10:28 PM)mauzi Wrote: 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

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
Reply


Messages In This Thread
LetoDMS does not work on Sub-Domain - by mauzi - 07-19-2010, 10:28 PM

Forum Jump:


Users browsing this thread: