R
rperea
Guest
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.
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:
Any help on this would be appreciated.
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:
ERROR: PleskFatalException
Domain ID is undefined.
Additionally, an exception has occurred while trying to report this error: PleskFatalException
Domain ID is undefined.
0: /usr/local/psa/admin/plib/common_func.php3:108
psaerror(string 'Domain ID is undefined.')
1: /usr/local/psa/admin/htdocs/spaw/spaw_save.php:6
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.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled</title>
</head>
<body>
<img src="nonexistent.gif" alt="This image doesnt exist" />
</body>
</html>
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.<img src="/images/getimage.gif?name1=value1" />
Any help on this would be appreciated.