close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

message No database selected

Thread began 2/23/2010 3:32 pm by donald.dickson338135 | Last modified 2/24/2010 8:02 am by donald.dickson338135 | 9146 views | 7 replies

donald.dickson338135

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
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$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.
Thanks.

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