Microsoft Edge and Windows mobile download my product page instead of showing it normally - .htaccess

I'm developping an online shop with PrestaShop 1.6.1 on an Apache server. I have no problem with Firefox, Chrome and Safari. But on Microsoft Edge (on my computer) and on my Windows Phone, the product pages does never show up. All other pages are ok, the issue is only when I try to open a product page with Edge or with my Windows Phone.
What is the issue? What can I do to solve it?

As supposed by arkascha (thank you arkascha), the headers sent with my page were wrong.
The file product.tpl of my prestashop theme contained a line:
{header('Content-Type: #slider_row')}
I replaced this line by:
{header('Content-Type: text/html')}
And now, it works fine. Problem solved.

Related

Web page displays on Host ie11 but not on another machine, have I missed something?

i have an asp.net web site made to simply allow people to update some sqlserver tables.
The website works perfectly on the host server in Edge and IE11.
On other machines when accessing the server like so :
http://server.net/8081/homepage.aspx
It works in Chrome and Edge.
however in IE11 it displays wrong. Some colours come across, all gridviews appear correctly but layout is literally bonkers.
Is there something simple i am missing? This is my first time publishing a site in asp.net. all help appreciated.

Instagram captcha error on new app creation

When I try to create an instagram client (developer side), I'm always getting the same error:
Captcha invalid, please try again
Submission error: please fill out all required fields.
All fields are correctly set and captcha is good. (I tried many times, but always same error)
Someone have a solution for me?
If you look at the console, we can see there is an error related to "Content Security Policy" which avoid loading google captcha script :
Based on this answer there is no easy way to disable "Content Security Policy" in Chrome except by using an extension.
Such an extension is available here : Disable Content Security Policy [Google Chrome extension]
Once the extension is active, the instagram form loads without errors and should look like this :
For security reason I highly recommend to uninstall the extension once the app is created.
I am getting the same errors, tried different browsers and even computers, no luck. I think its broken for everyone...
Edit: To clarify this is the form with the broken Captcha https://www.instagram.com/developer/clients/register/ and seems to prevent any new clients from being created.
Edit2: Tried the following devices
Win10 w/ Chrome v61.0.3163.100
Android 7.12 w/ Chrome v61.0.3163.98
SUCCESS: Worked only on a MacOS(Sierra 10.12.5) with Safari. Tried with Chrome v60.x and still did not work on the Mac. Only Safari seems to work.
Just go to your Google Chrome in your mobile phone (mine is Android) and it should work.
It worked for me ;)
Well. I found a solution.
I had the same problem. Simply do that from your cellphone and it works.
Update: The Android Chrome version that I used is: 61.0
https://www.instagram.com/developer/clients/register/
This form is broken, throws below error:
The captcha solution was not correct. Please try again.
Submission error: please fill out all required fields.
For those who just want the access the api and dont need a client id this is a workarround.
I mangaged to get an access_token through http://instagram.pixelunion.net/
So i can still load images from my profile on my site
https://api.instagram.com/v1/users/{userid}/media/recent/?access_token={generated_accesscode}
It worked for me in a Incognito window in Google Chrome
The captcha doesn't event show up for me on any browser on OS. Mobile or desktop. In the end I just didn't use a client ID and the user Id and access token seem to be enough for me to access my feed.
https://codeofaninja.com/tools/find-instagram-user-id
http://instagram.pixelunion.net/
You have to press enter after typing your redirect_url.
Don't just click or tab to the next field.
I solved this issue by inserting a longer value in the description form input and by using the Firefox browser... What a joke !
I don't understand the matter but it's the only way I found.
I hope it will help someone here.
I tried Android app, Android Chrome, Android Firefox, and Laptop's Chrome. None of them worked... Finally I tried Laptop's Firefox and it worked like a charm... I happened to get a captcha with 3 words. Actually it was 2 signs but the second one has a road name and a number.
It works on latest version of firefox (v 55.0.3 32-bit) for me on windows 8.1.
Tried on android chrome, but that would not even let me open instagram.
I just finished creating couple of applications.
It worked for me using Chrome on macOS High Sierra. Chrome version is 61.0.3163.100 (Official Build) (64-bit).
Worked immediately on Firefox without a hiccup.
Firefox:55.0.3 (64-bit)
OSX Sierra: 10.12.6 (16G29)
Didn't work on Safari or Chrome.
Hope it works for you.
I tried different OS (Windows/Linux/Mac OS/iOS/Android) and browser (Chrome/Safari/Firefox/IE) combinations with absolutely no luck. I contacted instagram and reported this issue and I recommend you do the same.
In the meantime, I found this temporary workaround. I went ahead a generated an access token using this link: Instagram Pixel Union
Now I can continue doing the development work while waiting for the response from instagram. I also sent the request to them for information
I got the form to successfully submit the first time round using Mac OS Sierra 10.12.6 in Firefox 54.0.1.
No version of Safari or Chrome would work for me.
Had the very same error:
The captcha solution was not correct. Please try again.
Submission error: please fill out all required fields.
Hope Firefox solves the issue for all.

Opencart Error - cart- register - icons

Basically with Opencart when my site is accessed by my desktop computer it works seamlessly and perfect. When used by a mobile or laptop it generally wont work properly with the same type of error. More specific details:
When trying to register as a new user a dialogue box saying error undefined appears, and as a result the state/region drop down box is empty aswell as many icons do not load. The same error appears when trying to add to cart a product. Is there a way to see a specific error? / more detail of it? It seems sometimes it works great and then a majority of the time on Mobile and Laptop it gets these errors. The desktop computer I used to start the website works perfectly (the website is hosted offshore). Could it be that this might be the result of the hosting I have? I am aware of the broad information but there is not many specifics I can add. Open cart 2.2

sharepoint 2013 IE8 redirect 404 error

Now we build a site with sharepoint 2013. Per our customer requirement, we need to support IE8. But my develop environment is IE11(in windows server 2008R2), so I decide to degrade my IE version.
In the beginning, I can use IE11 to access the website which I created in share point. But after my degrading operation, strange things happened: I enter the url in the IE8, it is loading... seems every thing is fine, I can see the background pictures be downloaded in the browser,but few seconds when it loading completes(I guess), it redirects to the 404 error page.(normal page flash to the 404 error page) And I tried to use Chrome to visit this site, every thing works.
I also set the IE security level to low, and trun off IE ESC(enhanced security configuration), it doesn't work.
BTW, the IE8 can access the url: myMachineName/_layouts/15/start.aspx#/SitePages/Home.aspx
So I guess I need to add or change some configurations in the website which I created in the sharepoint to fit IE8.
Many Thanks!

Having problems to load images in Opera Browser(login popup)

I think this should be releated to IIS settings but don't know exactly what it is.
As you can see below, this login message pops up for each images, 8 images 8 times in Opera.
And the major browsers react to this page different.
IE9 works good(this is the reason why I found this problem now. It's internal site and almost every users use IE...)
Chrome(17.0.963.56 m) works good.
Safari(5.1.2) is also good.
Opera 11.61 has a problem like I said...
And FF SHOWS NO IMAGES and don't even ask for login. And Firebug says it's "NetworkError: 404 Not Found!".
I don't know what's going on.
This site requires to login and it's internal, so I can't give you the link. Sorry for the inconvenient.
And this site is running on Windows Server 2003. And the image containing folder is shared for web(I don't know why it's shared. But don't want to change the setting). I don't know this may cause this situation.
If Opera opens a user name/password dialog, the site is probably sending a WWW-Authenticate header in response to those image requests. You can open Opera's developer tools ("Tools > Advanced > Opera Dragonfly" or right-click in page and select "Inspect element") and use the network feature to inspect the full headers.
I don't know how you can disable this header if it is sent, it depends on the server settings and what type of server you're running, and I'm not at all familiar with Windows Server 2003.

Resources