message No database selected
Hello and thank you for your reply however I had completed that task already.
I previously used MySQL Query Browser following both the WebAssist PDF and the WebAssist Video Tutorial. The screen grab MySQL_QB_Schemata.jpg identifies database table imported.
The screen grab MySQL_Admin_Schema.jpg shows the table view in MySQL Admin
I created the database connection using the WebAssist help file following the instructions for Are you a Dreamweaver user?
The Customizing the WA_Globals.php I have not modified the CAPTCHA settings and I have modiefied the Email settings for email server and "From" fields
The Admin Section I have not modified as I am under the impression that this only needs modifying prior to uploading the files to a live server.
The last jpeg is a screen grab of the Local Files panel within Dreamweaver.
The Local Files are stored in my Documents folder and the testing server is set up for localhost in C:/XAMP/htdocs
I do have a remote "live" server that I have set up for live testing but this is not connected yet to the files within Dreamweaver.
I have re-imported the database (see screen grabs) and updated the Connection localhost file
$hostname_localhost = "localhost";
$database_localhost = "users";
$username_localhost = "root";
$password_localhost = "dicksdo1025";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
Trying to make sense of the code in the PHP files I can't see how the database "users" is located in the Database folder in the website. There does not seem to be a path statement along the lines of Database/users - or maybe in PHP you do not need this?
It could be that I have made the website structure too complicated, I am using the same website to try out User Registration as well as another Sample Site from WebAssist. Maybe that is the problem?
Can you see anything in the above or in the screen grabs that is giving rise to this problem? Maybe I should start all over again with a new site built directly on a live test server?
I have now spent two days trying to move forward.
My most recent attempt to load the user registartion web page resulted in a can't find table "users" so I suspect that the problem is something that I have not done correctly.
Appreciate your thoughts on this.