[wp-trac] Re: [WordPress Trac] #3882: An error commented in forums:
tinyMCE not defined
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 4 20:47:39 GMT 2007
#3882: An error commented in forums: tinyMCE not defined
--------------------------+-------------------------------------------------
Reporter: josegonzalez | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.2
Component: TinyMCE | Version: 2.1.1
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment (by alexrabe):
Replying to [comment:1 foolswisdom]:
> Is there links you can provide for background information about the
problem?
>
I had a similar problem with some users of my plugins, the reason is based
also on the realpath problem and a TinyMCE failure :
a.) If you add a external plugin to TinyMCE the {{{($_GET['plugins'])}}}
contains a empty field at the end : (inlinepopups, autosave, spellchecker,
paste, wordpress,). Note the "''','''" at the end.
FYI : A external plugin is added with a hyphen
{{{
array_push($plugins, '-mypluginname');
}}}
b) The OpenBSD contain a bug as explained in http://php.net/realpath :
'''On BSD systems realpath doesn't fail if only the last path component
doesn't exist, while other systems will return FALSE.'''
So it happend that
{{{
TinyMCE_echo(file_get_contents($pluginFile));
}}}
is executed and look for a empty $pluginFile and return so a error, which
halted TinyMCE
--
Ticket URL: <http://trac.wordpress.org/ticket/3882#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list