hi all, I hope someone can help, I have an issue with my clients site. https://www.toolmegastore.com where each someone visits the site the icons don't show correctly until I click on a product, then the icons appear. During this time if I were to click on the add to cart button, it comes up with an unknown error.
If this has already been answered then I apologise now, other than that id appreciate it if someone could point me in the right direction.
Many Thanks
Neil..
If this has already been answered then I apologise now, other than that id appreciate it if someone could point me in the right direction.
Many Thanks
Neil..
Sounds like a paid job ..
Nevertheless, you should fix the cors rules (Cross Origin).
Check the config.php and fix the paths (https instead http).
Additionally the .htaccess
And don't mix loading with www. and without.
And beside all: you are using the Journal Theme, ask their support for such - thx.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
your site doesn't run on https://www.toolmegastore.com but on https://toolmegastore.com, hence the CORS issues.
Someday you may explain how you can have clients and not know this or the use of web developer tools where these errors jump right at you.
Someday you may explain how you can have clients and not know this or the use of web developer tools where these errors jump right at you.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Lol yeah this is a pretty basic and common issue, you should probably level up your coding / OpenCart knowledge before taking on too many clients.
Anyway as above you need to decide on www or non-www and use that in your config files (I recommend www) and have a redirect in your .htaccess like this:
Code: Select all
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
Or this
Code: Select all
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: No registered users and 7 guests