close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

I broke it!

Thread began 5/18/2010 8:39 am by gjdunn405023 | Last modified 5/20/2010 6:46 am by gjdunn405023 | 1535 views | 4 replies |

gjdunn405023

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?

Sign in to reply to this post

gjdunn405023

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.

Sign in to reply to this post

gjdunn405023

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.

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

gjdunn405023

Yes, I found it. In the WA_Globals file, the root directory had changed. Not sure why.

Thanks for the help.

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