I broke it!
Suddenly the registration form isn't working. Various files have lost "WADAuser" connection and can't find the file. Is there any way to correct this without re-installing?
Suddenly the registration form isn't working. Various files have lost "WADAuser" connection and can't find the file. Is there any way to correct this without re-installing?
OK. I panicked.
The files are Admin users... files. I corrected all but one - "users_Results.php". This one doesn't have a Recordset Behaviour, and I'm not sure what it should be.
All of the dynamic elements work ok.
Any help appreciated.
The result seems to be the errors below when trying to register a new user:
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /Library/WebServer/Documents/worldmix/UserRegistrationGM/users_Registration.php on line 98
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /Library/WebServer/Documents/worldmix/UserRegistrationGM/users_Registration.php on line 102
The lines referred to are the first and last lines of this block:
mysql_select_db($WA_connectionDB, $WA_connection);
if (!session_id()) session_start();
$insertParamsObj = WA_AB_generateInsertParams($WA_fieldNames, $WA_columns, $WA_fieldValues, -1);
$WA_Sql = "INSERT INTO `" . $WA_table . "` (" . $insertParamsObj->WA_tableValues . ") VALUES (" . $insertParamsObj->WA_dbValues . ")";
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());
Thanks for more help.
those lines are trying to use the database connection.
The error suggests that the database connection file is either missing or not correct.
If you edited a server behavior, make sure you did not change the connection to use from the localhost connection to something else.
Yes, I found it. In the WA_Globals file, the root directory had changed. Not sure why.
Thanks for the help.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.