ajaxfilemanager drives me nuts (Tiny MCE)
Posted: Tue Apr 07, 2009 9:15 pm
Hallo respected experts!
I am new to CMSimple, and I find that here are very nice people helping each other!
I have already made several CMSimple installations and have written a plugin which you can find in the wiki (Quoteoftheday) .
Tiny MCE with Ajaxfilemanager (put together by Klaus Treichler) is my preferred editor.
Now, on a new website the Ajax filemanager doesn't work as expected. On the same server I have another CMSimple implemantation were it works. I had quite some email exchanges with the provider. He says, server implementation is identical. Php-info also gives same results for both websites (exept for session cookies).
Now, to check, I uploaded exactly the same CMSimple installation on both websites. One works, the other doesn't.
The problem is as follows:
If you use TinyMCE, to insert an image you click the image icon and the "image window" opens. In that window you can click the ajax filemanager which will show the images. You select an image, the ajax filemanager closes, and in the "image window" shows the address of the image.
And here is the problem. In one installation the image address is correct:
http://test.closertoyourself.de/images/indus.jpg
but in the problematic installation the image address given is not correct:
http://www.integralvoice.de/home/www/web58/html/test/images/indus.jpg
This address of course doesn't work. No image will show on the Page. home/www/web58/html/test/ should not be there. This is the address from the root server.
What to do now? May be a line of code has to be changed in the ajaxfilemanager.php?
Is there somewhere in the CMSimple family a knowledgable soul, who can help? That would be fantastic.
frank z
I am new to CMSimple, and I find that here are very nice people helping each other!
I have already made several CMSimple installations and have written a plugin which you can find in the wiki (Quoteoftheday) .
Tiny MCE with Ajaxfilemanager (put together by Klaus Treichler) is my preferred editor.
Now, on a new website the Ajax filemanager doesn't work as expected. On the same server I have another CMSimple implemantation were it works. I had quite some email exchanges with the provider. He says, server implementation is identical. Php-info also gives same results for both websites (exept for session cookies).
Now, to check, I uploaded exactly the same CMSimple installation on both websites. One works, the other doesn't.
The problem is as follows:
If you use TinyMCE, to insert an image you click the image icon and the "image window" opens. In that window you can click the ajax filemanager which will show the images. You select an image, the ajax filemanager closes, and in the "image window" shows the address of the image.
And here is the problem. In one installation the image address is correct:
http://test.closertoyourself.de/images/indus.jpg
but in the problematic installation the image address given is not correct:
http://www.integralvoice.de/home/www/web58/html/test/images/indus.jpg
This address of course doesn't work. No image will show on the Page. home/www/web58/html/test/ should not be there. This is the address from the root server.
What to do now? May be a line of code has to be changed in the ajaxfilemanager.php?
Is there somewhere in the CMSimple family a knowledgable soul, who can help? That would be fantastic.
frank z