Results 1 to 5 of 5
  1. #1
    Join Date
    May 2008
    Posts
    20
    Plugin Contributions
    0

    Default Dreamweaver Local Site Easy Php Trouble.

    Hello,

    I Have Installed my Zen Cart Store successfully and I am very happy with the software and its possibilities.
    I thought that I could use Dreamweaver to edit some Css and Layout Details, the trouble is that editing directly in my Isp server is too slow, so I decided to set a local testing server in my pc with Easy PHP.

    The trouble is that when I copy my shop directory on my personal server the page doesn't work because the configure.php points to my isp.

    I've tried changing the data from "mydomain" to "localhost" but it doesn't seem to work.

    I am new to php and mysql and I don't know how to manage this double working enviroments. Do I have to make a copy of my hosted database and load it into my local machine?
    Can I access my Isp database from my local php server?
    How does it work?

    Thank you.
    Jacobo

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Dreamweaver Local Site Easy Php Trouble.

    First off with Zen Cart being php the actual pages that can be edited with DW do not exist.

    DW is mostly a html wysiwyg environ and not really suitable for a php application as a wysiwyg development tool

    for your local install I will post a few of the path alterations you need to make in both (2) configure.php files and this might not be all - adjust for where you have your installed like where I have /zen1/ replace with the sub-dir you have

    Code:
      // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
      define('HTTP_SERVER', 'http://localhost');
      define('HTTPS_SERVER', 'https://localhost');
    
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      define('DIR_WS_CATALOG', '/zen1/');
      define('DIR_WS_HTTPS_CATALOG', '/zen1/');
    
    // * DIR_FS_* = Filesystem directories (local/physical)
      //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
      define('DIR_FS_CATALOG', 'c:/easyphp/www/zen1/');
    And your DB changes
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2008
    Posts
    20
    Plugin Contributions
    0

    Default Re: Dreamweaver Local Site Easy Php Trouble.

    Thank You for your Help!

    Now I have the Following Error:

    Sorry!
    There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.

    How do I deal with the Database?
    Is it possible to connect with the remote database from my local server or do I have to copy the database in my mysql. How does it work?

    (I use Dreamweaver as a text editor for css & other modifications, I know the design tab is useless for zc. Thank you for the advise anyway.)

    Jacobo

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Dreamweaver Local Site Easy Php Trouble.

    Is it possible to connect with the remote database from my local server or do I have to copy the database in my mysql. How does it work?
    No to the remote connect and not a good idea - Yes as to copying the DB -creating a DB locally with easyphp and inserting/importing your copy to it
    Zen-Venom Get Bitten

  5. #5
    Join Date
    May 2008
    Posts
    20
    Plugin Contributions
    0

    Default Re: Dreamweaver Local Site Easy Php Trouble.

    Thank you very much!

    Now I have my running local server running for tests.

    I copied the database and everything works.

    bye!

 

 

Similar Threads

  1. Having trouble installing on local wampserver2.0
    By mdivk in forum Installing on a Windows Server
    Replies: 14
    Last Post: 18 Apr 2012, 07:44 AM
  2. trouble setting up ldomain on local machine
    By chicaloca in forum Installing on a Windows Server
    Replies: 2
    Last Post: 19 May 2010, 04:44 AM
  3. Trouble setting up a local domain
    By pradeeppailoor in forum Installing on a Windows Server
    Replies: 7
    Last Post: 25 Jan 2010, 09:25 PM
  4. Trouble Setting Up a Local Domain
    By ekrieg in forum Installing on a Windows Server
    Replies: 1
    Last Post: 9 Dec 2009, 07:35 PM
  5. Local copy, trouble copying design from live site
    By bakerman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jan 2009, 09:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR