Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Nov 2009
    Posts
    339
    Plugin Contributions
    0

    Have a Drink URGENT error in renaming admin sessions

    Imade a mistake in the renaming of the admin sessions url. Now that I've renamed my main file and configure .php files I get a blank page with a input file error. I also can't login to my zen admin.
    Any way to get to change the sessions name through FTP, if so what file do I alter. Any help would be appreciated. I GUESS I could also just repalce the altered files with my backup db files.

  2. #2
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: URGENT error in renaming admin sessions

    When you say that you have "renamed admin sessions" what have you actually done? Have to renamed the admin FOLDER, or have your renamed the ZENID tag found in the URL?

    As you refer to the CONFIGURE file, I assume you have just renamed the ADMIN folder, but then you say that you have renamed your main file. If it is just the admin folder you are trying to rename, you don't need to rename any FILE, just the FOLDER.

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

  3. #3
    Join Date
    Nov 2009
    Posts
    339
    Plugin Contributions
    0

    Default Re: URGENT error in renaming admin sessions

    on my adin sessions file the path is: /magma/users/u72/vws30408/public_html/TTEZENCART/cache.

    besides wanting to change the TTEZENCART folder to tte only I also want to change the http://30408 .vws.magma.ca/TTEZENCART to
    http://www2.tte.ca/tte

    you can actually go to either url and my site will come up.
    my question is do I change the /magma/users/u72/vws30408/public_html/tte to show the www2.tte.ca instead of the vws30408.

    In my admin configure file this is what I presently have:
    define('DIR_WS_CATALOG', '/TTEZENCART/');do i change this to /tte
    define('DIR_WS_HTTPS_CATALOG', '/TTEZENCART/');same her

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * 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', '/magma/users/u72/vws30408/public_html/TTEZENCART/'); In here besides the TTEZENCART do I change the vws30408 to ? ww2.tte.ca

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connectiondoes all this remain the same
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'mysqlvws1.magma.ca');
    define('DB_SERVER_USERNAME', 'vws30408');
    define('DB_SERVER_PASSWORD', 'xxxxxxx!');
    define('DB_DATABASE', 'vws30408');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage
    Last edited by RobertG; 26 Apr 2010 at 06:53 PM.

  4. #4
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: URGENT error in renaming admin sessions

    Your account hasn't moved on the server, so leave the paths before any PUBLIC_HTML string as they are.

    You should have a value for HTTP_SERVER, which you will want to change to http://www2.tte.ca

    You will then need to change the DIR_WS_CATALOG to /tte/

    And finally, these '/magma/users/u72/vws30408/public_html/TTEZENCART/' should all be '/magma/users/u72/vws30408/public_html/tte/'

    The session cache location will remain unaffected, as you haven't renamed your account with your host, only added a subdomain.

    As for the secure settings, this very much depends on your SSL environment, and whether you own the SSL cert, or you're using a shared cert.

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

  5. #5
    Join Date
    Nov 2009
    Posts
    339
    Plugin Contributions
    0

    Default Re: URGENT error in renaming admin sessions

    WE actually have another site running live at this time, This is the one we hope to have replaced with the test site one shortly.
    www.thetrailingedge.com

    Now I followed all directives , changed the configure files made sure the sessions admin was the same as entered. I RENAMED my TTEZENCART to tte via ftp. Both folders are present in the public_html folder. I then renamed the TTEZENCART to oldTTEZENCART and proceed to attdempt to open my website and all I got was a Blank Page and a "no input file found"

    I renamed the folder back to TTEZENCART and everything returned.

    I can open my main page with www2.tte.ca but when I attempt to open a product information page it still comes up with the 30408.vws.magma.ca/TTEZENCART/images/XXXXX

    I know I'm doing something wrong but can't figure out what. My hosting company confirmed the changes I was making, but thats as far as they were able to go.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: URGENT error in renaming admin sessions

    You've still got some things mixed up.
    Post your ENTIRE /includes/configure.php file contents (except the password).

    And if your admin is also broken, post the /admin/includes/configure.php file contents as well. (hide the password).
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Nov 2009
    Posts
    339
    Plugin Contributions
    0

    Default Re: URGENT error in renaming admin sessions

    includes/configure.php
    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www2.tte.ca');
    define('HTTPS_SERVER', 'https://www2.tte.ca');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', '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_CATALOG', '/tte/');
    define('DIR_WS_HTTPS_CATALOG', '/tte/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * 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', '/magma/users/u72/vws30408/public_html/tte/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'mysqlvws1.magma.ca');
    define('DB_SERVER_USERNAME', 'vws30408');
    define('DB_SERVER_PASSWORD', 'XXXXXXXX!');
    define('DB_DATABASE', 'vws30408');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, 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', '/magma/users/u72/vws30408/public_html/tte/cache');

    // EOF
    admin/inlcudes/configure.php
    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://30408.vws.magma.ca');
    define('HTTPS_SERVER', 'https://30408.vws.magma.ca');
    define('HTTP_CATALOG_SERVER', 'http://30408.vws.magma.ca');
    define('HTTPS_CATALOG_SERVER', 'https://30408.vws.magma.ca');

    // 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', '/TTEZENCART/admin/');
    define('DIR_WS_CATALOG', '/TTEZENCART/');
    define('DIR_WS_HTTPS_ADMIN', '/TTEZENCART/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/TTEZENCART/');

    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', '/magma/users/u72/vws30408/public_html/TTEZENCART/admin/');
    define('DIR_FS_CATALOG', '/magma/users/u72/vws30408/public_html/TTEZENCART/');

    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', 'mysqlvws1.magma.ca');
    define('DB_SERVER_USERNAME', 'vws30408');
    define('DB_SERVER_PASSWORD', 'XXXXXX!');
    define('DB_DATABASE', 'vws30408');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, 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', '/magma/users/u72/vws30408/public_html/TTEZENCART/cache');

    // EOF

  8. #8
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: URGENT error in renaming admin sessions

    Okay, so ... for your admin file, you need to replace all your uppercase TTEZENCART with just lowercase tte

    And the non-admin file looks correct.

    Are you sure that your changes are successfully uploading to the server? (If the file is read-only on the server, then you can't overwrite it unless you first make it writable.)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Nov 2009
    Posts
    339
    Plugin Contributions
    0

    Default Re: URGENT error in renaming admin sessions

    includes/configure.php-
    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www2.tte.ca');
    define('HTTPS_SERVER', 'https://www2.tte.ca');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', '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_CATALOG', '/tte/');
    define('DIR_WS_HTTPS_CATALOG', '/tte/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * 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', '/magma/users/u72/vws30408/public_html/tte/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'mysqlvws1.magma.ca');
    define('DB_SERVER_USERNAME', 'vws30408');
    define('DB_SERVER_PASSWORD', 'XXXXXXXX');
    define('DB_DATABASE', 'vws30408');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, 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', '/magma/users/u72/vws30408/public_html/tte/cache');

    // EOF
    Admin/includes/configure.php

    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://www2.tte.ca');
    define('HTTPS_SERVER', 'https://www2.tte.ca');
    define('HTTP_CATALOG_SERVER', 'http://www2.tte.ca');
    define('HTTPS_CATALOG_SERVER', 'https://www2.tte.ca');

    // 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', '/tte/admin/');
    define('DIR_WS_CATALOG', '/tte/');
    define('DIR_WS_HTTPS_ADMIN', '/tte/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/tte/');

    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', '/magma/users/u72/vws30408/public_html/tte/admin/');
    define('DIR_FS_CATALOG', '/magma/users/u72/vws30408/public_html/tte/');

    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', 'mysqlvws1.magma.ca');
    define('DB_SERVER_USERNAME', 'vws30408');
    define('DB_SERVER_PASSWORD', 'xxxxxxxx');
    define('DB_DATABASE', 'vws30408');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, 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', '/magma/users/u72/vws30408/public_html/tte/cache');

    // EOF

  10. #10
    Join Date
    Nov 2009
    Posts
    339
    Plugin Contributions
    0

    Default Re: URGENT error in renaming admin sessions

    Quote Originally Posted by DrByte View Post
    Okay, so ... for your admin file, you need to replace all your uppercase TTEZENCART with just lowercase tte

    And the non-admin file looks correct.

    Are you sure that your changes are successfully uploading to the server? (If the file is read-only on the server, then you can't overwrite it unless you first make it writable.)

    All configure files files are at 700. I'm using filezilla for ftp uploading and checking to make sure files have been overwritten with any changes.

    You'll notice that the admin file above has all the rectified text.

    Am I right to understand that once I rename the TTEZENCART file the path should automatically change to the tte folder since that is what has been configured. I just want to make sure that your aware that I have both folders on the server at this time and that I rename the old folder so that www2.tte.ca will use the new tte folder?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 404 error after renaming admin folder fresh install
    By Daviator in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 30 Mar 2012, 04:09 PM
  2. admin page 404 error after renaming it (v1.3.9b)
    By swirlback in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 12 May 2010, 11:00 PM
  3. Replies: 10
    Last Post: 1 Jun 2008, 06:38 AM
  4. Error Message After Renaming Admin Folder
    By bgroup99 in forum General Questions
    Replies: 5
    Last Post: 23 Jul 2007, 10:49 AM
  5. PHP error, sessions related? Can't login to Admin area 5.2.0
    By deadgraviti in forum Installing on a Mac Server
    Replies: 4
    Last Post: 18 Dec 2006, 05:41 PM

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