Forum Moderators: open

Message Too Old, No Replies

connect to host in dreamweaver

connect to host in dreamweaver

         

meanweaver

11:14 pm on Jul 7, 2004 (gmt 0)

10+ Year Member



I am slowly learning how to create php pages that search a database with dreamweaver, I have now worked out how to get data into the mysql database, after reading the help files in dreamweaver everytime i try to create a page to read a database it wont let me do much unless it can connect to the host to see the database, this is where i am having problems, i need to fill in 5 fields under site definition, ok the 1st one is easy that is ftp,
2nd says- what is the host name or ftp address of the testing server, for this i have put ns3.bladehost.net the dns address of my host, have also tried there ip address.
3rd says-what folder on the testing server do you want to store your files in. I have left this blank not sure about that.
4th says- What is your ftp login, for this i have tried mydomain and mydomain@.co.uk the second was my ftp username.
5th was easy that asked for my ftp password.

I have tried all types of answers to what should be simple questions but all i get is an error message saying and ftp error occurred-cannot make connection to host.

Can anyone offer any advice,
Regards

Mr_Brutal

2:14 pm on Jul 8, 2004 (gmt 0)

10+ Year Member



Hiya,

"2nd says- what is the host name or ftp address of the testing server, for this i have put ns3.bladehost.net the dns address of my host, have also tried there ip address. "

This is normally:

"ftp.yourdomain.com"

Not your host - its the FTP site for your website.

Could this help - im not sure what you mean by point 1? ftp is easy - have you entered the address here?

meanweaver

8:46 pm on Jul 8, 2004 (gmt 0)

10+ Year Member



The field i filled in first was the access field for which i entered ftp, diddn't make myself to clear on my 1st message.
I have now put ftp as ftp.mydomain.co.uk

the host directory box i have put mainwebsite_html/ which is what my hosts told me is where the html files go.
Done all this but still having the same problem, if i hit test it says connecting to host but after a short delay get the some error message.
Think i have got the ftp field sorted now so thanks for that. still not quite there yet.

Regards Ian

Mr_Brutal

8:07 am on Jul 9, 2004 (gmt 0)

10+ Year Member



Hi,

One thing it might be is your site setup.

You need to set up your site with:

Local Info
Remote Info

in the advanced tab, NOT

Testing Server

The local info stuff is straightforward and the remote info,
#goes a little something like this# :) (add ur own tune!)

Access: FTP
FTP Host: ftp://ftp.yourdomain.com/
Host Directory: (leave blank normally)
Login: username
Password: ********

Then theres the firewall settings etc but you'd need to post more if you think your behind a firewall.

So yeah basically make sure your ftp stuff is in Remote Info not Testing Info

#Huh# (end of tune) :)

Mr Brutal

stever

8:21 am on Jul 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



On some hosts you may need to change this:

Host Directory: (leave blank normally)

to this:

Host Directory: public_html (or) www

meanweaver

7:13 pm on Jul 9, 2004 (gmt 0)

10+ Year Member



Ok i am filling the form in remote view, have tried everything in the host directory from leaving it blank to the 2 other suggested options, for the ftp login i am presuming that this is my ftp username given to me by my host which is domain@domain.com perhaps this is where i am going wrong, but it works fine for cute ftp ect, just cant seem to find where i am going wrong, any moe ideas would be great.
Thanks for all help so far

stever

10:18 pm on Jul 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you checked out the following page in the Help files:

Setting Remote Info options for FTP access

also

Troubleshooting remote folder setup

If you can connect using another ftp programme, it's likely something wrong that you have filled in (or failed to fill in).

meanweaver

11:05 pm on Jul 9, 2004 (gmt 0)

10+ Year Member



All i can find in the help options is setting up the remote site access, i have scanned the web for related articles and I just cant see where I am going wrong, I now seem to have all fields now filled in correctly but still keep getting a ftp error after about 10 seconds of it trying to connect, I really am at a loss, even posted on the forum on my webhost site a few days back but no reply there. aarrhhh
Regards Ian

stever

7:12 am on Jul 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The troubleshooting one is under FTP in the Help files.

So your box should look like:

Access: FTP
FTP Host: ftp.yourdomain.com
Host Directory: (whatever works for you - blank, www, public_html, whatever your host says)
Login: (your username)
Password: ******** (your password)

If checking all that doesn't work for you, I would look at some of the boxes below that form for a possible reason - but you really need to talk to your host. They should have experience of people using DW if they are professionals.

meanweaver

6:25 pm on Jul 10, 2004 (gmt 0)

10+ Year Member



Well i have now found the problem, nothing to do with the form fields, more like something to do with my firewall, feel a bit stupid, just spent 2 days working on this, I guess thats what you call overlooking the obvious, thanks for everyones help.

Cheers Ian

meanweaver

7:02 pm on Jul 12, 2004 (gmt 0)

10+ Year Member



ok having sorted out my ftp problem i am now faced with another error, I need a little help connecting to my database with dreaweaver, my problem is everytime i open the database panel and hit the + sign then select mysql connection i then fill in the mysql box and it searches for tables then comes back with a 404 error, I know the table is there but why does dreamweaver not see it, I also get the same erroe if i open up a php page and select live view, and idea!

Regards Ian