close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

$CKEditor_initialValue = ""; how to make this the value that was previously entered by the user?

Thread began 4/23/2015 11:41 am by Nathon Jones Web Design | Last modified 4/29/2015 11:53 am by Nathon Jones Web Design | 1144 views | 11 replies

Nathon Jones Web Design

The improperly encoded message has resolved itself following a switch off and switch back on over the weekend, however the server configuration errors remain although I think I have spotted a pattern.

If you go here and click the Add News button:
http://www.nathonjones.com/templates/addnewsPHP/admin/admin.php

You'll get a page with no error message at the foot and you can add a news item (which takes you through to the newspreview.php page).

When you get to newspreview.php it queries our database using the Session ID created by the "Save id in session as:" in the Insert Record behaviour on the previous page and it displays the correct record from the database so that part of it is working.

I have a confirm button on newspreview.php which is a WebAssist MySQLi Update Record behaviour that turns a tinyint field from 1 (True) to 2 (False) on submit. It is when you click this button that the server errors appear and it doesn't write to database.

Questions

1) What should the "Lookup value" be in the General tab of the WebAssist MySQLi Update Record behaviour dialog? I have tried setting it to both the ID field from the recordset on the page and also a hidden form field which is populated by the ID field from the recordset. Neither work

2) In the Update Record behaviour I am only updating the True/False field - should I, even though it's the primary key field, be updating the primary fey field in the database?

I think this error is related to the "Save id in session as:" feature or the WebAssist MySQLi Update Record behaviour. I'm not using any folder with a dollar sign in it as the session save path, as you describe, I am simply using the WebAssist MySQLi Update Record behaviour.

If it is choosing to use a dollar sign somewhere then my host isn't going to be able to help and, indeed, they have already responded with "this is a scripting issue".

Hoping you can help. Thank you.
NJ

EDIT: Sometimes I get this error depending on if I choose the hidden form field or the recordset ID field as the Lookup value for the Update record behaviours;

Notice: Undefined variable: rsNEWNEWS in \\nas44ent\domains\n\nathonjones.com\user\htdocs\templates\addnewsPHP\admin\newspreview.php on line 10

Fatal error: Call to a member function getColumnVal() on a non-object in \\nas44ent\domains\n\nathonjones.com\user\htdocs\templates\addnewsPHP\admin\newspreview.php on line 10

Line 10 is...
$UpdateQuery->addFilter("njnewsID", "=", "i", "".($rsNEWNEWS->getColumnVal("njnewsID")) ."");

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