views:

82

answers:

1

Hello all

i have this config file http://pastebin.org/85981

the problem is before i have change

$mcImageManagerConfig['filesystem.rootpath']

from simplecms.info to cms.schemecloud.com its have no problems, but after i have change the domain its giving problem when i select the URL its only comming whit .com and not cms.schemecloud.com, i can't find out of why this problem happen.

i use TinyMCE ( http://tinymce.moxiecode.com/ ) and images managere plugin ( http://tinymce.moxiecode.com/plugins_imagemanager.php )

A: 

I am unable to comment, so I will put my questions here in an Answer..

The path you have provided looks pretty nasty with the ../../../../../ in there. Maybe try providing the absolute path?

Also, even though thats a sub domain, I'm assuming that the cms.schemecloud.com is a folder, which means that it should have no problem with that as its not attempting to do some server forward or something.

You should also verify the value of $_SESSION['USER']['DOMAIN'] to make sure its valid. I would try to print out $mcImageManagerConfig['filesystem.rootpath'] just to make sure its producing the path you are expecting.

So I would try to use an absolute path, that way you know for sure that the path is correct, and that you just aren't missing an ../ somewhere, or have one too many.

Good luck!

Rabbott