Admin area

Started by angiex1 on 9 Apr 2022, 7:55 PM · Views: 5,854

Results 1 to 20 of 47
9 Apr 2022, 7:55 PM
#1
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

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.

Attachment 19948

https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.

9 Apr 2022, 9:02 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,740
Plugin Contributions:
56

Re: Admin area

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

https://docs.zen-cart.com/user/new_user_topics/browser_caching/

That Software Guy. My Store: Zen Cart Support
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.

9 Apr 2022, 9:16 PM
#3
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

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.

https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.

9 Apr 2022, 11:41 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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...

10 Apr 2022, 8:16 AM
#5
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

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

https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.

10 Apr 2022, 8:40 AM
#6
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Admin area

Angiex1:

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

10 Apr 2022, 9:31 AM
#7
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

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

https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.

10 Apr 2022, 11:34 AM
#8
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Admin area

Angiex1:

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

10 Apr 2022, 11:50 AM
#9
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

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.

https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.

10 Apr 2022, 11:53 AM
#10
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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...

10 Apr 2022, 11:58 AM
#11
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Admin area

simon1066:

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

Angiex1:

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.

It's not specific to the device accessing the site, it is that the server is preventing the css file(s) from being given to the browser.

For a split moment I thought that perhaps a website cache tool might have been a cause of not getting too the css, but that would serve "old" content of an existing file, not prevent display of a file that now exists but didn't before.... still leads me back to file/folder permissions or file existence.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

10 Apr 2022, 12:02 PM
#12
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: Admin area

If I go to filemanager/public_html/includes folder and open the folder there is no css folder is this the correct path?

https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.

10 Apr 2022, 12:18 PM
#13
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Admin area

Angiex1:

If I go to filemanager/public_html/includes folder and open the folder there is no css folder is this the correct path?

No, that is not the correct folder. Go up one folder, and then to the folder that is used to access your admin. I am trying not to post that folder name on plain text even though it should be changed at the conclusion of resolving this issue.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

10 Apr 2022, 12:25 PM
#14
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: Admin area

Is this correct filemanager/public_html/admin folder name inside that folder there is no css folder or file but in
filemanager/public_html/admin folder name/includes there is a css folder permissions are set at 755 for the css folder

https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.

10 Apr 2022, 12:34 PM
#15
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Admin area

Angiex1:

Is this correct filemanager/public_html/admin folder name inside that folder there is no css folder or file but in
filemanager/public_html/admin folder name/includes there is a css folder permissions are set at 755 for the css folder

Correct folder. Looks like permissions on the folder are sufficient if that same permission is on other folders like the includes folder that contains that css folder.
Permissions on the files within? (Don't change them if they are different than already discovered, this is only an investigation/information gathering question.)
Also though need to know what files are present at least should include the login.css file.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

10 Apr 2022, 12:44 PM
#16
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: Admin area

This is inside the css folder, easier to attach a screenshot.

Attachment 19949

https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.

10 Apr 2022, 1:16 PM
#17
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: Admin area

File permission for filemanager/public_html/admin folder name/includes is also 755

https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.

10 Apr 2022, 1:36 PM
#18
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Admin area

Okay, so curious why only jalert.css has a permission of 755 instead of the expected 644, but is not the cause of this issue.

Now, I might normally suggest reuploading the css files, but an earlier post indicated that this same issue had occurred even when attempted a second or alternate time while trying to resolve this. While the issue may be related to that process or the tools used where perhaps remotely there is a problem uploading css files that theory is shot down by the fact that the catalog side is not experiencing the same issue.

So, the next thought is that perhaps there is an issue with the security files that give access to those css files.

The above image rightfully identifies an absence of an .htaccess file in YOUR_ADMIN/includes/css.
So, if you look in the YOUR_ADMIN/includes folder and open the .htaccess file, could you post the contents of that file? Note before pressing the 'Post Quick Reply' button, be sure that the file content is surrounded by ```
[CODE] [/CODE]


Could you also indicate the version of server software that is presented from the (perhaps hard to read) admin link titled version (can find it by doing a text search of the page for version) .

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

10 Apr 2022, 1:45 PM
#19
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: Admin area

mc12345678:

Could you also indicate the version of server software that is presented from the (perhaps hard to read) admin link titled version (can find it by doing a text search of the page for version) .

Is the above in zencarts admin or my cpanel?

Contents of the file below

#
# @copyright Copyright 2003-2020 Zen Cart Development Team
# @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
# @version $Id: DrByte 2020 Oct 29 Modified in v1.5.7a $
#
# This is used with Apache WebServers
#
# The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
# It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
# Will also prevent people from seeing what is in the dir. and any sub-directories
#
# For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
# Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.
# Example:
#<Directory "/usr/local/apache/htdocs">
#  AllowOverride Limit Options Indexes
#</Directory>
###############################

# deny *everything*
<FilesMatch ".*">
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
  <IfModule !mod_authz_core.c>
    Order Allow,Deny
    Deny from all
  </IfModule>
</FilesMatch>

# but now allow just *certain* necessary files:
<FilesMatch "(?i).*\.(js|css|jpe?g|gif|webp|png|otf|ico|cur|map|eot|svgz?|ttf|woff2?)$">
  <IfModule mod_authz_core.c>
    Require all granted
  </IfModule>
  <IfModule !mod_authz_core.c>
    Order Allow,Deny
    Allow from all
  </IfModule>
</FilesMatch>

IndexIgnore */* 

https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.

10 Apr 2022, 1:46 PM
#20
angiex1 avatar

angiex1

New Zenner

Join Date:
Apr 2022
Location:
United Kingdon
Posts:
94
Plugin Contributions:
0

Re: Admin area

#
# @copyright Copyright 2003-2020 Zen Cart Development Team
# @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
# @version $Id: DrByte 2020 Oct 29 Modified in v1.5.7a $
#
# This is used with Apache WebServers
#
# The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
# It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
# Will also prevent people from seeing what is in the dir. and any sub-directories
#
# For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
# Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.
# Example:
#<Directory "/usr/local/apache/htdocs">
#  AllowOverride Limit Options Indexes
#</Directory>
###############################

# deny *everything*
<FilesMatch ".*">
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
  <IfModule !mod_authz_core.c>
    Order Allow,Deny
    Deny from all
  </IfModule>
</FilesMatch>

# but now allow just *certain* necessary files:
<FilesMatch "(?i).*\.(js|css|jpe?g|gif|webp|png|otf|ico|cur|map|eot|svgz?|ttf|woff2?)$">
  <IfModule mod_authz_core.c>
    Require all granted
  </IfModule>
  <IfModule !mod_authz_core.c>
    Order Allow,Deny
    Allow from all
  </IfModule>
</FilesMatch>

IndexIgnore */*

https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.