As a follow up to my last post, I enabled the log file in Trac and found
the following entries:
2012-10-05 09:47:28,654 Trac[env] WARNING: base_url option not set in
configuration, generated links may be incorrect
2012-10-05 09:47:28,654 Trac[main] DEBUG: Dispatching <Request "GET
'/chrome/trac/js/ckeditor/ckeditor.js'">
2012-10-05 09:47:28,655 Trac[chrome] WARNING: File js/ckeditor/ckeditor.js
not found in any of []
2012-10-05 09:47:28,656 Trac[main] WARNING: HTTPNotFound: 404 Not Found
(File js/ckeditor/ckeditor.js not found)
2012-10-05 09:47:28,658 Trac[session] DEBUG: Retrieving session for ID
u'astembridge'
2012-10-05 09:47:28,659 Trac[main] DEBUG: Negotiated locale: ['en-us',
'en'] -> en_US
2012-10-05 09:47:28,692 Trac[chrome] DEBUG: Prepare chrome data for request
2012-10-05 09:47:28,694 Trac[api] DEBUG: action controllers for ticket
workflow: ['ConfigurableTicketWorkflow']
2012-10-05 09:47:28,760 Trac[__init__] DEBUG: ckintegration: template
error.html
The first line says that base_url is not set. Which base_url is it
complaining about? From trac.ini:
[timeline]
151 abbreviated_messages = True
152 base_url = https://my.domain/
Second, why is the module requesting '/chrome/trac/js/ckeditor/ckeditor.js'?
The text 'chrome' does not appear in trac.ini.
Look forward to hearing back from the group.
Thanks,
Adrya
On Friday, October 5, 2012 1:06:55 AM UTC-4, Franz wrote:
>
> Hello Adrya,
>
> thanks for showing interest in the CkEditorPlugin.
>
> As it is written in the Wiki-section Configuration (
> http://trac-hacks.org/wiki/CkEditorPlugin#Configuration):
>
> editor_source: Path to CKEditor 3.6.x javascript source.
>
> So in your case the editor_source path should be
> /www/virtualhosts/trac/htdocs/js/ckeditor/ckeditor.js
>
> Hope this helps,
> Franz
>
>
>
> Am 04.10.2012 22:07, schrieb Adrya Stembridge:> Hello,
> >
> > I am very excited to find that a CkEditor plugin exists for Trac.
> >
> > I followed instructions on your helpful wiki page (
> > http://trac-hacks.org/wiki/CkEditorPlugin ), however after enabling the
> > plugin in *trac.ini* and reloading the httpd server, I still see the old
> > textbox. I confirmed that the Ckeditor plugin shows enabled in the
> > Admin -> Plugins section.
> >
> > The full path to the checked-out copy of ckeditor is:
> >
> > /www/virtualhosts/trac/htdocs/js/ckeditor
> >
> >
> > The documentation includes a sample config:
> >
> > Sample configuration (default values shown):
> >
> > [ckeditor]
> >
> > code_styles= cpp, csharp, java, js, python, sql, default, xml
> >
> > editor_type= full_integration
> >
> > editor_source= sites/js/ckeditor/ckeditor.js
> >
> > I modified the code_styles slightly, but left the other two options the
> > same. Is the problem that the editor_source is not configured
> > correctly? The folder "sites" looks unfamilar, but I'm unsure if that's
> > the way it needs to be for my installation.
> >
> > Thanks for any assistance you can provide.
> >
> > -Adrya
> >
>
>
_______________________________________________
th-users mailing list
th-users@lists.trac-hacks.org
https://lists.trac-hacks.org/mailman/listinfo/th-users