Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Creating a test site

    database,i assume you are refering to zencart.sql i have? and how do i add this to wamp
    Via phpmyadmin option in wamp menu

  2. #2
    Join Date
    Nov 2009
    Location
    QLD, Australia
    Posts
    42
    Plugin Contributions
    0

    Default Re: Creating a test site

    Quote Originally Posted by misty View Post
    Via phpmyadmin option in wamp menu
    Does this look right for the config files?



    Code:
    // define our database connection
      define('DB_TYPE', 'mysql');
      define('DB_PREFIX', 'zen_');
      define('DB_SERVER', 'localhost');
      define('DB_SERVER_USERNAME', 'test');
      define('DB_SERVER_PASSWORD', '#######');
      define('DB_DATABASE', 'C:\wamp\www\ZenCart');
      define('USE_PCONNECT', 'false'); // use persistent connections?
      define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage
    
      // The next 2 "defines" are for SQL cache support.
      // For SQL_CACHE_METHOD, you can select from:  none, database, or file
      // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
      // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
      // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash  
      define('SQL_CACHE_METHOD', 'database'); 
      define('DIR_FS_SQL_CACHE', 'C:\wamp\www\ZenCart\cache');
    
    // EOF
    (thank you schoolboy for your instructions, if this doesn't work out for me, i will certainly give your method a go. )

 

 

Similar Threads

  1. Creating a Test site that mirrors my live site
    By mw4kids in forum General Questions
    Replies: 17
    Last Post: 3 Feb 2009, 02:59 PM
  2. Metatag errors after creating test site
    By Daynig in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 25 Mar 2008, 01:19 PM
  3. Problem Moving Test Site - Switches to test site folder
    By bullseye in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 1 Jan 2008, 10:47 PM
  4. Creating a test site
    By MeltDown in forum General Questions
    Replies: 2
    Last Post: 8 Apr 2007, 08:51 AM

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