Page 1 of 1

Parse error in TinyMCE

Posted: Wed Jan 05, 2005 10:52 am
by ct'
Hi,

since i use version 8.1 there is always an errormessage when i try to
edit my site with TinyMCE shown as follow:

Parse error: parse error, unexpected T_STRING in /home/www/xxx/html/cms/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm on line 1

regardless of an upgrade, new installation or clean database.

any ideas??

Thx

ct'

Parse error in TinyMCE

Posted: Wed Jan 05, 2005 11:12 am
by Ted
You don't have your webserver setup to parse .htm files as PHP, do you? There is no reason a .htm should be parsed by php, which is what it sounds like it's doing.

What OS/php/apache/etc?

Parse error in TinyMCE

Posted: Wed Jan 05, 2005 11:40 am
by Anonymous
Wow, very fast. Thank U.

It's the server of my provider
phpinfo() provides following infos:

Linux 2.4.26
Apache 1.3.26
mySQL API 3.23.49
PHP 4.3.9

i'am not able to configure this server myself.
i will try version 8.1 on my own server.

Parse error in TinyMCE

Posted: Wed Jan 05, 2005 1:18 pm
by Ted
Well, a real quick experiment would be to make a test.htm file.

Put

Code: Select all

<?php

php_info();

?>
in it and then go to test.htm. If you get a big list of php info, then they have a BAD server configuration...

Parse error in TinyMCE

Posted: Thu Jan 06, 2005 9:54 am
by Anonymous
Well,

i tried it (test.htm). And what shoud i say: VERY BAD.

Thank you for your help.