Page 1 of 2 12 LastLast
Results 1 to 10 of 23

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    71
    Plugin Contributions
    0

    Default Front End Pages Blank after Admin folder Rename

    I renamed my admin folder and everything seemed to work as planned. I can access everything in the Admin via the renamed folder without a problem. When I visit the front end of my site however I get nothing but a blank white page. I know there has to be a simple solution, but can not find anything in the help on what to do. Please Help!

    Cory

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

    Default Re: Front End Pages Blank after Admin folder Rename

    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2009
    Posts
    71
    Plugin Contributions
    0

    Default Re: Front End Pages Blank after Admin folder Rename

    Thanks for the reply Kobra. I have already stepped through this help file however. Maybe if you can see my config file it would help. I took out the database info and replaced my admin folder name with 'myadminfolder'

    <?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://www.alsliquor.com');
    define('HTTPS_SERVER', 'https://www.alsliquor.com');
    define('HTTP_CATALOG_SERVER', 'http://www.alsliquor.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.alsliquor.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', '/myadminfolder/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/myadminfolder/');
    define('DIR_WS_HTTPS_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', '/home/www/alsliquor.com/myadminfolder/');
    define('DIR_FS_CATALOG', '/home/www/alsliquor.com/');

    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 [changed to keep this a secret]
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'prefix');
    define('DB_SERVER', 'server');
    define('DB_SERVER_USERNAME', 'user');
    define('DB_SERVER_PASSWORD', 'password');
    define('DB_DATABASE', 'database');
    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', '/home/www/alsliquor.com/cache');

    // EOF

  4. #4
    Join Date
    Sep 2009
    Posts
    71
    Plugin Contributions
    0

    Default Re: Front End Pages Blank after Admin folder Rename

    Also when I edited this file, I only changed the three spots from 'admin' to my specified name. After I completed this, I changed my admin folder name on my server. Also I CHMOD the configure.php file to 444.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Front End Pages Blank after Admin folder Rename

    Front End Pages Blank after Admin folder Rename

    I have already stepped through this help file however

    Actually changing the admin configure file does not impact the front end

    There must have been some other thing that was done/changed

    You can look with FTP at your non admin files at the modified date
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Sep 2009
    Posts
    71
    Plugin Contributions
    0

    Default Re: Front End Pages Blank after Admin folder Rename

    You are right Kobra, I did open and re-upload my configure.php file that is found in the 'includes' folder. However I did not change anything in this file. Please see below:

    <?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://www.alsliquor.com');
    define('HTTPS_SERVER', 'https://www.alsliquor.com');

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

    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', '/home/www/alsliquor.com/');

    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', 'prefix');
    define('DB_SERVER', 'server');
    define('DB_SERVER_USERNAME', 'username');
    define('DB_SERVER_PASSWORD', 'password');
    define('DB_DATABASE', 'database');
    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', '/home/www/alsliquor.com/cache');

    // EOF

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Front End Pages Blank after Admin folder Rename

    I did open and re-upload my configure.php file
    If that is the only file with a recent date I woud quadruple check that it is not corrupt

    What do you use to open/edit these files with

    Maybe ias long as you have it locally, delete the one on the server and upload your local copy

    If you did not change it, why did you reload it?
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Front End Pages Blank after Admin folder Rename

    In the tutorial, it discusses error logs
    If using ver 1.3.9h and may be any 1.3.9.x install they will be in your /cache dir

    What do they say?
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Sep 2009
    Posts
    71
    Plugin Contributions
    0

    Default Re: Front End Pages Blank after Admin folder Rename

    Unfortuantally I am running v1.3.8a. I did try to install the cache system as instructed in the tutorial, but could not get it to report anything in the cache folder.

    I did however check it today and there is a .sql file that was written with today's date, but when I open it there is just a couple very long lines of gibberish. If you think it would be helpful I could post that.

    Thanks again for the help.

  10. #10
    Join Date
    Sep 2009
    Posts
    71
    Plugin Contributions
    0

    Default Re: Front End Pages Blank after Admin folder Rename

    Is there any other files besides the configure.php file that may cause the entire front end of the site to not show up. There isn't even anything when I check the source code. I am really running out of ideas here, if you can please let me know if there is anything else I can check. Thanks.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Suddenly Front end blank. Admin fine.
    By Nepherael in forum Templates, Stylesheets, Page Layout
    Replies: 77
    Last Post: 10 Jul 2016, 05:07 AM
  2. Log in after rename Rename "admin" folder does not work
    By flashmxfreak in forum General Questions
    Replies: 3
    Last Post: 3 Sep 2011, 12:38 PM
  3. cannot access blog after admin folder rename
    By bromerrill in forum Basic Configuration
    Replies: 4
    Last Post: 13 Apr 2010, 09:31 PM
  4. Admin Pages Broken After Rename of Store Admin Folder
    By sarshmeh in forum Basic Configuration
    Replies: 4
    Last Post: 26 Mar 2010, 02:41 AM
  5. Links in Admin area don't work after admin folder rename
    By bhfruitcakeco in forum General Questions
    Replies: 8
    Last Post: 27 Dec 2007, 06:55 PM

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