close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Upgrading form from KFM to ckeditor

Thread began 9/11/2015 8:58 am by John Langer | Last modified 9/15/2015 11:18 am by Ray Borduin | 6320 views | 11 replies |

John LangerBeta Tester

Upgrading form from KFM to ckeditor

My client reported getting errors when he clicked on "browse Server" in the images properties dialog box of HTML Editor (he was trying to browse for an uploaded image). This client hadn't been in touch for some time so I had a look and realised that my copy of databridge was about two versions behind. So I updated all of my webassist suite,

I opened the file in dreamweaver and clicked on the text area that has HTML editor in place. Clicked OK and saved the file. I got some warnings about code being outside of template areas but I ignored that. I uplaoded the file and get this error

Fatal error: Class 'CKEditor' not found in /home/cvmorguk/public_html/admin/news/news_items/news_Insert.php on line 229

I did upload the ckeditor folder by the way.

Any ideas? I've attached the file in question.

Many thanks,

John

EDIT: This was the original error messages

Strict Standards: Redefining already defined constructor for class DB in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/db.php on line 18

Strict Standards: Redefining already defined constructor for class kfmSession in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/session.class.php on line 33

Strict Standards: Redefining already defined constructor for class kfmDirectory in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/directory.class.php on line 15

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/db.php:18) in /home/cvmorguk/public_html/WA_SecurityAssist/Helper_PHP.php on line 5

Strict Standards: Declaration of MDB2_Driver_Common::raiseError() should be compatible with & PEAR::raiseError($message = NULL, $code = NULL, $mode = NULL, $options = NULL, $userinfo = NULL, $error_class = NULL, $skipmsg = false) in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 990

Strict Standards: Non-static method MDB2::connect() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/initialise.php on line 176

Strict Standards: Non-static method MDB2::factory() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 433

Strict Standards: Non-static method MDB2::parseDSN() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 376

Strict Standards: Non-static method MDB2::loadClass() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 385

Strict Standards: Non-static method MDB2::classExists() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 327

Strict Standards: Non-static method PEAR::isError() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 386

Strict Standards: Non-static method MDB2::parseDSN() should not be called statically, assuming $this from incompatible context in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 2298

Strict Standards: Non-static method MDB2::setOptions() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 392

Strict Standards: Non-static method PEAR::isError() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 393

Strict Standards: Non-static method PEAR::isError() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 434

Strict Standards: Non-static method PEAR::isError() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 439

Strict Standards: Non-static method PEAR::isError() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/initialise.php on line 177

Strict Standards: Non-static method MDB2::classExists() should not be called statically, assuming $this from incompatible context in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 2567

Strict Standards: Non-static method MDB2::isResultCommon() should not be called statically, assuming $this from incompatible context in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 2573

Strict Standards: Non-static method PEAR::isError() should not be called statically in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/initialise.php on line 33

Strict Standards: Non-static method MDB2::classExists() should not be called statically, assuming $this from incompatible context in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 2567

Strict Standards: Non-static method MDB2::isResultCommon() should not be called statically, assuming $this from incompatible context in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 2573

Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 3555

Strict Standards: Non-static method MDB2::classExists() should not be called statically, assuming $this from incompatible context in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 2567

Strict Standards: Non-static method MDB2::isResultCommon() should not be called statically, assuming $this from incompatible context in /home/cvmorguk/public_html/HTMLEditor/editor/plugins/kfm/includes/pear/MDB2.php on line 2573

Sign in to reply to this post

Ray BorduinWebAssist

Add this to the top of the page:

<?php require_once("webassist/ckeditor/ckeditor.php"); ?>

it looks like the new include wasn't added when you updated versions. You can also delete the old include on line 3

Sign in to reply to this post
Did this help? Tips are appreciated...

John LangerBeta Tester

Hi Ray, many thanks for your help.

I did that and now get an error after I click on "Browse server" of:

< Error
MDB2 Error: connect failed
connect: [Error message: unable to establish a connection] [Native code: 0] ** mysql(mysql)://username:xxx@localhost/

The path at the top of this error message is: http://cvm.org.uk/webassist/kfm/index.php?uicolor=%23eee&theme=webassist_v2&showsidebar=false&CKEditor=newsItem&CKEditorFuncNum=1&langCode=en

I'm a bit confused as it's pointing to the webassist/kfm/index.php file. KFM?

I've also re-attached the revised news_insert file

John

Attached Files
news_Insert (2).zip
Sign in to reply to this post

Ray BorduinWebAssist

Go to WebAssist->Forms->HTML Editor->Site Settings and make sure the connection information is correct.

Sign in to reply to this post
Did this help? Tips are appreciated...

John LangerBeta Tester

Thanks Ray, that info was blank so I fixed that.

I now get

<
Warning: Cannot modify header information - headers already sent by (output started at /home/cvmorguk/public_html/webassist/kfm/configuration.php:8) in /home/cvmorguk/public_html/webassist/kfm/classes/kfmSession.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /home/cvmorguk/public_html/webassist/kfm/configuration.php:8) in /home/cvmorguk/public_html/webassist/kfm/index.php on line 144

Please Wait - loading...

John

Sign in to reply to this post

Ray BorduinWebAssist

Please attach a copy of the two pages mentioned in the errors.

Sign in to reply to this post
Did this help? Tips are appreciated...

John LangerBeta Tester

Sorry Ray I should have thought. And sorry for delay in replying, I blame the time difference (I'm in the UK)

Here are the files you asked for.

John

Attached Files
kfmSession.zip
Sign in to reply to this post

Ray BorduinWebAssist

Can I also see the other file in the error: /home/cvmorguk/public_html/webassist/kfm/configuration.php

Sign in to reply to this post
Did this help? Tips are appreciated...

John LangerBeta Tester

Sorry Ray, I thought I'd zipped them up together. Obviously not. Now attached.

John

Attached Files
configuration.zip
Sign in to reply to this post

Ray BorduinWebAssist

On line 7 of this file you have an extra "<" at the end of the line... try deleting that and see if it fixes the problem.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...