Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2007
    Posts
    10
    Plugin Contributions
    0

    Default uploaded to a test site, but url does't work. Configure files?

    Hi. I am preparing to upgrade from zen 1.5.4 to 1.5.5f. This question is regarding a new install of zen cart 1.5.5f in a test folder. There are no plug-ins or add-ons or modifications at this point. I have uploaded the new version to a new folder (zen151fdemo) on my Hostgator linux sever in the public_html folder. My current live site is running php 5.6 and I set the new demo folder to run php 7.1. I ran the ZC_install app and it said it was successful and provided a link to the storefront (organicattire.com/zen151fdemo) and a link to the admin (organicattire.com/zen151fdemo/salience). However, neither of these links work. I just get a “page not found” page on my live site. I can access the new demo storefront by typing in organicattire.com/zen151fdemo/index.php. And I have been able to access the admin area by putting in organicattire.com/zen151fdemo/salience/index.php. But, I cannot figure out why the regular urls do not work. I think it must be something I am missing in the configure files, but I can’t see what, so I am posting them here hoping someone can help.

    These are the pertinent parts of the 2 configure files as they are now on the demo site. Thanks very much.


    * Enter the domain for your store

    * HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com

    * HTTPS_SERVER is your Secure/SSL webserver: eg-https://www.yourdomain.com
    */
    define('HTTP_SERVER', 'http://organicattire.com');
    define('HTTPS_SERVER', 'https://organicattire.com');
    /**

    * If you want to tell Zen Cart to use your HTTPS URL on sensitive pages like login and checkout, set this to 'true'. Otherwise 'false'. (Keep the quotes)
    */
    define('ENABLE_SSL', 'true');
    /**

    * These DIR_WS_xxxx values refer to the name of any subdirectory in which your store is located.
    * These values get added to the HTTP_CATALOG_SERVER and HTTPS_CATALOG_SERVER values to form the complete URLs to your storefront.
    * They should always start and end with a slash ... ie: '/' or '/foldername/'
    */
    define('DIR_WS_CATALOG', '/zen151fdemo/');
    define('DIR_WS_HTTPS_CATALOG', '/zen151fdemo/');
    /**

    * This is the complete physical path to your store's files. eg: /var/www/vhost/accountname/public_html/store/
    * Should have a closing / on it.
    */
    define('DIR_FS_CATALOG', '/home4/mendo11d/public_html/zen151fdemo/');
    /**

    * The following settings define your database connection.
    * These must be the SAME as you're using in your admin copy of configure.php
    */
    define('DB_TYPE', 'mysql'); // always 'mysql'
    define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
    define('DB_CHARSET', 'utf8'); // 'utf8' or 'latin1' are most common
    define('DB_SERVER', 'localhost'); // address of your db server
    define('DB_SERVER_USERNAME', 'mendo11d_orgat11');
    define('DB_SERVER_PASSWORD', 'hidden');
    define('DB_DATABASE', 'mendo11d_155fdemo');
    /**

    * This is an advanced setting to determine whether you want to cache SQL queries.
    * Options are 'none' (which is the default) and 'file' and 'database'.
    */
    define('SQL_CACHE_METHOD', 'none');


    and the admin config file:


    * Enter the domain for your Admin URL. If you have SSL, enter the correct https address in the HTTP_SERVER setting, instead of just an http address.

    */
    define('HTTP_SERVER', 'https://organicattire.com/zen151fdemo/salience');
    /**
    * Note about HTTPS_SERVER:
    * There is no longer an HTTPS_SERVER setting for the Admin. Instead, put your SSL URL in the HTTP_SERVER setting above.
    */
    /**

    * Note about DIR_WS_ADMIN
    * The DIR_WS_ADMIN value is now auto-detected.
    * In the rare case where it cannot be detected properly, you can add your own DIR_WS_ADMIN definition below.
    */
    /**

    * Enter the domain for your storefront URL.
    * Enter a separate SSL URL in HTTPS_CATALOG_SERVER if your store supports SSL.
    */
    define('HTTP_CATALOG_SERVER', 'http://organicattire.com');
    define('HTTPS_CATALOG_SERVER', 'https://organicattire.com');
    /**

    * Do you use SSL for your customers login/checkout on the storefront? If so, enter 'true'. Else 'false'.
    */
    define('ENABLE_SSL_CATALOG', 'true');
    /**

    * These DIR_WS_xxxx values refer to the name of any subdirectory in which your store is located.
    * These values get added to the HTTP_CATALOG_SERVER and HTTPS_CATALOG_SERVER values to form the complete URLs to your storefront.
    * They should always start and end with a slash ... ie: '/' or '/foldername/'
    */
    define('DIR_WS_CATALOG', '/zen151fdemo/');
    define('DIR_WS_HTTPS_CATALOG', '/zen151fdemo/');
    /**

    * This is the complete physical path to your store's files. eg: /var/www/vhost/accountname/public_html/store/
    * Should have a closing / on it.
    */
    define('DIR_FS_CATALOG', '/home4/mendo11d/public_html/zen151fdemo/');
    /**

    * NOTE about DIR_FS_ADMIN
    * The value for DIR_FS_ADMIN is now auto-detected.
    * In the very rare case where there is a need to override the autodetection, simply add your own definition for it below.
    */
    /**

    * The following settings define your database connection.
    * These must be the SAME as you're using in your non-admin copy of configure.php
    */
    define('DB_TYPE', 'mysql'); // always 'mysql'
    define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
    define('DB_CHARSET', 'utf8'); // 'utf8' or 'latin1' are most common
    define('DB_SERVER', 'localhost'); // address of your db server
    define('DB_SERVER_USERNAME', 'mendo11d_orgat11');
    define('DB_SERVER_PASSWORD', 'hidden');
    define('DB_DATABASE', 'mendo11d_155fdemo');
    /**

    * This is an advanced setting to determine whether you want to cache SQL queries.
    * Options are 'none' (which is the default) and 'file' and 'database'.
    */
    define('SQL_CACHE_METHOD', 'none');

  2. #2
    Join Date
    Feb 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: uploaded v 1.5.5f to a test site, but url does't work. Configure files?

    Hi. Never mind, I found the problem. I needed to add the new test folder to the rewrite rules from the Ceon uri mapping app that I have installed on my live site. The changes are made in the includes/.htaccess file. Works now.

 

 

Similar Threads

  1. v150 Customer Uploaded Files Plugin: Sorry, your security clearance does not allow you...
    By looseshengji in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 21 Apr 2013, 02:16 AM
  2. Uploaded Zencart but wrong url
    By robertrachel in forum Installing on a Windows Server
    Replies: 2
    Last Post: 20 May 2010, 11:10 AM
  3. Downloading Free PDF Files does not work?
    By Franco in forum General Questions
    Replies: 7
    Last Post: 13 Mar 2009, 07:46 PM
  4. Does Manufacturer URL work ?
    By Muddler in forum General Questions
    Replies: 9
    Last Post: 17 Jun 2006, 02:18 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