Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2007
    Location
    Ontario
    Posts
    15
    Plugin Contributions
    0

    Default Big Problem - Cart is gone!

    Well I'm really over my head now...

    Things were working fine today, until I decided to try to go into my godaddy account, and forward my address to point at www.airspeed-x.com/catalog and then mask it so it would only show www.airspeed-x.com

    I realized this isn't the way to do it, so I unforwarded and unmasked in godaddy. Now, when I try to access my cart the normal way (IE: www.airspeed-x.com/catalog ) I get this page: nddbc.html

    I know how to move directories now so that my cart is the actual index of the site (public_html), but I can't even access my admin page for Zen Cart. I have already uploaded my website backup to the server, but nothing has changed...

    Hopefully I'm making this situation clear...

    Any help would be appreciated!

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Big Problem - Cart is gone!

    That page is telling you that the cart can not connect to the database - Please post your includes/configure.php - minus your password -

    BTW - have you read the other posts about GoDaddy?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Oct 2007
    Location
    Ontario
    Posts
    15
    Plugin Contributions
    0

    Default Re: Big Problem - Cart is gone!

    I'll post the configure.php

    I did read some posts, but couldn't find anything specific. I'm sure something is out there though, its just a matter of finding it.

  4. #4
    Join Date
    Oct 2007
    Location
    Ontario
    Posts
    15
    Plugin Contributions
    0

    Default Re: Big Problem - Cart is gone!

    Edit: 1 second, I may have figured it out. Thanks Kim! I'll let you know.


    Edit #2: Ok, I have my cart back. I also changed my password today, so I had to manuall change it in the configure.php file. Now I just need to fix the catalog/admin side of it... Should be able to figure it out. Thanks again!
    Last edited by Airspeed; 15 Oct 2007 at 09:46 PM.

  5. #5
    Join Date
    Oct 2007
    Location
    Ontario
    Posts
    15
    Plugin Contributions
    0

    Default Admin Problem

    Well, I thought I could fix the admin side of things, but apparently I need some help. Didn't think changing a password would cause this much of a problem.

    My admin/includes/configure.php :

    Code:
    define('HTTP_SERVER', 'http://airspeed-x.com');
      define('HTTPS_SERVER', 'https://airspeed-x.com');
      define('HTTP_CATALOG_SERVER', 'http://airspeed-x.com');
      define('HTTPS_CATALOG_SERVER', 'https://airspeed-x.com');
    
      // Use secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'false');
      define('ENABLE_SSL_ADMIN', 'false');
    
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      define('DIR_WS_ADMIN', '/catalog/admin/');
      define('DIR_WS_CATALOG', '/catalog/');
      define('DIR_WS_HTTPS_ADMIN', '/catalog/admin/');
      define('DIR_WS_HTTPS_CATALOG', '/catalog/');
    
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
      define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
      define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
      define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
      define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
      define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
      define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
    
    // * 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_ADMIN', '/home2/airspeed/public_html/catalog/admin/');
      define('DIR_FS_CATALOG', '/home2/airspeed/public_html/catalog/');
    
      define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
      define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
      define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
      define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
      define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
      define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    
    // define our database connection
      define('DB_TYPE', 'mysql');
      define('DB_PREFIX', '');
      define('DB_SERVER', 'localhost');
      define('DB_SERVER_USERNAME', 'xxxx- CURRENT NAME');
      define('DB_SERVER_PASSWORD', 'xxxx - CURRENT PASS');
      define('DB_DATABASE', 'airspeed_store');
      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', 'none'); 
      define('DIR_FS_SQL_CACHE', '/home2/airspeed/public_html/catalog/cache');
    I get the dreaded error when I try to log in to the admin:

    0 DB_ERROR_NOT_CONNECTED
    in:
    [select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.



    I have checked and triple checked that everything matches up (User name, password, database name, directories...) Can't find the problem.

  6. #6
    Join Date
    Oct 2007
    Location
    Ontario
    Posts
    15
    Plugin Contributions
    0

    Default Re: Admin Problem

    Problem Fixed!

    For others with this problem - make sure you upload the right file to the right directory; and don't do too much work in one day!

 

 

Similar Threads

  1. v151 All font gone big...
    By Quality Refurbished in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 May 2013, 11:44 PM
  2. I have a problem, my cart is gone!!
    By bayco90 in forum General Questions
    Replies: 14
    Last Post: 29 Jul 2011, 05:49 PM
  3. More info link gone and add to cart gone
    By fredmccay in forum General Questions
    Replies: 3
    Last Post: 15 Jan 2011, 02:03 PM
  4. Please help with zen cart main page there is a big problem
    By laurieudy in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Nov 2007, 04:58 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