close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

HTML editor server-sde value improperly coded

Thread began 4/22/2019 3:23 pm by eric284736 | Last modified 8/13/2019 10:47 am by Ray Borduin | 968 views | 16 replies |

eric284736

HTML editor server-sde value improperly coded

Hi Ray,

I am getting an error after running the DataAssist wizard for the update page.
It states that the server-side code is improperly coded and references this:

$CKEditor_initialValue = "".((isset($_GET["invalid"])?ValidatedField("SeaTripupdate","Description",false):"".$WADASeaTrip_update->getColumnVal("Description",false)."")) ."";

Know sure what the issue might b.

Thx
Eric

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

Ray BorduinWebAssist

It should be:

php:
$CKEditor_initialValue = "" .((isset($_GET["invalid"])?ValidatedField("SeaTripupdate","Description"):"".$WADASeaTrip_update->getColumnVal("Description",false).""))  ."";
Sign in to reply to this post
Did this help? Tips are appreciated...

eric284736

Ray,

I updated that line but I still get the error.

thx
Eric

Sign in to reply to this post

eric284736

attached

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

Ray BorduinWebAssist

Please attach a copy of the file and I'll take a look.

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

Ray BorduinWebAssist

The code is very particular about the syntax. I've updated the code above to the correct syntax to prevent the error.

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

eric284736

Thanks Ray. I updated the code but it will not display the HTML editor.
See the screenshot

Sign in to reply to this post

Ray BorduinWebAssist

It seems like it would work. If you view source does it show an error? Can I get a url and FTP access to debug? I'm sure I can figure it out, but I'm not spotting the issue.

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

eric284736

Sure thing.
Thanks Ray!

Sign in to reply to this post

Ray BorduinWebAssist

Your page was missing this line:

php:
<?php require_once('../webassist/ckeditor/ckeditor.php'); ?>
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...