Post by Medical sooq » Tue Jun 09, 2020 4:36 am

Hi I need a help this error appears When create a
* New Customer - > Checkout Options
Register Account
AND in First load a page in language
appears

error

Code: Select all

<script>document.cookie = "humans_2190931"; document.location.reload(true)</script>
I am using OC version 3.0.3.2
Last edited by straightlight on Tue Jun 09, 2020 11:05 pm, edited 1 time in total.
Reason: Added code tags.

New member

Posts

Joined
Sun Jul 23, 2017 2:42 am

Post by ADD Creative » Tue Jun 09, 2020 4:48 am

Most likely some protection on your hosting. Try disabling ModSecurity if it's enabled on your server.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by paulfeakins » Tue Jun 09, 2020 5:10 pm

ADD Creative wrote:
Tue Jun 09, 2020 4:48 am
Most likely some protection on your hosting.
Or some extension you've got, please list them and your theme.

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


User avatar
Guru Member

Posts

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

Post by letxobnav » Tue Jun 09, 2020 5:19 pm

that is inserted by your host, call them.

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.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by Medical sooq » Tue Jun 09, 2020 10:20 pm

Thank you All for help
I contact the host I am using Hostgator and they tall me that not from the host chech with your Devloper

I am using just one extention Purpletree Multivendor I installed it a month ago and this error didn't happen

New member

Posts

Joined
Sun Jul 23, 2017 2:42 am

Post by Medical sooq » Tue Jun 09, 2020 10:25 pm

Can this help to solve the problem? The site’s default language is Arabic, and when you open the site from a desktop device the site appears in English and when you open the site from the phone the site appears in Arabic and the problems appear on the first page of the site, whether it is from the desktop device that appears in the language English or from the phone that appears in Arabic

New member

Posts

Joined
Sun Jul 23, 2017 2:42 am

Post by letxobnav » Tue Jun 09, 2020 10:55 pm

site language is set in order:
1) the language set in the session
2) if no language in the session, the language set in the cookie
3) if no language set in the cookie, the language preference set in the browser
4) if no preference set in the browser or you do not support that language, the site default language

Unless ofcourse you are caching stuff you shouldn't.
Last edited by letxobnav on Tue Jun 09, 2020 11:11 pm, edited 1 time in total.

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.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by letxobnav » Tue Jun 09, 2020 11:03 pm

I contact the host I am using Hostgator and they tall me that not from the host chech with your Devloper
I knew I saw this before:
viewtopic.php?f=202&t=217547&p=785704&h ... s_#p785704

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.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by Medical sooq » Sat Jun 13, 2020 4:11 pm

I contacted the hosting company HostGetor more than four times, and my hosting was checked and they told me that the problem is not from the server and the problem is not from the security system, you should contact the site developer

In English language or Arabic
www.medicalsooq.com you will see the first page you
well see all website Icons not appears and you can’t add the product to cart from first page the massage appears - (error undefined) - and if you change the page language to Arabic the icons will back appears and you can add product from the first page (outside product )
If you click on product picture then you can add it to cart
Sometimes you can add the product from the first page and that happen you will go to the
Checkout Options and New Customer - > the error will appear
error <script>document.cookie = "humans_2190931"; document.location.reload(true)</script>
Any help please about this error
Last edited by Medical sooq on Sat Jun 13, 2020 8:48 pm, edited 1 time in total.

New member

Posts

Joined
Sun Jul 23, 2017 2:42 am

Post by xxvirusxx » Sat Jun 13, 2020 4:15 pm

First fix CORS issue

Attachments

Screenshot_2020-06-13_11-14-44.png

Screenshot_2020-06-13_11-14-44.png (33.4 KiB) Viewed 1117 times


Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by letxobnav » Sat Jun 13, 2020 4:53 pm

you are also not sending correct browser cache headers.

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.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by letxobnav » Sat Jun 13, 2020 5:11 pm

I contacted the hosting company HostGetor more than four times, and my hosting was checked and they told me that the problem is not from the server and the problem is not from the security system, you should contact the site developer
Tell Hostgator they are crap but they probably are aware of that already.

https://stackoverflow.com/questions/559 ... dtrue-scri

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.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by Medical sooq » Wed Jun 17, 2020 12:23 am

After communicating with HostGetter the problem was solved by adding code to a file htaccess

https://gist.github.com/nixta/0b98d7975562bc31c4c9

and after clearing the browser history the problem went temporarily and then returned the same error
Re: error <script>document.cookie = "humans_2190931"; document.location.reload(true)</script>


and now a problem appeared when adding the product to the cart
Error appears (medicalsooq.com says: error undefined)
AND they told me that you must have a support from your Devloper

Who can help me with this problem

New member

Posts

Joined
Sun Jul 23, 2017 2:42 am

Post by xxvirusxx » Wed Jun 17, 2020 12:34 am

Make a clean install in another folder from public_html and test to see if this error happen again.
Test with 3.0.3.2 , 3.0.3.3

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Medical sooq » Wed Jun 17, 2020 1:29 am

Can you explane more please ,
My version 3.0.3.2 and you need from me try reinstall opencart site to another folder insid the public_html
If Yes What I do with my site files

New member

Posts

Joined
Sun Jul 23, 2017 2:42 am

Post by letxobnav » Wed Jun 17, 2020 9:24 am

After communicating with HostGetter the problem was solved by adding code to a file htaccess

https://gist.github.com/nixta/0b98d7975562bc31c4c9
The fact that Hostgator recommended that already proves my last point, utterly stupid.

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.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by xxvirusxx » Wed Jun 17, 2020 7:31 pm

Medical sooq wrote:
Wed Jun 17, 2020 1:29 am
Can you explane more please ,
My version 3.0.3.2 and you need from me try reinstall opencart site to another folder insid the public_html
If Yes What I do with my site files
Read twice.....

install is not equal with reinstall.

I said to make a clean install in another folder (create folder testsite).....

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Medical sooq » Fri Jun 26, 2020 10:50 pm

Helo
The problem is still there and it should be resolved HostHeter. Tell me that the problem is with the site codes. Can anyone help?

There is no problem if it is by a costom job

Attachments

3 inspect.PNG

3 inspect.PNG (226.73 KiB) Viewed 826 times

2 cookies.PNG

2 cookies.PNG (104.58 KiB) Viewed 826 times

1  error undefined.PNG

1 error undefined.PNG (164.99 KiB) Viewed 826 times


New member

Posts

Joined
Sun Jul 23, 2017 2:42 am

Post by Medical sooq » Fri Jun 26, 2020 10:55 pm

Other pictures to explain the problem

Attachments

5 inspect.PNG

5 inspect.PNG (190.86 KiB) Viewed 822 times

4 inspect.PNG

4 inspect.PNG (175.66 KiB) Viewed 822 times


New member

Posts

Joined
Sun Jul 23, 2017 2:42 am

Post by ADD Creative » Fri Jun 26, 2020 11:02 pm

You need to decide if your site is "www.example.com" or just "example.com". Set the one you want in the two config.php files. Then add a redirect from one to the other in .htaccess.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 422 guests