Parse error in TinyMCE

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
ct'

Parse error in TinyMCE

Post 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'
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Parse error in TinyMCE

Post 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?
Anonymous

Parse error in TinyMCE

Post 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.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Parse error in TinyMCE

Post 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...
Anonymous

Parse error in TinyMCE

Post by Anonymous »

Well,

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

Thank you for your help.
Locked

Return to “[locked] Installation, Setup and Upgrade”