No preview of invoice in invoice design

Chrome is against my religion

but I quickly installed it and it works
looks like it’s a Firefox issue :frowning:

It should obviously work in Firefox, I’ve seen PDF settings/plugins can sometimes be an issue.

A not so good workaround it to enable “Prevent Download” on /settings/account_management, this uses a JavaScript PDF renderer instead.

“Prevent Download” works beautifully, Firefox can now display the preview

Ahhh … chrome is now purged from my system again :slight_smile:

Glad to hear it’s working for you!

FYI… if you’re able to get the Firefox PDF render to work it’s a much better implementation. For example, the JS PDF rendered will only show the first page of the PDF.

Hillel

thanks for getting me up and going SO QUICKLY !!!

It’s good to know about the 1st page limitation of the JS PDF render
but I doubt that I will be spending much time trying to get Firefox
working, it is beyond my skill set and my invoices will (almost) always
be a single page.

You have just proven everything I have heard about you guys
YOU ARE AWESOME !!!

thanks heaps :slight_smile:

Happy to help, enjoy the app!

FYI… We’ve added a check for the PHP memory limit to prevent others for having the same issue.

https://github.com/invoiceninja/invoiceninja/commit/91f8a1095e712b86dbe7c06d802e672e22f2e544

It might be able to just be 64M, I just tried 128M as I have the memory available

let me confirm

confirmed: the /invoices/create will function with just 64M (in my environment)

Thanks, that’s helpful to know!

I think 128 is a good minimum, I’d be concerned there may be issues with more memory intensive parts of the site (ie, import and export).

agreed