|
Database Connection - Dreamweaver 8 Posted: 18 Jul 2010 12:37 AM |
I have a question regarding a database connection in DW8. The solution in the FAQ and Tutorials regarding this exact problem:
"7. Name Redefined error
Users may get this error:
Microsoft VBScript compilation (0x800A0411)
Name redefined
/cartv3/Connections/CharonCart.asp, line 8, column 4
Dim MM_CharonCart_STRING
MX will often put the DIM statement in when amending the connection file. This can be solved in one of 2 ways:
a. Remove duplicate lines of
from the page(s)
b. Remove the line
Dim MM_CharonCart_STRING
from the Connections file alogether."
This solution has been tried. Solution (a.) - There are no duplicate lines of the DIM statement (well, none that I can find at least) and Solution (b) - Sounds good and works so long as I don't try using DW to test the database connection.
If I DO test the database connection in DW, the line Dim MM_CharonCart_STRING is reinserted into the connections.asp file by DW and the whole thing fails again.
Initially, after removing Dim MM_CharonCart_STRING from the connections.asp file, I can view the pages in my browser. Once DW8 modfies the connections file after I test the connection, it fails.
Also, I cannot view the contents of the database in DW8 even WITHOUT the Dim statement.
Is this going to create a problem with adding/changing the recordset information on pages? For example, I want to delete the products.description text field and then reinsert it elsewhere on the page. I understand that this is a part of the server behaviours and bindings but will it effect the funtionality of the pages simply because of the way DW8 behaves? |
|
|
 |
|
|
Re: Database Connection - Dreamweaver 8 Posted: 08 Aug 2010 05:07 AM |
Just thought I would give an update on this since there has been no replies. So far I have managed to continue using DW8 WITHOUT testing the database connection through DW. I have been able to insert new server behavious manually and although it would be easier to create them with a connection, it is still possible.
No to solve another issue - PayPal AND an alternative payment method on the same checkout page. (Response.Redirect=OrderConfirmed AND/OR TransferOrderPaypal)????? |
|
|
 |
|