Uncaught error with CKEditor

25 views
Skip to first unread message

Magnus Berg

unread,
May 12, 2021, 5:22:43 PM5/12/21
to SubjectsPlus

Hi all,

We just installed SP on our server and are getting a variation of the following error whenever we try to add an Editable Box, Link List, Image Card, or Subject Specialist to a guide. Does anyone know how to fix this?

Warning: include(/var/www/html/SubjectsPlus/ckeditor/ckeditor.php): failed to open stream: No such file or directory in /var/www/html/guides/lib/SubjectsPlus/Control/Pluslet/SubjectSpecialist.php on line 203

Warning: include(): Failed opening '/var/www/html/SubjectsPlus/ckeditor/ckeditor.php' for inclusion (include_path='/var/www/html/guides/lib/HTMLPurifier:.:/usr/share/pear:/usr/share/php') in /var/www/html/guides/lib/SubjectsPlus/Control/Pluslet/SubjectSpecialist.php on line 203

Fatal error: Uncaught Error: Class 'SubjectsPlus\Control\CKEditor' not found in /var/www/html/guides/lib/SubjectsPlus/Control/Pluslet/SubjectSpecialist.php:207 Stack trace: #0 /var/www/html/guides/lib/SubjectsPlus/Control/Pluslet/SubjectSpecialist.php(59): SubjectsPlus\Control\Pluslet_SubjectSpecialist->getCkEditor(NULL) #1 /var/www/html/guides/lib/SubjectsPlus/Control/Pluslet/Pluslet.php(727): SubjectsPlus\Control\Pluslet_SubjectSpecialist->onEditOutput() #2 /var/www/html/guides/control/guides/helpers/guide_data.php(77): SubjectsPlus\Control\Pluslet->output('edit', 'admin') #3 {main} thrown in /var/www/html/guides/lib/SubjectsPlus/Control/Pluslet/SubjectSpecialist.php on line 207

I have sudo privileges on the server and limited to no IT support, so I have to fix it myself somehow. We're running SP on a Centos 7 apache server, mysql version 15.1, php version 7.4.16. I know that php 7 isn't technically supported yet, but we have to use php 7 for the other applications we run on this server. If that is what's causing the issue, is there a workaround?

Thanks in advance!
Magnus Berg


Andrew Darby

unread,
May 14, 2021, 9:01:48 PM5/14/21
to subjec...@googlegroups.com
Hi Magnus,

It sounds like the path to CKEditor (/var/www/html/SubjectsPlus/ckeditor/ckeditor.php) isn't correct.  You might want to look for this in Admin > Config Site > Server

image.png

and fiddle with that path--it's greyed out because it usually works, but you can click the "Not right?" link below to make it editable because sometimes it doesn't...

Usually, if the base URL is okay, that is, too.

image.png
I hope this points you in the right direction.

Andrew



--
You received this message because you are subscribed to the Google Groups "SubjectsPlus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subjectsplus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subjectsplus/9460abc7-00b8-416f-b425-ed61dee09378n%40googlegroups.com.

Magnus Berg

unread,
May 18, 2021, 4:09:14 PM5/18/21
to SubjectsPlus
That was exactly the issue. Thanks so much Andrew!

-Magnus
Reply all
Reply to author
Forward
0 new messages