Fresh installation of OC 3.0.3.7 and the same happens to me with OC 2.3.0.2.
Error message:
<script> document.cookie = "humans_21909 = 1"; document.location.reload (true) </script>
Example .. a visitor enters the store, select and add a product to the cart, goes to checkout, the system tells him to log in or register ... When registering, the error appears.
(If you already registered and log in, everything is fine or if you use the link in the upper menu to register everything is correct.)
As a test ... https: //test-zone.ml/
I have looked everywhere, I contacted the hosting support and they could not solve it, many solved it from the hosting ... mine says that it can not ... and they suggest me to change the name of register.php by registration.php and its dependencies ... but I don't know where it is and what its dependencies are ...
How can I solve this??
PS: Some disable mod_security in .htaccess... but does not work for me..
<ifmodule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</ifmodule>
Thanks!!
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
By giving us proper details of your problem description, such as OC version, extensions installed, web theme, site URL etc.How can I solve this??
In a standard OpenCart 3.0.3.7 none of its files contain something like 'document.cookie', and I am unable to reproduce your error.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
It's a hosting issue, if your host won't help and you can't manual switch off the WAF in your hosting. Your only option is probably to change host.LorenaUY wrote: ↑Sun Jul 25, 2021 8:39 amI have looked everywhere, I contacted the hosting support and they could not solve it, many solved it from the hosting ... mine says that it can not ... and they suggest me to change the name of register.php by registration.php and its dependencies ... but I don't know where it is and what its dependencies are ...
How can I solve this??
PS: Some disable mod_security in .htaccess... but does not work for me..
<ifmodule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</ifmodule>
Thanks!!
Thanks!!!ADD Creative wrote: ↑Sun Jul 25, 2021 9:57 pmIt's a hosting issue, if your host won't help and you can't manual switch off the WAF in your hosting. Your only option is probably to change host.LorenaUY wrote: ↑Sun Jul 25, 2021 8:39 amI have looked everywhere, I contacted the hosting support and they could not solve it, many solved it from the hosting ... mine says that it can not ... and they suggest me to change the name of register.php by registration.php and its dependencies ... but I don't know where it is and what its dependencies are ...
How can I solve this??
PS: Some disable mod_security in .htaccess... but does not work for me..
<ifmodule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</ifmodule>
Thanks!!
Really???JNeuhoff wrote: ↑Sun Jul 25, 2021 9:29 pmBy giving us proper details of your problem description, such as OC version, extensions installed, web theme, site URL etc.How can I solve this??
In a standard OpenCart 3.0.3.7 none of its files contain something like 'document.cookie', and I am unable to reproduce your error.
I do not agree.
In my post clearly experss..OC 3.0.3.7… clearly express fresh install obviously without any extensions.
As it is a clean installation, the theme is the one that comes by default.
The url is in the post.
And it has been reviewed from many computers and the error always appears if you follow the steps I mentioned, no more, no less.
In conclusion, you have not read the post and you went to answer without seeing everything.
LorenaUY wrote: ↑Sun Jul 25, 2021 10:48 pmReally???JNeuhoff wrote: ↑Sun Jul 25, 2021 9:29 pmBy giving us proper details of your problem description, such as OC version, extensions installed, web theme, site URL etc.How can I solve this??
In a standard OpenCart 3.0.3.7 none of its files contain something like 'document.cookie', and I am unable to reproduce your error.
I do not agree.
In my post clearly experss..OC 3.0.3.7… clearly express fresh install obviously without any extensions.
As it is a clean installation, the theme is the one that comes by default.
The url is in the post.
And it has been reviewed from many computers and the error always appears if you follow the steps I mentioned, no more, no less.
In conclusion, you have not read the post and you went to answer without seeing everything.
While you are correct, regarding the OC version and no extensions installed that was mentioned on your first post, the part where no more, no less would need a little bit more is about Some disable mod_security ... and does not work . What happens between the two results whether you use these modifications in your .htaccess or not?PS: Some disable mod_security in .htaccess... but does not work for me..Code: Select all
<ifmodule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </ifmodule>
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I have done it in .htaccess and it has not worked for me.Nothing changed..with or without this lines in htaccessstraightlight wrote: ↑Sun Jul 25, 2021 11:47 pmLorenaUY wrote: ↑Sun Jul 25, 2021 10:48 pmReally???
I do not agree.
In my post clearly experss..OC 3.0.3.7… clearly express fresh install obviously without any extensions.
As it is a clean installation, the theme is the one that comes by default.
The url is in the post.
And it has been reviewed from many computers and the error always appears if you follow the steps I mentioned, no more, no less.
In conclusion, you have not read the post and you went to answer without seeing everything.While you are correct, regarding the OC version and no extensions installed that was mentioned on your first post, the part where no more, no less would need a little bit more is about Some disable mod_security ... and does not work . What happens between the two results whether you use these modifications in your .htaccess or not?PS: Some disable mod_security in .htaccess... but does not work for me..Code: Select all
<ifmodule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </ifmodule>
Contact your host to disable MOD security and see if that solves the issue.LorenaUY wrote: ↑Mon Jul 26, 2021 12:10 amI have done it in .htaccess and it has not worked for me.Nothing changed..with or without this lines in htaccessstraightlight wrote: ↑Sun Jul 25, 2021 11:47 pmLorenaUY wrote: ↑Sun Jul 25, 2021 10:48 pm
Really???
I do not agree.
In my post clearly experss..OC 3.0.3.7… clearly express fresh install obviously without any extensions.
As it is a clean installation, the theme is the one that comes by default.
The url is in the post.
And it has been reviewed from many computers and the error always appears if you follow the steps I mentioned, no more, no less.
In conclusion, you have not read the post and you went to answer without seeing everything.While you are correct, regarding the OC version and no extensions installed that was mentioned on your first post, the part where no more, no less would need a little bit more is about Some disable mod_security ... and does not work . What happens between the two results whether you use these modifications in your .htaccess or not?PS: Some disable mod_security in .htaccess... but does not work for me..Code: Select all
<ifmodule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </ifmodule>
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
It wants to set a cookie named humans_21909
After you have that cookie, all is well.
That is either from your host or from CF.
Probably their way to determine whether you are a bot (as those do not set a cookie) triggered by terms like "register" etc.
My bet is on your host, if they say it is not their problem then they are the problem.
viewtopic.php?t=217547
Have you tried all the other suggestions?
https://stackoverflow.com/questions/559 ... dtrue-scri
otherwise you are left with changing hosts.
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 want to try the option of: viewtopic.php?t=208851#p787401by mona wrote: ↑Mon Jul 26, 2021 1:16 amThis is not an unknown issue. Since you have tried your host and disabling mod_security in your htaccess you probably did search and do understand the problem.
It wants to set a cookie named humans_21909
After you have that cookie, all is well.
That is either from your host or from CF.
Probably their way to determine whether you are a bot (as those do not set a cookie) triggered by terms like "register" etc.
My bet is on your host, if they say it is not their problem then they are the problem.
viewtopic.php?t=217547
Have you tried all the other suggestions?
https://stackoverflow.com/questions/559 ... dtrue-scri
otherwise you are left with changing hosts.
to change the name of register to registration and its dependencies.
I do not know if the way I will do it will be correct ...
I will launch the search in all the files and its content has the word register and I will change it to registration. Should I do it like this?
Or what files should I change (rename) to?
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
Enable the URL (SEO) but it was not fixed ...
I have found a solution that although it is not the best, it does its job without problems. At least until there is another solution ..
I removed from:
catalog \ view \ theme \ default \ template \ checkout \ login.twig
The Continue link .. to register a new account ..
Instead I put:
<a href="https://xxxxxxxxxx/index.php?route=account/register"" class="btn btn-primary"> New User Registration </a>
Then send the visitor back to the cart ... and by continuing you go to Step 2 ....
Anyone have another solution to improve this?
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
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Hi Paul,paulfeakins wrote: ↑Mon Jul 26, 2021 5:40 pmSo is Mod Security disabled or not? Just because you tried to disable it in .htaccess means nothing - check with the host to see if it's really disabled.
Without speaking out loud, the hosting provider acknowledges that it comes from their part and according to them ... "the qualified technical group is working hard on it" ... hahaahha.
Meanwhile what I did was the above mentioned so the site keeps working.
According to them they disabled the Firewall and it did not solve anything, before they add to .htaccess and obviously it did not solve anything either ...
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 34 guests