1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Filemanager WYSIWYG Error

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by rperea, Dec 19, 2008.

  1. rperea

    rperea Guest

    0
     
    After upgrading to Plesk 9, the file manger no longer works as it should. In particular, the WYSIWYG editor doesn't work correctly.

    It works fine for editing any html files in which all the images contained within the file exists, but whenever you try to edit a file in the WYSIWYG editor that contains img tags in which the src is not a file that exists, I get:
    I initially thought that this may just be a problem with the old domains, so I created a new domain and got the same results.

    I am using Plesk 9.0 on CentOS 5. I also have a lot of the newer OS packages installed like php5.2.6 and apache http-2.2.10 so I am not sure if that is breaking it (I don't think so since Plesk uses its own versions of apache and php, but you never know)

    Anyway, I want to see if anybody else is having this problem. So if anyone out there is kind enough to do a quick test.

    1. Login to Plesk 9.0.
    2. Go to the file manager for a domain.
    3. Click on httpdocs
    4. Create a new .html file
    5. Place the following HTML in the file.
    6. Save the file.
    7. Open up the new .html file using the WYSIWYG editor.
    8. Don't make any changes to the content and click on "OK" - See if you get the error.

    It took me a while to figure out why this was happening on some files and not others. The reason this is happening is that the file "nonexistent.gif" doesn't exist. Also, this happens even when the file does exist but you have put additional parameters after the image. So if the document contains:
    You still get the error even though /images/getimage.gif exists.

    Any help on this would be appreciated.
     
  2. rperea

    rperea Guest

    0
     
    WOW, nobody willing to do the quick test and simply post your results??
     
  3. Brujo

    Brujo Regular Pleskian

    28
    57%
    Joined:
    Mar 4, 2006
    Messages:
    278
    Likes Received:
    2
    Location:
    Germany
    maybe it is because there are a lot more issues around the Plesk 9 Version which hurts more as the wysiwig issue.

    However i cant reproduce your issue on my Box (Plesk 9.0.0.2 & Suse 10.2) no error

    Brujo
     
  4. rperea

    rperea Guest

    0
     
    Thank you for the reply.
    Your test results are greatly appreciated.
    I also agree with you that Plesk 9 needs some work.
    I will look deeper into the issue and post my results.
     
  5. Gandalf II

    Gandalf II Guest

    0
     
    relative image paths may be the problem

    I had the same problem with the WISIWYG editor. I had my pages in a directory at the same level as my images directory. I changed the image paths in my htm pages to absolute paths e.g. http://mydomain.co/images/anyimage.gif. This solved the problem. Alternately, put all your pages in the root and then use a relative path like this images/anyimage.gig.

    Hope this helps
     
  6. burnley

    burnley Regular Pleskian

    28
    57%
    Joined:
    Feb 6, 2008
    Messages:
    222
    Likes Received:
    2
    Location:
    Melbourne, Vic
    Can anyone tell me which (if any) version of plesk 9 this issues has been resolved. I can reproduce the error on Plesk 9.2 Centos 5
     
Loading...