Hello,
I have a problem with redirecting the main page on the site. How it all started, I had a problem with a delay in switching links on the site when you switched the language, for example, from English to Spanish, and the link is still in English, but the site is already on the Spanish version.
I found a solution viewtopic.php?t=219473 in this post, changing the structure of link generation and this also solved the problem of adding the language code to the url.
But after that, a problem with switching on the main page arose. It redirects to https://new.megapc.ee/index.php?route=error/not_found. But this is only on the main page. I also used the extension https://www.opencart.com/index.php?rout ... n_id=45444. To make seo url links. I turned it off and deleted it, cleared the cache, nothing helped, htaccess is standard, I didn't change anything.
Maybe someone has encountered this and knows what the problem might be?
I have a problem with redirecting the main page on the site. How it all started, I had a problem with a delay in switching links on the site when you switched the language, for example, from English to Spanish, and the link is still in English, but the site is already on the Spanish version.
I found a solution viewtopic.php?t=219473 in this post, changing the structure of link generation and this also solved the problem of adding the language code to the url.
But after that, a problem with switching on the main page arose. It redirects to https://new.megapc.ee/index.php?route=error/not_found. But this is only on the main page. I also used the extension https://www.opencart.com/index.php?rout ... n_id=45444. To make seo url links. I turned it off and deleted it, cleared the cache, nothing helped, htaccess is standard, I didn't change anything.
Maybe someone has encountered this and knows what the problem might be?
Please read the Forum Rules.
Specifically, provide better information about your OC version, installed extensions, and the custom changes you've made so far.
Specifically, provide better information about your OC version, installed extensions, and the custom changes you've made so far.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Sorry, here is some additional information about the problem.
Opencart version 3.0.3.9
PHP Version 8.3.14
eMarket website theme - Multipurpose MarketPlace Theme
Extensions that I use universal_import_export, pdf-invoicene, esto-oc-v3, [ocmod.net] products-subcategory, omniva-opencart, itellia-opencart
Languages and translations that I use Estonian, English, Russian.
The error occurs on all browsers, I checked on Opera, the latest version of Google chrome and Eage
Website new.megapc.ee
Opencart version 3.0.3.9
PHP Version 8.3.14
eMarket website theme - Multipurpose MarketPlace Theme
Extensions that I use universal_import_export, pdf-invoicene, esto-oc-v3, [ocmod.net] products-subcategory, omniva-opencart, itellia-opencart
Languages and translations that I use Estonian, English, Russian.
The error occurs on all browsers, I checked on Opera, the latest version of Google chrome and Eage
Website new.megapc.ee
The function is not Opencart. Turn off your theme and check on default Opencart.
If it is not your theme check all your extensions that edit the header, turn the off, identify the culprit and contact the developer.
I suspect someone has tried to have a multi store set up per language and linked this in the language button because language change is not a redirect.
If it is not your theme check all your extensions that edit the header, turn the off, identify the culprit and contact the developer.
I suspect someone has tried to have a multi store set up per language and linked this in the language button because language change is not a redirect.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
I don't think that OC version supports that PHP version, I believe it's only up to 8.1 or 8.2 - better check.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Sorry for the late reply, this problem only occurs with the installed theme, I checked this problem on the default theme, there is no such problem.
I also found out that the problem is related to switching secondary languages. That is, if you switch in the default language, then switching works correctly, but if you switch in any other language, then it gives an error. It also makes a note in the URL ?language=en-gb, but only on the main page. On any other pages this does not happen.
I also found out that the problem is related to switching secondary languages. That is, if you switch in the default language, then switching works correctly, but if you switch in any other language, then it gives an error. It also makes a note in the URL ?language=en-gb, but only on the main page. On any other pages this does not happen.
You could contact the developer of that theme?
Or switch to one of our themes:
https://www.opencart.com/index.php?rout ... er=antropy
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
It is best to reach out to the theme developer now that you have narrowed the issue down this far
ELEV8TE Website Development
Available for hire - please contact me at https://www.elev8tewebsitedevelopment.com/contact
https://www.elev8tewebsitedevelopment.com
Who is online
Users browsing this forum: pprmkr and 18 guests