Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Admin Dashboard not showing layout and styles.

Started by emintah92, August 06, 2025, 02:23:41 AM

Previous topic - Next topic

emintah92

I got the latest version as at 05/08/2025 AbanteCart v1.4.2 installed on windows through WAMPSERVER with all required modules and extensions installed and activated.
The landing page and the customer-view works perfectly without any issues. The problem lies with the admin dashboard when logged in. The admin area fails to load any of the styling CSS and layouts for admin view.

I tried accessing the files through direct link clicks from the view-source on Chrome and Microsoft Edge, yet got an internal server error.
Renaming the .htaccess.text to .htaccess too didn't work though I have mod_rewrite.c and other required modules installed and on.

Please help me find out how to resolve the issue.

Basara

Hello.
First, check the file and folder permissions under the /admin/ directory to make sure Apache can access them.

Then check the server error log (C:\wamp64\logs\apache_error.log) to see what's causing the 500 error when trying to load the admin CSS files.

emintah92

I went to check the folders and all of them are writable by Apache.
The Apache error log is as follows:

[Wed Aug 06 08:15:28.662119 2025] [core:alert] [pid 16828:tid 1268] [client ::1:50113] C:/wamp64/www/abantecart/admin/.htaccess: Invalid command 'order', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/abantecart/index.php?rt=index/home&s=randompassword&token=RandomTokenHereInputO0000000

I can only say that I know next to nothing about Apache server files and editing .htaccess files so I haven't touched them at all. please help.  :'(

abolabo

Quote from: emintah92 on August 06, 2025, 04:28:53 AMI can only say that I know next to nothing about Apache server files and editing .htaccess files so I haven't touched them at all. please help.  :'(

Hi, this error depends on your current apache version.
Thank you for your report. Good catch.

To solve try to replace content of file C:/wamp64/www/abantecart/admin/.htaccess with this:
<IfModule !mod_authz_core.c>
    # Apache 2.2
    <FilesMatch "\.php$">
        Order deny,allow
        Deny from all
    </FilesMatch>
</IfModule>

<IfModule mod_authz_core.c>
    # Apache 2.4+
    <FilesMatch "\.php$">
        Require all denied
    </FilesMatch>
</IfModule>

and tell us result. If all fine we'll give you instruction what other places should be edited.

Thank you.

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -