close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

well I messed something up

Thread began 11/04/2009 11:47 am by clickhappy392103 | Last modified 11/04/2009 1:40 pm by Jason Byrnes | 1477 views | 1 replies |

clickhappy392103

well I messed something up

I admit it, I am totally lost. I am trying to set this up using a testing server (WAMP). I figured I would play around with it that way before I try uploading anything to my godaddy server. Here's what I have done so far.
1. defined a site in dw (Root folder on my desktop)copied all files from within the cms100 folder into it.
2. copied the sql into db using phpMyadmin
3. copied all files from root folder on desktop and pasted them into the wamp/www folder
4. in dw , I set server model to php Mysql..access to local/network...testing server folder to C:\wamp\www\...url prefix to localhost/
5. I set up the connections via the databases tab in dw (it kept telling me I need to set a password, but I haven't set one yet in wamp so I skipped it..that's okay for local testing...right?)I tested the connection, that was ok.

next I figured I would see if it was working so far, so I did a preview in chrome in dw and got a boatload of errors..

the page I was trying to preview was the admin/index.php page from the cms100 folder
---------------
Warning: mysql_pconnect() [function.mysql-pconnect]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\Connections\localhost.php on line 9

Warning: mysql_pconnect() [function.mysql-pconnect]: [2002] php_network_getaddresses: getaddrinfo failed: No such host is kn (trying to connect via tcp://Please type your database hostname:3306) in C:\wamp\www\Connections\localhost.php on line 9

Warning: mysql_pconnect() [function.mysql-pconnect]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\Connections\localhost.php on line 9

Fatal error: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\Connections\localhost.php on line 9
----------------

Any help as to where I screwed up would be greatly appreciated.
Also, why is it that when I look at the files tab in dw..all the cms files are read only? Is there something I missed so I can edit them in dw, or do I need to manually make each one of those writable? Or is that a no-no?

Sign in to reply to this post

Jason ByrnesWebAssist

From the error message, it sounds like you entered "http://localhost/" for the MySQL host in the connections file.

try using just "localhost" instead.

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