my website: Tworzenie sklepu internetowego
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Well you'll need to give us a lot more information than that. What URLs are in your config files? Are you using CloudFlare? What other things might be installed that redirect users? Etc.DesignCart wrote: ↑Sat Nov 19, 2022 12:36 amHello, I'm using Opencart 3.0.3.8 modified by IP-CAM, which runs on PHP 8.1. The shop works fine. However, when https is enabled it falls into a redirect loop. The htaccess file obviously doesn't have any redirects. The administration panel on https works fine. Has anyone had this problem? Anyone know how to solve it?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
I checked few files and I find line wich makes problems.
It is in system/framework.php
line: $route->dispatch(new Action($config->get('action_router')), new Action($config->get('action_error')));
What is this line responsible for?
And it problem I see only on https mode, ofcourse in config file urls in https too.
my website: Tworzenie sklepu internetowego
Did you see my questions?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Are you using CloudFlare? No
I do not use any extensions that redirect users. When I give the exit('text') function before the mentioned line ($route->dispatch...) the text displays. When I give after that line the browser returns an error about a redirect loop. The problem only occurs on https.
my website: Tworzenie sklepu internetowego
my website: Tworzenie sklepu internetowego
The code activated after checking for active https:
if ($this->request->server['HTTPS']) {
therefore only on https there was a redirect loop.
Thank you for your help, thank you for your involvement.
You guys are the best and great.
my website: Tworzenie sklepu internetowego
Thought it would be
Please add [SOLVED] to the start of the post title.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
.htaccess and config.php file configuration issues.DesignCart wrote: ↑Mon Nov 21, 2022 9:45 pmI'm sorry I finded extension wchich make redirect.
The code activated after checking for active https:
if ($this->request->server['HTTPS']) {
therefore only on https there was a redirect loop.
Thank you for your help, thank you for your involvement.
You guys are the best and great.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
The OP just said he found the issue and it wasn't that.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Forcing https to the homepage is not the issue. However, I will take his word on it the fact he mentioned the issue was resolved for his case.paulfeakins wrote: ↑Tue Nov 22, 2022 12:50 amThe OP just said he found the issue and it wasn't that.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: Amazon [Bot], Semrush [Bot] and 513 guests