Post by ceko21 » Thu Apr 08, 2021 9:49 pm

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.

Newbie

Posts

Joined
Tue Oct 24, 2017 4:34 am

Post by straightlight » Thu Apr 08, 2021 9:59 pm

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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ceko21 » Thu Apr 08, 2021 10:06 pm

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

Newbie

Posts

Joined
Tue Oct 24, 2017 4:34 am

Post by straightlight » 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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ceko21 » Thu Apr 08, 2021 10:34 pm

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.

Newbie

Posts

Joined
Tue Oct 24, 2017 4:34 am

Post by paulfeakins » Fri Apr 09, 2021 6:25 pm

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.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 151 guests