colin
January 10, 2018, 2:00am
1
Hi,
When a customer, on an IPAD , vews there portal and then an invoice they can see the invoice ok but when the click the download button they get a screen full of asci characters and no download. I assume they are using Safari.
Can you fix this please.
Col
hillel
January 10, 2018, 2:18am
2
I’ll try to replicate the problem.
Are you using invoiceninja.com or are you self hosting?
colin
January 10, 2018, 2:23am
3
Hi Hillel. Self hosting. Invoice Ninja works perfectly in all other cases but two of my customers using IPADS just get a screen full of ascii characters on a white screen instead of a downloaded pdf.
colin
January 10, 2018, 2:24am
4
Also I am not running PhantomJS locally
hillel
January 10, 2018, 2:28am
5
Which version of the app are you using?
It’s possible setting up PhantomJS locally will help, I believe it’s used as a fallback with some browsers.
colin
January 10, 2018, 2:40am
7
where do I find the .env file? Found it. It was hidden of course
hillel
January 10, 2018, 2:42am
8
It’s in the root folder of the project
colin
January 10, 2018, 2:46am
9
Is Phantom js installed or do I have to download it and install it?
hillel
January 10, 2018, 2:50am
10
I’ve checked the code, either phantomjs solution (local or cloud) should help.
colin
January 10, 2018, 3:14am
11
Hi Hillel.
I didnt realise that I had to sign up to cloudfare for a key DOH.
I have added the key to my env file and its ok now.
Thanks again
Col
hillel
January 10, 2018, 3:15am
12
You shouldn’t have to sign up, I believe the default key supports 100 requests per day.
colin
January 10, 2018, 3:22am
13
Well I have signed up for free and got a key. It seems to be working on my mac so i will see how the customers get on with the IPADS.
Thanks again
Col