I am getting a 500 server error on an HTML5 responsive template I bought,but only on mobile devices. It works fine on my desktop PC. I have contacted hostgator and they initially found a missing png file in a css file, so I contacted the theme developer, who said to move the png file to the specific location. I did that with no luck, he then said to contact my hosting provider (hostgator). They checked the error log again and found nothing. The url is thewalrusisme.com and any help would be appreciated.
Error 500
This error can only be resolved by fixes to the Web server software. It is not a client-side problem. It is up to the operators of the Web server site to locate and analyse the logs which should give further information about the error.
Related
We have a file server on which we place PDF documents and then embed links to them in a smart device app. Up until recently, using links to the PDF documents starting with http:// worked fine for Android and iPhone users. All could load the PDF file just fine. Then a few months back (approximately) Android phone users started reporting they would get an error when trying to load any PDF. Yet iPhone users had no issues loading the same PDF document. It was verified that these PDF documents (several) were not corrupted and opened fine when placed on another file server.
I have an iPhone so I can't give you the exact error msg received by Android users but to reproduce it, it was along the lines of... click the link to the PDF, a button appears showing View PDF, click that button and several apps appear to choose the app to open the PDF with, click one (like Adobe Reader, or Google Drive) and an error appears stating the file could not be opened and may be corrupted of the wrong syntax.
Tonight I found the solution.
The url to the PDF on all these documents on our server had been like http://...
but when I changed it to https://... it works fine.
I can't find ANYWHERE any mention of a change by Google that this is now a requirement.
My question...
Can someone explain and/or point me to a reference that explains why https must be used in embedded links to PDF documents? It seems like a pretty big deal to make this a requirement and not tell anyone. My searching the internet has so far not turned up anything.
Need help.
We have two servers that deploy the website. The website has a link that can download an .apk file to a mobile.
The problem is, when site is access in mobile using android 4.x, it downloads successfully on both server. However, when using android 5 (lollipop), it download successfully in one server but unsuccessful in another.
the mime type for both server is the same (application/vnd.android.packa..). Certificate for both server is ok also (although they have different issuer, which I don't think is an issue)
I also check the properties of the website, and its the same.
Is there are any setting in web server that I need to check or any security setting that makes one server download successfully the apk file while the other does not?
Appreciate any thought on this.
I'm creating a site that allows users to upload images from their mobile phones, through their browser. Before adding this feature to my site, I'm testing it out with a rails scaffold. To accomplish image upload, I'm using Paperclip 4.1. Image uploading is working flawlessly on my laptop, but it isn't working on my Android. When I click "Choose file" on my droid, I am able to select an image from my galley (among many other options), but when I click "Update" I get two errors:
Avatar content type is invalid
Avatar is invalid
The content type is a jpg, which I know is valid because I can upload jpgs on my laptop. I don't understand what the other error means. Here is the validation I'm using (got it from paperclip's quick start guide on GitHub):
validates_attachment_content_type :avatar, :content_type => /\Aimage\/.*\Z/
Is this a flaw of paperclip, or am I doing something wrong? Please let me know if you need more of my code.
I ended up using CarrierWave instead, which was able to handle image uploads through mobile and desktop.
The pdf isn't on the server yet, but is created on the run. The URL would look like https://mydomain.com/?pdf=example¶ms=abc. If I open it in the desktop Browser, the PDF is shown. But on the mobile phone, it won't alawys start downloading, and if it does, the file is not readable. In the LogCat I get the following error:
hostname mydomain.com was not verified.
I've seen that other people have stumpled over the same error message, but unfortunately they're all writing in Java, and as im developing a web app I don't have the possibility to write Java code to fix the problem. Thanks in advance for any help.
I could locate the problem. The certificate is only valid for https://www.mydomain.com, while I was trying to get the pdf without the www in the link. When I changed this, it worked. May be helpful for someone else with the same problem.
I am trying to download an .apk file from android default browser using https connection and through servlet on sumbit button click to secure it but its not getting download
Exception :org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
the same thing is working fine in firefox browser in mobile and in PC too and when i remove the https or ssl certificate it will start to work with default also but i need it with https connection only so please help me regarding this.I did a research work on that and find the error in android default browser log:
V/SecDownloader(5049): CDHelpers : chooseExtensionFromMimeType: couldn't find
extensionm using CDContentType map for application/vnd.android.package-archive
i have also tried with different extensions but not even a text file is downloading .
please help.