Page 1 of 1

[REPEAT QUESTION] symbol loading problem

Posted: Thu Apr 08, 2021 9:49 pm
by ceko21
Hello to everyone
When I enter my website as www.sheamona.com, the symbols for items such as basket, favorites, etc. are not loaded.

Image


but when I log in as sheamona.com I do not encounter such a problem.

Image
What is the cause of this problem and how can I solve it.

Re: symbol loading problem

Posted: Thu Apr 08, 2021 9:59 pm
by straightlight
OC version. Issue is either with .htaccess, config.php and / or admin/config.php files. You'll need to post these infos (without password) for forum suppotters to take a look. In addition, to use the Developers Kit from your browser (F12) and inspect each elements.

Re: symbol loading problem

Posted: Thu Apr 08, 2021 10:06 pm
by ceko21
opencart version 3.0.x


.htaccess

Code: Select all

# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.

# 2. In your opencart directory rename htaccess.txt to .htaccess.

# For any support issues please visit: http://www.opencart.com

Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|.twig|\.ini|\.log|(?<!robots)\.txt))">
 Require all denied
## For apache 2.2 and older, replace "Require all denied" with these two lines :
# Order deny,allow
# Deny from all
</FilesMatch>



RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.sheamona.com.$
RewriteRule ^(.*)$ https://sheamona.com/$1 [L,R=301]

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

config.php

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'https://sheamona.com/');

// HTTPS
define('HTTPS_SERVER', 'https://sheamona.com/');

admin config.php

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'https://sheamona.com/admin/');
define('HTTP_CATALOG', 'https://sheamona.com/');

// HTTPS
define('HTTPS_SERVER', 'https://sheamona.com/admin/');
define('HTTPS_CATALOG', 'https://sheamona.com/');

Re: symbol loading problem

Posted: Thu Apr 08, 2021 10:08 pm
by straightlight
For .htaccess configurations, see this post if it helps: viewtopic.php?f=202&t=223290&p=818563#p818563 . Please ensure to read the entire post.

Re: symbol loading problem

Posted: Thu Apr 08, 2021 10:34 pm
by ceko21
straightlight wrote:
Thu Apr 08, 2021 10:08 pm
For .htaccess configurations, see this post if it helps: viewtopic.php?f=202&t=223290&p=818563#p818563 . Please ensure to read the entire post.
I need to add the codes here to my .htaccess file.

Re: symbol loading problem

Posted: Fri Apr 09, 2021 6:25 pm
by paulfeakins
ceko21 wrote:
Thu Apr 08, 2021 9:49 pm
What is the cause of this problem and how can I solve it.
This question has been asked and answered on this forum thousands of times, please search before you post.

Locking topic.