local testing server for dreamweaver cs4

5 posts by 4 authors in: Forums > CMS Builder
Last Post: May 29, 2009   (RSS)

By willydoit - May 29, 2009

[font "Verdana"]Hi all,

we are using dreamweaver cs4 to create our sites but are completely new to it so finding our feet slowly but surely, I have managed to set up a local testing server using xampp on our 2003 server and all seems fine except I am unable to live view any php pages relating to cms or instant website due to the scripts trying to access the database using the published path.

Is there any way to be able to view such pages in live view? I have backed up the database and imported it into an sql server proivided with xampp but obviously the scripts are looking to the live path not any locally hosted, I do not want to have to continually recode pages and paths for testing for obvious reasons so any advice on exactly what is and isnt possible with getting pages to work on a local testing station would be appreciated.


[font "Verdana"]Do I need to install cms onto the local testing station in the same way that it has been installed onto the remote server?

Thanks in advance

Re: [willydoit] local testing server for dreamweaver cs4

By ross - May 29, 2009

Hi there.

Thanks for the cross post. You'll get much more traffic here. One thing I just thought of though, perhaps you could give WAMP a try. It's really easy to use. Just an installer and you are ready to go.

I don't know what Dreamweaver will think of it though. I am thinking it would be fairly easy to setup and try out even if it doesn't end up working.

Keep us up to date with how you are making out :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [willydoit] local testing server for dreamweaver cs4

By Damon - May 29, 2009

Hi,


I use WAMP for my local server, but it is basically the same as XAMPP.

Yes, you need to install CMS Builder onto your local server.

This way I make it quick and easy to make changes in the templates in my code editor program and then open the browser and refresh to see the changes.

Couple of things to keep in mind:
The path to the viewer_functions.php file that you include on all your site pages will most likely be different on your host than your own internal test server.

require_once "C:/wamp/www/example.com/cmsAdmin/lib/viewer_functions.php";

Also, depending how you setup your internal server, the URLs may be different too.

Home server: http://localhost/site/cmsAdmin/admin.php
Hosted site: http://www.mysite.com/cmsAdmin/admin.php

Most of the time when I'm setting up a site, I work directly on the site so I don't have to worry about file paths or URLs changing later.

Hope this helps.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] local testing server for dreamweaver cs4

By willydoit - May 29, 2009

Hi GUys,

Thanks a lot for the help, looking at the potential issues and with the paths I think I will continue just uploading all my pages to the test server after each change, that way I dont have to keep altering paths etc when wanting to test live, at least until I get more dreamweaver experience under my belt.