required URLto the CKeditor installation directory

Bug #1410503 reported by Alex
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
queXS
Fix Released
Medium
Adam Zammit

Bug Description

if queXS application web server folder name differs from "quexs", CKEditor requires URL to the CKeditor installation directory

Solution - edit file ../include/ckeditor/ckeditor_php5.php (or ckeditor_php4.php if applicable )

row 38 - change public $basePath; to public $basePath = '../include/ckeditor/';

Related branches

Revision history for this message
Adam Zammit (adamzammit) wrote :

Hi Alex,

Thank you for this bug report. What happens if the server folder name differs from "quexs"?

On my installation I use different path names to "quexs" and do not have an issue with CKeditor.

Regards,
Adam Zammit

Revision history for this message
Alex (ddrmoscow) wrote : Re: [Bug 1410503] Re: required URLto the CKeditor installation directory

Hi Adam,

Thank you for your previous reply and comments ,

Regarding this bug subject: sorry for too short bug description.

Actually I faced, fixed and forgot about that issue some 5-6 months ago,
but faced and reminded it once again when started new instance for updates
and new templates,

It's pretty simple: without this fix, if the server folder name differs
from "quexs", CKeditor is not displayed, just shows large input without
CKeditor (firebug shows that system tries to open CKeditor from other
directory )
 I re-created the bug (left ckeditor_php5.php unchanged) and Here're 2
screenshots for the issue. (doesn't matter if it's an old or new admin
template). One is for "create new questionnaire" page display, other for
the same page, but with firebug window and wrong filepath shown in blue for
CKEditor .js file.

Actually, in this ckeditor_php5.php file few rows above row 38 is written
that "If URL to the %CKEditor installation directory is not set, CKEditor
will try to guess it's path" .
In my case this guess is wrong lol...
But we try to make the application universal, right?

My server configuration is the same as I send in one of the previous
letters.

I suppose the problem might come from some php libraries or configuration
settings that are not listed or documented here . (like "magic quotes" php.
ini setting )

As I mentioned few letters before, would be great to have your additional
php libraries and server configuration lists , freePBX/Asterisk version
where everything works fine and some general server settings (for php,
mysql, apache).

Got some new bugs, will put them to launchpad (with better description... [?])
and questions for next e-mail .

Regards,
Alex

2015-01-16 6:45 GMT+03:00 Adam Zammit <email address hidden>:

> Hi Alex,
>
> Thank you for this bug report. What happens if the server folder name
> differs from "quexs"?
>
> On my installation I use different path names to "quexs" and do not have
> an issue with CKeditor.
>
> Regards,
> Adam Zammit
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1410503
>
> Title:
> required URLto the CKeditor installation directory
>
> Status in An Open Source, web based, CATI system:
> New
>
> Bug description:
> if queXS application web server folder name differs from "quexs",
> CKEditor requires URL to the CKeditor installation directory
>
> Solution - edit file ../include/ckeditor/ckeditor_php5.php (or
> ckeditor_php4.php if applicable )
>
> row 38 - change public $basePath; to public
> $basePath = '../include/ckeditor/';
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/quexs/+bug/1410503/+subscriptions
>

Adam Zammit (adamzammit)
Changed in quexs:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Adam Zammit (adamzammit)
milestone: none → 1.11.1
Adam Zammit (adamzammit)
Changed in quexs:
status: Triaged → Fix Committed
Adam Zammit (adamzammit)
Changed in quexs:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.