Thread: Admin area

Page 1 of 5 123 ... LastLast
Results 1 to 10 of 47
  1. #1
    Join Date
    Apr 2022
    Location
    United Kingdon
    Posts
    94
    Plugin Contributions
    0

    Default Admin area

    https://angiesartspace.co.uk/
    Zen cart version v1.5.7d
    MySQL Version 10.3.34-MariaDB-cll-lve
    PHP Version 7.4.28

    Fresh install today, no mods or changes made apart from name and address added after install in admin area.

    I downloaded the zip file and followed the instructions to insall and the front end of the site looks fine, but the admin area is one long list and if you click on anything to try and look at it etc you have to scroll down a fair way to see what you clicked ok.

    I have attached a picture but it only covers a small part. I have no idea how to correct this issue.

    Name:  zen admin.jpg
Views: 174
Size:  25.1 KB

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Admin area

    You have to clear your cache. You have some old CSS.

    https://docs.zen-cart.com/user/new_u...owser_caching/
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Apr 2022
    Location
    United Kingdon
    Posts
    94
    Plugin Contributions
    0

    Default Re: Admin area

    Thank you. Have cleared cache etc and turned it off for now. Admin area is still the same but am lost with old css and what it is and where.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Admin area

    What are your settings in your YOUR_ADMIN/includes/configure.php file up to the point of identifying your database information? It seems that perhaps there is a mix of http and https. That could cause the loss of css formatting.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Apr 2022
    Location
    United Kingdon
    Posts
    94
    Plugin Contributions
    0

    Default Re: Admin area

    I am not sure if this is the right file but I woul.dnt know if it is rigth or wrong.


    <?php
    /**
    * @copyright Copyright 2003-2021 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by Zen Cart Installer on Sat Apr 09 2022 17:23:49
    */

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

    /**
    * Enter the domain for your store
    * If you have SSL, enter the correct https address in BOTH the HTTP_SERVER and HTTPS_SERVER settings, instead of just an http address.
    */
    define('HTTP_SERVER', 'https://angiesartspace.co.uk');
    define('HTTPS_SERVER', 'https://angiesartspace.co.uk');

    /**
    * If you have https enabled on your website, set this to 'true'
    */
    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', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    /**
    * 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', '/home/angiesar/public_html/');

    /**
    * 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', 'utf8mb4'); // 'utf8mb4' or older 'utf8' / 'latin1' are most common
    define('DB_SERVER', 'localhost'); // address of your db server
    define('DB_SERVER_USERNAME', 'xxxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxx');
    define('DB_DATABASE', 'xxxxxxxx');

    /**
    * 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');

    /**
    * Reserved for future use
    */
    define('SESSION_STORAGE', 'reserved for future use');

    /**
    * Advanced use only:
    * The following are OPTIONAL, and should NOT be set unless you intend to change their normal use. Most sites will leave these untouched.
    * To use them, uncomment AND add a proper defined value to them.
    */
    // define('DIR_FS_SQL_CACHE' ...
    // define('DIR_FS_DOWNLOAD' ...
    // define('DIR_FS_LOGS' ...

    // End Of File

  6. #6
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,221
    Plugin Contributions
    1

    Default Re: Admin area

    Quote Originally Posted by Angiex1 View Post
    I am not sure if this is the right file but I woul.dnt know if it is rigth or wrong.


    <?php
    /**
    * @copyright Copyright 2003-2021 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by Zen Cart Installer on Sat Apr 09 2022 17:23:49
    */

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

    /**
    * Enter the domain for your store
    * If you have SSL, enter the correct https address in BOTH the HTTP_SERVER and HTTPS_SERVER settings, instead of just an http address.
    */
    define('HTTP_SERVER', 'https://angiesartspace.co.uk');
    define('HTTPS_SERVER', 'https://angiesartspace.co.uk');

    /**
    * If you have https enabled on your website, set this to 'true'
    */
    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', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    /**
    * 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', '/home/angiesar/public_html/');

    /**
    * 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', 'utf8mb4'); // 'utf8mb4' or older 'utf8' / 'latin1' are most common
    define('DB_SERVER', 'localhost'); // address of your db server
    define('DB_SERVER_USERNAME', 'xxxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxx');
    define('DB_DATABASE', 'xxxxxxxx');

    /**
    * 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');

    /**
    * Reserved for future use
    */
    define('SESSION_STORAGE', 'reserved for future use');

    /**
    * Advanced use only:
    * The following are OPTIONAL, and should NOT be set unless you intend to change their normal use. Most sites will leave these untouched.
    * To use them, uncomment AND add a proper defined value to them.
    */
    // define('DIR_FS_SQL_CACHE' ...
    // define('DIR_FS_DOWNLOAD' ...
    // define('DIR_FS_LOGS' ...

    // End Of File
    There are two configure.php files in a ZC fileset. The Store one is /includes/configure.php - which you have pasted. It is the contents of the Admin file that @mc12345678 would like to see, located at YOUR_ADMIN/includes/configure.php
    Simon

  7. #7
    Join Date
    Apr 2022
    Location
    United Kingdon
    Posts
    94
    Plugin Contributions
    0

    Default Re: Admin area

    Thanks Simon, hopefully this is correct, php is not my thing and its a few years since have used a website.

    <?php
    /**
    * @copyright Copyright 2003-2021 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by Zen Cart Installer on Sat Apr 09 2022 17:23:49
    */


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

    /**
    * 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://angiesartspace.co.uk');
    /**
    * 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', 'https://angiesartspace.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://angiesartspace.co.uk');

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

    /**
    * 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', '/home/xxxxxxx/public_html/');

    /**
    * 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', 'utf8mb4'); // 'utf8mb4' or older 'utf8' / 'latin1' are most common
    define('DB_SERVER', 'localhost'); // address of your db server
    define('DB_SERVER_USERNAME', 'xxxxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxxxx');
    define('DB_DATABASE', 'xxxxxxxxx');

    /**
    * 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');

    /**
    * Reserved for future use
    */
    define('SESSION_STORAGE', 'reserved for future use');

    /**
    * Advanced use only:
    * The following are OPTIONAL, and should NOT be set unless you intend to change their normal use. Most sites will leave these untouched.
    * To use them, uncomment AND add a proper defined value to them.
    */
    // define('DIR_FS_SQL_CACHE' ...
    // define('DIR_FS_DOWNLOAD' ...
    // define('DIR_FS_LOGS' ...

    // End Of File

  8. #8
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,221
    Plugin Contributions
    1

    Default Re: Admin area

    Quote Originally Posted by Angiex1 View Post
    Thanks Simon, hopefully this is correct, php is not my thing and its a few years since have used a website.

    <?php
    /**
    * @copyright Copyright 2003-2021 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by Zen Cart Installer on Sat Apr 09 2022 17:23:49
    */


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

    /**
    * 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://angiesartspace.co.uk');
    /**
    * 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', 'https://angiesartspace.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://angiesartspace.co.uk');

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

    /**
    * 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', '/home/xxxxxxx/public_html/');

    /**
    * 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', 'utf8mb4'); // 'utf8mb4' or older 'utf8' / 'latin1' are most common
    define('DB_SERVER', 'localhost'); // address of your db server
    define('DB_SERVER_USERNAME', 'xxxxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxxxx');
    define('DB_DATABASE', 'xxxxxxxxx');

    /**
    * 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');

    /**
    * Reserved for future use
    */
    define('SESSION_STORAGE', 'reserved for future use');

    /**
    * Advanced use only:
    * The following are OPTIONAL, and should NOT be set unless you intend to change their normal use. Most sites will leave these untouched.
    * To use them, uncomment AND add a proper defined value to them.
    */
    // define('DIR_FS_SQL_CACHE' ...
    // define('DIR_FS_DOWNLOAD' ...
    // define('DIR_FS_LOGS' ...

    // End Of File
    Yes, that's the correct file. I can't see anything untoward in it. Perhaps try accessing from a different device.
    Simon

  9. #9
    Join Date
    Apr 2022
    Location
    United Kingdon
    Posts
    94
    Plugin Contributions
    0

    Default Re: Admin area

    I haven't another device to use apart from my mobile which is a big no no for me personally. I have cleared cache, restarted my computer and also tried on google chrome, latest firefox and also edge and its all the same, without this fixing I can't use Zen cart though and its the better one for my needs to be honest.

    Am stumped as have installed more than once, completely uninstalled including taking the zip file out of the cpanel and completely deleting the database and user and always has this problem, cant use softaculous as have even tried that and cant log into the admin panel so completely uninstalled that and made sure the data base was deleted and user, have used the data base wizard and also manually done the data base all permissions given.

  10. #10
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Admin area

    Unfortunately, I don't see any specific issues with the contents of the two files that would cause a loss of css formatting. What about the existence of or access to the css files?

    In your admin directory, there is an includes folder that should have a css folder.
    What are the permissions (or as my ftp program calls it, the attributes of the folder) on that css folder?
    When opening that YOUR_ADMIN/includes/css folder, what are the contents or filenames?
    What are the file permissions of say the login.css file?

    If this doesn't prove fruitful, my next area of investigation would be related to.htaccess files and the content of them. Upon resolution of this local site issue I would advise making a folder filename change, though it's current status was helpful in determining some of the above responses.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 5 123 ... LastLast

Similar Threads

  1. v151 Trying to Access Admin Area Invokes /admin/alert_page.php
    By powrwrap in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 6 Jun 2013, 02:58 AM
  2. v150 Had to reset admin login details in DB now problems in admin area
    By aliali81 in forum General Questions
    Replies: 2
    Last Post: 15 May 2013, 05:32 PM
  3. Define a function that to be used from both admin and non-admin area?
    By Cindy2010 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Nov 2011, 07:35 AM
  4. admin login page is missing. cant access admin area
    By ztotheetothen in forum Customization from the Admin
    Replies: 11
    Last Post: 26 Feb 2011, 05:44 PM
  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

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