I just installed the Moodle Stack (finally an easy way to run Moodle locally, thanks!) and am trying to edit in Dreamweaver.
While I have setup a Dreamweaver site and am able to directly edit the CSS and PHP I'm unable to setup a testing server so I can view more major layout changes dynamically. Otherwise I'm kind of just fumbling around in the dark (I'm a designer, not a developer and PHP still scares me somewhat!).
The options I have in the Site setup for Server are:
Connect using. I assume this is 'Local/Network'?
Server folder. I've tried just about every folder in the install and none of them work.
Web URL. I guess this is just the URL I've been using to access the site in a browser?
If anyone can help me you'd be saving my life!
Could you try the next configuration?
In Advanced option, check you are using PHP MySQL as Server Model.
I hope this helps.
I get error 404 when try to connect to mysql db, the same db is used in other dreamweaver site and works fine when try to connect it using dw connection why this strange behaviour??
it is weird as you said that other dreamweaver site works with the database. Please ensure that the configuration is the same on both dreamweaver sites. It doesn't need nor special configuration neither any permissions to work... so doing a copy&paste of that configuration should work.
Thank you for your quick response, I have double checked the configuration and is correct. But am I afraid if BITNAMI support multisites and connection as localhost with same DB??
what kind of error do you get?. Do you have any trace, code, screenshots... to show us and try to help you about this issue?.
Here the message box showed when try to test the connection with DB
We don't do anything special to not be supporting this configuration. Please, answer below:
- Is the database you are trying to use local to this machine? Is there any other remote machine using it?
- If so, what is the exact configuration that this other machine are using and what are the differences with the one you are using in the local machine?
- Have you enabled any kind of firewall? Can you try disabling it?
- Besides, can you try using 127.0.0.1 instead of localhost?