Please
set the file permissions of define_mainpage.php to CHMOD '777'
found in catalog/includes/languages/(your-language)/define_mainpage.php This
will allow the HTML WYSIWYG script to have Read and Write
Access.
Note. When the HTML WYSIWYG Area is Enabled for
Define MainPage you can only use HTML content on the page, using other code such
as Java or PHP will cause errors. If you wish to use Java or PHP, its
suggested to disable HTML WYSIWYG Area is Enabled for Define MainPage, and
use HTML/PHP code.