Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LetoDMS does not work on Sub-Domain
#1
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
Reply
#2
try to turn off safe mode.

lol

letodms
Reply
#3
(07-19-2010, 11:03 PM)administrator Wrote: try to turn off safe mode.

lol

letodms

Sad well, I had it deactivated on one domain and it didn't work - so you tell me to deactivate it again ;-)

50:50 Chance I guess .... ok I give it a try.

Thx 4 your reply!
Reply
#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
#5
Hey Alekseyn!

it was that exactly that problem - now it works :-))) yeah!!!

Thank you for your kind help Aleksey thx! :-)))))

Mauzi
Reply
#6
glad I could help!
Reply


Forum Jump:


Users browsing this thread: