When i try to insert a Record I get the following error:
while executing onLoad in InsertRecord.htm, the following JavaScript error(s) occurred:
At line 665 of file "C:\Program Files (x86)\Adobe DreamweaverCS4\Configaration\ServerBehaviours\PHP_MySQL\InsertRecord. js":
name has no properties
Line 655
if (columnName.toUpperCase() == name.toUpperCase())
Im running Win 7 64bit
Well 2 weeks ands still no reply to this problem
When i try to insert a Record I get the following error:
while executing onLoad in InsertRecord.htm, the following JavaScript error(s) occurred:
At line 665 of file "C:\Program Files\Adobe DreamweaverCS4\Configaration\ServerBehaviours\PHP_MySQL\InsertRecord. js":
name has no properties
Line 655
if (columnName.toUpperCase() == name.toUpperCase())
Im running Win 7 64bit
I contacted Adobe support today and they said to get on these forums as they cant help with coding errors.
I have formatted my Pc and reinstalled and the same error comes up. If I try to edit and existing insert record it works fine, when I create a new page and then try to add a new insert recordset i get this erro again.
i have since reinstalled Windows & 32Bit to see if that helped, nope. I have installed no extensions its a clean install.
Any help after spending a small fortune on this software.
I have tried all the suggestions here.
http://kb2.adobe.com/cps/405/kb405604.html
Plus i spent 40 minutes on the phone with someone from Adobe still no Idea.
Alice Li wrote:
Did you manage to solve this issue? I'm have similar issue, but with updateRecord.js...
The answer is in the first section of the Dreamweaver FAQ. If Dreamweaver starts behaving erratically, it's usually caused by a corrupt cache file. If deleting the cache file doesn't work, the next step is to delete your Dreamweaver personal configuration file. Very occasionally, you need to reinstall Dreamweaver, but before doing so, you need to delete your configuration folder to ensure that everything is reset to the factory defaults. All the necessary steps are listed in the FAQ.
I know this is a bit old, but I had the same problem last night. After repeatedly deleting the user cache as recommended elsewhere, without any luck, I realised that the problem was being caused by something in my code.
The form that I was using to submit the data contained checkboxes which I was using to collect the response as an array. (Using php)
By that I mean that the name of the checkbox element ended with square brackets. In my case, the name was 'conditions[]' for example.
The insert record behaviour worked fine if I removed this checkboxes.
In the end, I hard coded the insert command, without using the behaviour, which was inconvenient, but worked just fine.
I just thought it might be useful for anyone else that finds the same issue.
Hope this helps
If you use Captcha in your form to prevent random submissions of the form, you need to name the captcha field like so: <input type="hidden" name="txtCaptcha" id="txtCaptcha" /> That's the "name" that's missing. Dreamweaver isn't having a problem inserting a record, it's having a problem with a different javascript on the page.
North America
Europe, Middle East and Africa
Asia Pacific