MySQL test server to real server

Hi all,
I realise to most people in this forum this will be an easy and very amateur question, but im still fairly new to mySQL databases in Dreamweaver and their connections etc
Iv been working on an ecommerce site for several weeks and now it is ready to be uploaded and tested on its live internet server, I have a domain with a database set up, I have exported the SQL database into a word document, and imported it into the live server to get the database tables and forms generated in the new server etc.
I have updated my Dreamweaver site configuration so that now it points to the FTP where i upload the pages and files like i normally do with non-database websites and they have uploaded successfully. Where i am getting confused is about telling my connection to now look to the internet database, as opposed to the testing server on my computer
I would have guessed at editing the database connection in the 'Databases' panel and entering in the new information, but even when entering in the new data it cannot find anything, but i get the feeling i might be entering in the wrong information as it comes back with an error. Whereas the information before was
server name: localhost
username: root
password:
I feel im trying to enter in the wrong information, can someone clarify what details i need to enter to make my connection point to my live database rather than my local server
Many thanks
Andy

What I do is put my database log in above the web root, in the same location on both the testing and live servers.So if your website is in a folder called public_html or something like that, then the file with the log in can be in a folder at the save level as public_html, but not within it.This is very important for security.
The file, then is like this:
<?php function localhost(){
$connection = @mysql_connect('localhost', 'root', '');
if (!$connection) {
  exit('<p>Unable to connect to the ' .
      'database server at this time.</p>');
if (!@mysql_select_db('name_of_the_database')) {
  exit('<p>Unable to locate the database at this time.</p>');
}}?>
This file is called, for instance, db.php You want to have a version of the file for your testing server, as above, and a version for the live environment.
Then, on your pages, use code like the following to open the database connection:
<?php require_once '../file_name/.db.php'; ?>

Similar Messages

  • Dreamweaver adding local testing server MySQL-HELP REQUEST

    I have a website on register.com and I am using MySQL for the
    first time. My DB and table have been created using MyPHPAdmin. Now
    I want to use my Dreamweaver to setup a testing server that will be
    local and then upload asp pages after testing. Can Anyone PLEASE
    assist with this. I have downloaded and installed MySQL 5 and
    loaded the MySQL Driver for ODBC. I am not sure if I am doing this
    correctly OR if anyone knows an easier way. In summary I simply
    want to:
    A : Be able to test MySQL tables using dreamweaver's testing
    server then locally upload to my remote site that is hosted at
    register.com.
    THANKS in advance
    Mark

    Why not use PHPMyAdmin to build the database remotely and
    then just use your
    remote connection for testing?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mark6372" <[email protected]> wrote in
    message
    news:eivg19$sdf$[email protected]..
    >I have a website on register.com and I am using MySQL for
    the first time.
    >My DB
    > and table have been created using MyPHPAdmin. Now I want
    to use my
    > Dreamweaver
    > to setup a testing server that will be local and then
    upload asp pages
    > after
    > testing. Can Anyone PLEASE assist with this. I have
    downloaded and
    > installed
    > MySQL 5 and loaded the MySQL Driver for ODBC. I am not
    sure if I am doing
    > this
    > correctly OR if anyone knows an easier way. In summary I
    simply want to:
    >
    > A : Be able to test MySQL tables using dreamweaver's
    testing server then
    > locally upload to my remote site that is hosted at
    register.com.
    >
    > THANKS in advance
    > Mark
    >

  • Issue with Setting Up Test Server for PHP/MySQL to work

    I've got a few newbie issues
    which I hope someone can help with!
    I'm trying to get Security Assist to work, so I've put MYSQL and workbench on my computer to get it going. I haven't created a test server in PHP, because I'm wondering if it will affect my already running website ftp? Will it take down my company website if I create a test server with the same ftp as my website?
    So, I created a model in workbench (table) and I've tried to connect mysql to dreamweaver. I keep getting an error when I try to connect!
    Despite the error saying an error has occurred..I have something which looks like a plus (+) sitting in my database area on DW, but it says there's no tables there! And in mysql there is a table!
    I'm a bit bloody lost to tell you the truth. Just changing the password on mysql to get going was horrendous.
    Anybody have a solution to get me going, so that my tables are sitting nicely in my dW and can be connected to my SA (Security Assist).
    Ugh!

    The first question: on what platform? Windows - Mac?
    I only succeeded in setting up a testing server on my Mac
    with PHP and MySQL after reading a book of David Powers. On Leopard
    I belief there still are problems connecting PHP to MySQL.

  • PHP/MySQL Test/Production Server best practices

    Hello,
         I am currently learning PHP/MySql and have setup a test server to develop on and a production server to go live with. I wanted to know what are the best practices for synchronizing the test server with the production. Should I export the database from the test server and import it to the production server each time I make a change or is there better way to incrementally sync the databases. I am using Dreamweaver to design the web site.
    Thanks,
    Nick

    Thanks, but does this mean that after I go live I should make changes on the production database only and not use the development database, if say I need to add a new table or record(s)?
    Procedure
    1. Take production web site down
    2. Export/Save current database
    3. Make changes to production database
    4. Export/Save new database
    5. Bring production web site up
    Is this correct?

  • PHP/MySQL connection / testing server maybe?

    Problem - I'm unable to connect to a PHP database. I'm
    working right now with tutorials from the DW CS3 Bible by Lowery,
    but haven't been able to connect at all. And I wasted weeks trying
    the same thing with an ASP connection.
    The error message I'm getting now is '405 Method not Allowed'
    when working through the connection dialog. I thought PHP/MySQL was
    supposed to be easier & better than ASP/Access?
    In going through the site setup, instructions for setting up
    the site's testing server say 'click test to verify the connection'
    but there's no button to click. What am I missing?
    Is there some kind of easy test script I can attempt, as with
    asp? Problem there was that I could do the 'timetest' sample, but
    nothing else.
    I have gone through setting permissions and creating IUSR_my
    computer name as a user - they seemd to work fine, but I still
    can't connect.
    Thanks anyone, and everyone - my first post regarding
    connection problems was on 8/22 and I feel like I have gotten
    nowhere.

    Have you looked at this tutorial?
    http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html
    Ken Ford
    Adobe Community Expert Dreamweaver/ColdFusion
    Adobe Certified Expert - Dreamweaver CS3
    Adobe Certified Expert - ColdFusion 8
    Fordwebs, LLC
    http://www.fordwebs.com
    "LReber" <[email protected]> wrote in
    message
    news:gcegd6$qmu$[email protected]..
    > Problem - I'm unable to connect to a PHP database. I'm
    working right now
    > with
    > tutorials from the DW CS3 Bible by Lowery, but haven't
    been able to
    > connect at
    > all. And I wasted weeks trying the same thing with an
    ASP connection.
    > The error message I'm getting now is '405 Method not
    Allowed' when working
    > through the connection dialog. I thought PHP/MySQL was
    supposed to be
    > easier &
    > better than ASP/Access?
    > In going through the site setup, instructions for
    setting up the site's
    > testing server say 'click test to verify the connection'
    but there's no
    > button
    > to click. What am I missing?
    > Is there some kind of easy test script I can attempt, as
    with asp? Problem
    > there was that I could do the 'timetest' sample, but
    nothing else.
    > I have gone through setting permissions and creating
    IUSR_my computer name
    > as
    > a user - they seemd to work fine, but I still can't
    connect.
    > Thanks anyone, and everyone - my first post regarding
    connection problems
    > was
    > on 8/22 and I feel like I have gotten nowhere.
    >

  • Root-relative links & local testing server

    Yesterday I figured out that I'd have to use root-relative links in an included SSI file so that it would work from both templates and pages in my main directory (or other directories, for that matter), e.g., 'src=/image/picture.jpg'. However, since my site is PHP, in order to test the pages or even to use Live View, I have to make use of a "testing server". I did this without much trouble using a package called EasyPHP, which sets up a local web server as well as the PHP module, MySQL support, etc. This all works very well.
    The problem is that, in order to support several web sites, I have to use a "virtual directory" spec to direct the web server to the correct location for my site's files. In the setup for the testing server, I therefore have to specify a URL prefix such as 'http://localhost/corinthian' for this particular site. That has worked previously, but breaks when using root-relative links since the server sees the "root" as being the main "localhost" directory instead of "localhost/corinthian". So now my SSI doesn't display correctly because it's not being resolved to the correct directories.
    I don't think that this is fixable unless someone else has run into it and can think of some gimmick I could try. Anyone? Breaking out some of my code into an SSI has definitely been more of a challenge than I expected!

    I use 1&1 Internet as my hosting service. They apparently have my site set up in a virtual directory / virtual host fashion. Going to http://corinthian241.org, the root directory for root-relative links would have to be the directory pointed to by the URL. However, running phpinfo.php on the site shows the following result for $_SERVER['DOCUMENT_ROOT']: '/kunden/homepages/29/d246935068/htdocs/corinthian'.
    So I'm pretty sure that a link from a page in my site home directory using this as a prefix would definitely not work, since the first "/" implies starting in the "corinthian" subdirectory -- not the real root of the server itself. Correct?
      Doug

  • Setting up local web test server

    Hi All,
    Apologies if this should go in installation and setup but here goes.
    Running 10.3.9.
    Httpd running
    MySQL server running
    PHP enabled
    I'm trying to set up a local testing server on my G4 powerbook so I can do my mods and just occasionally ftp up the code, say, once a week.
    I've started personal web sharing and can access my local site's index page ok (i.e. http://mymachine.local/~me/website/ ). That's all fine.
    But I've installed the oscommerce app under my web directory and unless I have a connection toi the net then it just doesn't want to know.
    So calling up " http://mymachine/local/~me/website/catalog/index " gives me a nothing if I don't have an internet connection.
    I think I have set everything up as I should to have a local testing server for web apps :- Personal web sharing enabled, MySQL sorted, PHP sorted.
    Does anyone know what I might need to do further or perhaps point me in the right direction?
    Much appreciated.

    Try using http://localhost/local/~me/website/catalog/index . It may be that your original link doesn't work because your machine is trying to look up the IP-address of "mymachine" using DNS, and that won't work if you're off-line; "localhost" is a synonym for "127.0.0.1", which is the "loopback address" -- it always means your own machine. No DNS lookup required, no real network interface required, so it should work whether you're on-line or not.

  • Browsers won't open some php testing server files

    Running DW 8, OS 10.4.10, Apache virtual testing server with
    php local site.
    I've Firefox and Safari as primary and secondary browsers.
    When working on a
    page, if I select 'preview in primary browser', Firefox opens
    the page with
    my virtual url...no problem. Lately, some php files will not
    open. Firefos
    give a dialog to open the file in default (DW) or save to
    disk. This is very
    frustrating since one file it does this to is a login page.
    Safari does the
    same thing!
    I have select the file in question in the finder (extension:
    ,php) and
    through the Get Info and told Mac OS to open this file with
    Firefox and all
    .php extensions. Rebuilt prebinding so all php files in the
    Finder show a
    Firefox icon, but still neither Firefox nor Safari will open
    them. They
    don't recognize the
    <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" />
    Metatag. The really frustrating thing is that only some files
    behave this
    way. Most of the others work fine and I can't see anything in
    the headers
    that would cause one to open and not another. Has anyone ever
    run across the
    behavior before and if so, what was the cause?
    Thanks,
    Charles Newbury

    On 10/14/07 10:18 AM, in article
    [email protected], "Joe
    Makowiec"
    <[email protected]> wrote:
    > On 14 Oct 2007 in macromedia.dreamweaver, Charles
    Newbury wrote:
    >
    >> Running DW 8, OS 10.4.10, Apache virtual testing
    server with php
    >> local site.
    >>
    >> I've Firefox and Safari as primary and secondary
    browsers. When
    >> working on a page, if I select 'preview in primary
    browser', Firefox
    >> opens the page with my virtual url...no problem.
    Lately, some php
    >> files will not open. Firefos give a dialog to open
    the file in
    >> default (DW) or save to disk. This is very
    frustrating since one
    >> file it does this to is a login page. Safari does
    the same thing!
    >
    > What happens on the actual server?
    >
    >> I have select the file in question in the finder
    (extension: ,php)
    >> and through the Get Info and told Mac OS to open
    this file with
    >> Firefox and all .php extensions. Rebuilt prebinding
    so all php files
    >> in the Finder show a Firefox icon, but still neither
    Firefox nor
    >> Safari will open them. They don't recognize the
    >>
    >
    > Are you sure that your local server is running? Also,
    I'm no Mac
    > maven, but I'm given to understand that the version of
    Apache which
    > comes installed on Macs is on the underpowered side, and
    should be
    > replaced with a version downloaded from somewhere?
    True, I'm running Apache 1.3, but I'm leery of trying to
    upgrade to a newer
    version for fear of messing up everything that already works.
    Had a real
    headache getting MySQL 5, PHP 5 and phpMyAdmin all up and
    running with DW 8.
    Fortunately I had David Powers book that gave pretty much
    idiot proof
    instructions on how to install all this stuff. I'd never been
    able to do it
    left to my own devices. Another caveat is that my webhost,
    like most, is
    behind the upgrade curve: they run MySQL 4.1 and phpMyAdmin
    2,8 so if I
    upgrade too much there may be compatibility issues.
    Another oddity, renaming that file from .php to .html
    extension causes it
    to open fine in Firefox and Safari. I don't think it's kosher
    to keep it
    that way since it does contain DW8's login php scripts.
    Again, there's no
    problem with other .php files.

  • Need Help Setting Up Testing Server

    Hi. I have been using Dreamweaver for a while, but am
    extremely new at the whole testing server thing, as I have been
    building only simple pure-html pages.
    I am want to password protect a part of my site using the
    Insert > Data Objects > User Authentication > Log In User.
    I have already converted my whole site from .html pages to
    .php pages, because I thought that .html pages wouldn't work.
    Everytime I try to use that Log In User menu command,
    Dreamweaver gives me a dialog box that says, "Before inserting this
    object, please do the following: 1. Create a site for this file 2.
    Choose a document type 3. Set up the site's testing server".
    Numbers 1 and 2 have a checkbox which I am assuming means they are
    done correctly. But number 3 (set up teh site's testing server) has
    no checkbox and the dialog box will not allow me to click OK, which
    leads me to assume that I need to accomplish the aforementioned
    step number 3.
    So I go to the Site Definition for my site and under the
    Advanced Tab go to Testing Server. I want PHP MySQL as the server
    model, so I chose that. And I am guessing I need to choose
    Local/Network for the Access option because
    the computer I am building this site on is not connected to the
    internet. (I have no intention of hooking this machine up to
    the internet becauase all of my work I have ever done is on it!)
    Now, here lies my main question: What should the Testing
    server folder be? And what should the URL prefix be? And do I need
    to change anything else?
    If I am not being clear about anything regarding my
    questions, please make a point of it, and I will try to be more
    clear.
    Thank you so much for helping!

    > Host Directory:/root folder/ (if no root folder
    directory use "/"
    Or leave it blank.
    > FTP Host:yoursite.com
    I see that this is a *real* domain, with a real registration.
    It's best to
    just use 'example.com' for dummy domain names.
    > URL Prefix:
    http://your-site.com/
    Ditto. And by the way, there was no hyphen when you first
    used this!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "DWFAQ.info" <[email protected]> wrote in
    message
    news:gkeu60$hjl$[email protected]..
    > You need to be connected to the internet to test dynamic
    attributes.
    >
    > For advanced/testing server enter the following
    formatted exactly as it is
    > displayed:
    >
    > Access:FTP
    > FTP Host:yoursite.com
    > Host Directory:/root folder/ (if no root folder
    directory use "/" no
    > quotations)
    > Login:Host login Username
    > Password: Host Login Password
    > Check Save checkbox
    > No other checkboxes
    > URL Prefix:
    http://your-site.com/
    >
    > Click the test button and see what happens.
    >
    > Best,
    >

  • Remote and testing server don't see root relative links the same

    My site works fine on my testing server (Apache, MYSQL,
    PHP). I use root relative links in a library
    file (include file) so that it will work with all pages. For the testing server these links look like this:
    /my_sites_root_folder/aaa/bbb/ccc etc.
    If I use these same links on the remote server they won't work. To get hem to work I have to change all these links to the form
    /aaa/bbb/ccc etc.
    When dreamweaver uploads files to the remote server, the site name folder  (my_sites_root_folder) doesn't go along for the ride--just the files in it. So on the remote all the site files are stored in htdocs. On my testing server, the files are stored in htdocs/my_site_root_folder.
    I think it must have something to do with the way I'm setting up the remote and testing servers, but I'm read a hundred pages of instructions without being able to figure it out. I think I'm just seeing something wrong, but I've already spent days on this. Can someone please point me in the right direction?
    I'm using DWCS5. Internet explorer 8, Windows 7.

    Thank you for your prompt response. I'm afraid I'm still totally puzzled here. It sounds like you're very knowledeable about your comments, but I would like to know more. I accept that using the local site root in links would be bad, but I'm not clear WHY. Structuring the links as I have doesn't cause any links to break. I've structured them this way because it's the only way I can find that everything works. But I still do not understand WHY I have to do it. Using different libary include files doesn't seem like a good way to go, though
    You suggest that if I use any root relative links at all, I need to use vitual hosts. I'm not finding any good coverage of what these are, and especially why they are necessary. If this is the case, does that imply that templates (which use root relative links) also will not work on the test server (at least without vitual hosts)? The conclusion I'm coming up with, given your remarks, is "Dreamweaver doesn't work with root relevant links when you're trying to test a site with a test server." Is this right?

  • Remote and testing server set up

    I want to upload to the server some php pages containing a registration form, log in, and membership directory. I am able to get everything working ON MY COMPUTER (not shouting - just for emphasis) using wamp server. I am completely confused about how to get it on the server. I have tried creating a test database at the server but I am confused about how to connect. Do I need to set up both a remote and a testing server in the site setup on DW (CS5.5)? I think the problem is with the database setup form, that is, databases - + - mySLQ connection. What do I put in the form fields?
    So far, I have tried, among other things,
    Connection name: myusername_testform
    mySLQ connection: localhost
    Username: the one I set up at the server
    Password: the one I set up at the server
    Database: myusername_testform
    and I get the following error message when I test it:
    HTTP error code file not found etc.
    possible reasons:
    1. There is no testing server running on the server machine.
    2. The testing server specified to this site does not map to the the http://ftp.mysite.com/_mmserverscripts/MMHTTPDB.php URL. Verify that the URL prefix maps to the root of the site.
    I have contacted the server and have tried to understand their answers but have had no success in getting this done.
    Any help would be much appreciated. I am really new to php and forms and databases, so please keep it as simple as possible. Thanks

    Thanks very much for responding. Sorry - I'm not quite sure what you mean. I initially did all the set up steps (set up local server, create database in wamp phpMyAdmin, create a members directory, create a registration page, create a log in form) and I got all of that to work on my computer. Now I want to upload the forms and database to the server. Rather than use the database that I had originally set up on my computer, I set up a new test one with with one table and only a few categories using the phpMyAdmin on the control panel for the site. Where is that database? Is it at the server? What I'm confused about is this: How do I connect to the database at the server? Do I need to set up the site the same way as I did when it was only on my computer, i.e., set up a remote server AND a testing server? Or do I just need to set up the remote server? In either case, how do I add the database to the site using mySQL connection? I think the problem is with what I type into the form field "my SQL connection" but I really don't know. I'm so confused lol

  • Cannot enter URL or use advanced tab when creating a (local) testing server

    Hi,
    I have created a site in Dreamweaver and I have tried creating a testing server. However everytime I try to create a test server Dreamweaver does not allow me to enter the Web URL in the server window. I knnow its local (localhost) but it seems it should still need a URL - http://localhost/...
    It allows me put in the name of the server the connection  type - Local/Network and allows me to browse to the server folder and select it but does not allow me to put any data in to Web URL: field.
    Additionally, it does not allow me to select the Advanced tab to specify my Server Model - PHP MySQL.
    When I click save with these settings I can see all the necessary files and folders in the Dreameaver Testing Server window but when I go to create a database connection I get an error saying "The URL prefix http:// for this site's testing server could not be resolved"  - on hitting the Select button to select the database.
    I am running WAMP (in Windows 7) and I can see the database in phpMyAdmin. I know the username and password are correct.
    Any help would be appreciated - Thanks

    Does this help?
    http://helpx.adobe.com/dreamweaver/kb/cant-select-some-items-site.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • 'Unable to connect to database server' on local test server (CS4)

    I am a php/MySql newb. Have designed static sites in DW since Macromedia DW 4 days.
    I have set up a testing server on my Mac running OSX 10.6.7 using MAMP 1.9.5 and Dreamweaver CS4 to  test my osCommerce store (I like to see what's happening visually, even if I just change a small variable in the code). Although I have imported the store database  from my remote server, and the connection tests in the DW Database  window to the store, mysql, and information schema databases in  Dreamweaver are successful, I still get "Unable to connect to the  database server!" when I try to preview a .php page with Live View or with a browser. I'm using the  correct ports in my site definition (8888 and 8889). MAMP shows Apache  and MySQL running, of course. Have tried logging in as root and as my ususal username witht the correct passwords. Everything seems to be right...but it's  still wrong.
    Do I also need to import the mysql and information  schema databases from my remote server to replace the ones that came  with MAMP? If so, where do I put the information schema db? Although it  shows as a database in PhpMyAdmin, I don't see a folder or doc by that  name anywhere in MAMP - it must be buried pretty deep! (I did find a  file called information_schema_relations.lib.php in  MAMP/bin/phpMyAdmin/libraries. Is that it?)
    Or is it something else entirely?
    Note  that though I'm a fairly savvy user, I am not a developer or coder.  Strictly a GUI/static design guy with a liberal arts education. Keep the answers  simple and in plain English, thanks. 
    Have also posted this on the MAMP forum.

    Hi Kanstantin,
    Ieve tested the database connectivity through sqlplus using SYSTEM. But when I try to connect (Mount the repositiry server from MDM console, I facing  the problem mentioned.
    Please let me know if I need to do anything else.
    For your info:
    The following are the tnsnames entries
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    MD7 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = mysapplm)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = MD7)
          (INSTANCE_NAME = MD7)
          (GLOBAL_NAME = MD7)
        (HS = OK)
    The following are the entries in listener.ora file
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = I:\oracle\MD7\102)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = mysapplm)(PORT = 1521))
    Regrads,
    Varadhu
    Edited by: Varadhu on Aug 6, 2009 10:49 AM

  • How do I set up a local testing server?

    Hey again everyone. I am trying to figure out how to set up a local testing server. I've read a couple different tutorials online and i still can't figure it out. I added a new server, named it test server, I'm connecting using local/network, my server folder is C:\Users\Jake\Website\testfolder, and my web URL is http://localhost/. My server model is PHP/MySQL.
    My site's root folder is C:\Users\Jake\Website\. I have also downloaded XXAMP. It downloaded and that was it though, I'm not sure if I need to apply it somehow to Dreamweaver. When I try to preview my pages I get a message that asks me if I want to update copy on testing server. If I choose yes, another message comes up and asks me if I want to put dependent files. Whether I choose yes or no it just says IE cannot display the web page.
    Any help would be appreciated, thanks!

    Site Name: PHP Test Site
    Local Site Folder: C:\xampp\htdocs\php_test\
    Server Name: Local Testing
    Connect Using: Local/Network
    Server Folder: C:\xampp\htdocs\php_test
    Default Images Folder: C:\xampp\htdocs\php_test\Images\
    Web URL: http://localhost/php_test/Server Model: PHP MySQL
    Is that everything you need to know? Note that I do not have a remote testing site set up yet.

  • How to setup the local testing server ??

    hello, what do I need to install first before I can setup the
    testing server in dreamweaver 8? I have download apache2 triad,
    mySQL, IIS 6...
    Where should I download the correct version of mySQL because
    I need to test my php scripts locally which has something to do
    with database?
    How do I configure these on the testing server setup
    Connection Name - what should I input here?
    MySQL Server - and this?
    Username - where do I get one?
    Password - where do I get one?
    Database - gets an error saying "HTTP error code 404...
    1) There is no testing server running on the server machine.
    2)The testing server specified for this site does not map to
    the
    http://localhost/...... ??
    Please Help.. Thanks in advance!

    criticalx wrote:
    > I'm using the apache2triad for the mySQL.. I s there
    anything I did wrong on
    > my configuration part? Thanks... "I only need to test my
    site locally"
    I have never heard of apache2triad, but I've just had a look
    at the
    apache2triad site, which says: "It is recommended that only
    experienced
    users, with a vast knowledge of how networks, and its
    components (Apache
    Web Server, ect.) should install this software. It IS NOT
    your average
    software; a lot of time, patience and effort are required to
    maintain
    such a server."
    Setting up a local testing server is not difficult, but it
    does require
    a basic understanding of how a server-side language like PHP
    works.
    As I said before, you must always store your files in the web
    server
    document root. According to the apache2triad documentation,
    this is C:
    \apache2triad\htdocs\. Unless you store your files there, or
    in a
    subfolder of htdocs, nothing will work.
    ---LOCAL INFO----
    Site Name: login
    Local Root folder: C:\apache2triad\htdocs\login
    checked refresh local site automatically
    default images: C:\apache2triad\htdocs\login\images\
    Links Relative to: "document" - this is correct
    HTTP address: leave blank
    cache: enabled
    ---REMOTE INFO---
    None
    ---TESTING SERVER---
    Server Model: PHP/MySQL
    Access: Local/Network
    Testing server folder: C:\apache2triad\htdocs\login\
    URL Prefix:
    http://localhost/login/
    mySQL connection:
    conn name: connLogin
    mySQL server: localhost (do not use
    http://)
    username: root
    password: mypassword
    Database: login
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

Maybe you are looking for

  • How to do Apache configuration for two different domains

    Hi , I was just trying out some clustering workshop on weblogic. I faced a issue..here is the scenario : I have two clusters : Cluster1 : 3 managed servers (server1,server2,server3) Cluster2 : 2managed servers (server4,server5) I have two sample appl

  • Can no longer drag and drop into my iPhone after iOS 7.0.3.

    I'm not entirely sure what is up with this but it's excruciatingly frustrating. I updated my iPhone 4S 64GB to iOS 7.0.3 the other day. When I plugged it into my car to play some music I noticed that most of the songs in my playlists showed up as bei

  • 'lastFieldsOptional' parameter in Inbound File adapter ?

    Hi there, Im getting the following error from the adapter engine when trying to process a flat file. At The same time the adapter recommends to use the 'lastFieldsOptional' parameter, however,this parameter cannot be found in the provided documentati

  • Security Sandbox Error - youtube video (Read 1 times)

    Hi I am working on an application which demands feature for embedding videos from youtube embed code and youtube URL. Things are working fine in my local machine but when I test it on demo server then error appears. I had allowed youtube and vimeo as

  • Error in Portal: The Standard transport system is active.You cannot save

    Hi Experts   In Portal,I am trying to save a BW Query as view in 'Favorites' or 'BEx Portfolio' or 'My Portfolio',I can't able to save it as i am getting "The Standard transport system is active.You cannot save" msg Please update me what is the reaso