close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error when editing HTML Editor Settings

Thread began 2/22/2010 11:43 am by Mikel Jones | Last modified 2/25/2010 5:09 pm by Jason Byrnes | 1374 views | 3 replies |

Mikel Jones

Error when editing HTML Editor Settings

I get the following error when I attempt to edit the HTML Editor on the contents_update.php page.

"It apears that one of your server-side values is improperly coded.
Please check this interface for inconsistencies."

It seems to be related to the following line of code ...

<?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("ContentValue", "../../HTMLEditor/", "713px", "400px", "Default", "../custom/contents_update_ContentValue1.js", "".($totalRows_HistoryUpdate > 0)?$row_HistoryUpdate['HistoryValue']:$row_WADAContents['ContentValue'] ."");
?>

... and the value being passed into the CreateRichTextEditor function ...

"".($totalRows_HistoryUpdate > 0)?$row_HistoryUpdate['HistoryValue']:$row_WADAContents['ContentValue'] .""

The wizard does not seem to be able to handle the logic and kicks an error every time I go to edit this specific HTML Editor.

Note: The HTML Editor on the insert page works fine with the wizard. It does not have a value passed in as initial content though. Only the editor on the update page has this issue.

When ever I edit the HTML Editor settings for the update page this line of code looses this value and I have to go back and reset this line of code in the file by hand to get it back.

Is this error caused by the PhP decision being passed in?

Is there any fix for this?

I would like to be able to edit the HTML Editor without first saving this line and then restoring it after I edit the settings.

Sign in to reply to this post

Jason ByrnesWebAssist

see the following thread for a fix:
showthread.php?t=8965&highlight=htmleditor

Sign in to reply to this post

Mikel Jones

Originally Said By: Jason Byrnes
  see the following thread for a fix:
showthread.php?t=8965&highlight=htmleditor  



OK, This fixed the error when loading the wizard but the function "CreateRichTextEditor" still looses the "initialValue" (pre loaded content) once I hit the OK button.

BEFORE...

  <?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("ContentValue", "../../HTMLEditor/", "713px", "400px", "Default", "../custom/contents_update_ContentValue1.js", "".(($totalRows_HistoryUpdate > 0)?$row_HistoryUpdate['HistoryValue']:$row_WADAContents['ContentValue']) ."");
?>  




AFTER...

  <?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("ContentValue", "../../HTMLEditor/", "713px", "400px", "Default", "../custom/contents_update_ContentValue1.js", "");
?>  
Sign in to reply to this post

Jason ByrnesWebAssist

OK, thank you for bringing this to our attention, you can change the line back to what it was before, I'll log a bug for this to have it looked into.

Sign in to reply to this post

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...