Ask a Question related to Dreamweaver AppDev, Design and Development.
-
erickia #1
No Testing server error
I am a student trying to learn Dreamweaver MX 2004. I'm trying to setup a PHP
page and connect to a MySQL Database. MySQL is running and using the default
directories. I can access the database and tables using Navicat so I know they
are working. I went through the steps of setting the site and document type
and then tried to setup the testing server. I chose a name, used "localhost"
as the url, put in the user and password and then tried to select the Database.
When I click the select button, it tries to load but then comes back with an
error saying "There is no Testing Server running on the server machine. What
am I doing wrong?
erickia Guest
-
Testing Server problem: Server name or address couldnot be resolved!
Not sure if this helps but I was going step by step in the Getting Started Experience Tutorial and when it got to the Database tab -- RDS Login... -
Testing Server
I have been trying to set up a web site in Dreamweaver to run dynamic scripting (ASP pages) and when trying to set up a testing server I follow the... -
Using Server Behaviors without Testing Server
Because of the way my company sets up ColdFusion I dont' have a testing server and thus can't use the database connection tool, server behavior,... -
testing server.?
Good evening, ok i trying to set up a site and use php and mysql testing server, i have installed everything apache, mysql, made edits to code as... -
Testing Server Error
Please help... I'm trying to set up a database connection via an IP address and always get this error when testing the database connection: HTTP... -
David Powers #2
Re: No Testing server error
erickia wrote:
The first thing you are doing wrong is not checking the forum archives.> When I click the select button, it tries to load but then comes back with an
> error saying "There is no Testing Server running on the server machine. What
> am I doing wrong?
This must be the most frequently asked question.
Have you set up a PHP site in site definitions?
Have you set the URL Prefix correctly in Testing Server? It must have a
trailing slash on the end, for example [url]http://localhost/myphpsite/[/url]
Have you checked that MySQL is enabled in your version of PHP? It's not
enabled by default in PHP 5
There are several other possibilities, but those are the most frequent
causes of failure.
--
David Powers
Author, "Foundation PHP 5 for Flash" (friends of ED)
Co-author "PHP Web Development with DW MX 2004" (Apress)
[url]http://computerbookshelf.com[/url]
David Powers Guest
-
gareth #3
Re: No Testing server error
Have you actually set up a testing server in your site definition? You need
to have a web server running, either on your own PC, or on your web hosts
server to allow Dreamweaver MX to connect to the MySQL database.
Take a look at my MySQL connection guide at:
[url]http://www.dreamweavermxsupport.com/index.php?type=article&pid=60&sid=61[/url]
Explains how the connection works and give troubleshooting information to
help get the connection working.
--
Gareth - TMM Dreamweaver
[url]http://www.dreamweavermxsupport.com/[/url]
[url]http://www.garethdp.com/[/url]
PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.
[url]http://www.phploginsuite.co.uk/[/url]
Co-Author: Dreamweaver MX: Instant Troubleshooter - Apress
Co-Author: Practical Intranet Development - Apress
Co-Author: Dreamweaver MX: Advanced PHP Web Development - Apress
Co-Author: Dreamweaver MX: PHP Web Development - Wrox
gareth Guest
-
erickia #4
Re: No Testing server error
First of all, I did try the archives and didn't find anything that helped.
MySQL is enabled in PHP5. When I place the following code in a file titled
today.php and then place the address [url]http://localhost/today.php[/url] in the address
bar, the date is displayed and the Success message is displayedl.
The site info points to a folder under the user's documents folder. The MySQLCode:<!DOCTYPE html PUBLIC "-/W3C/DIT XHTML 1.0 Strict/EN" "http://www.w3.org//TR/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Today's Date</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> </head> <body> <p>Today's Date (according to the Web server) is <?php echo date('1, F ds Y.'); ?></p> <?php if (@mysql_connect("localhost", "root", "########")) echo "Successfully Connected to Database"; else echo "ERROR Connecting to Database"; ?> </body> </html>
server location is set to 'http://localhost/" and the user and password are
the same as in the above code. What next?
erickia Guest
-
David Powers #5
Re: No Testing server error
erickia wrote:
Is the user's documents folder inside the web server document root? All> The site info points to a folder under the user's documents folder. The MySQL
> server location is set to 'http://localhost/" and the user and password are
> the same as in the above code. What next?
PHP pages must be in the server root, a virtual host, or a virtual
directory.
The correct address for MySQL is "localhost", *not* "http://localhost".
--
David Powers
Author, "Foundation PHP 5 for Flash" (friends of ED)
Co-author "PHP Web Development with DW MX 2004" (Apress)
[url]http://computerbookshelf.com[/url]
David Powers Guest
-
erickia #6
Re: No Testing server error
Thanks David. That did the trick. I hope that it is OK that I pass that site on?
erickia Guest
-
David Powers #7
Re: No Testing server error
erickia wrote:
Which site? If you're referring to my installation instructions at> Thanks David. That did the trick. I hope that it is OK that I pass that site on?
[url]http://computerbookshelf.com/phpdw/install1.php[/url], please do.
--
David Powers
Author, "Foundation PHP 5 for Flash" (friends of ED)
Co-author "PHP Web Development with DW MX 2004" (Apress)
[url]http://computerbookshelf.com[/url]
David Powers Guest



Reply With Quote

