hope u can help me with that.
Today I installed IP 1.5.9 for the first time. Everything is working fine, only the invoice and quote creation is not working
Failed to load https://pay.example.de/index.php/invoices/ajax/modal_create_invoice: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
Failed to load https://pay.example.de/index.php/quotes/ajax/modal_create_quote: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
If I remember correctly you need to go into settings->invoices, and set the invoice templates to the default template.
And then settings->quotes and do the same.
Thank u for the quick reply. This two settings are already made.
Sorry about that. I had issues with the pdf generation when I first started…
Will it not allow you to create a quote or invoice at all?
I remember having this issue, I will check my notes for the remedy.
Have you seen this?
I think I know what your problem is. I had the same issue when I tried installing this for the first time today. Have exact setup, and got the exact same error. I had to go to the root of the InvoicePlane Install and change the htaccess to .htaccess and also do the portion of the install pertaining to installing in a subdirectory. Every project within wamp is a subdirectory so that is probably why it is happening. Here is the link to what to do to the .htaccess to get it to work.
Also in case you didn’t know windows won’t let you rename htaccess to .htaccess from within file explorer. You can, however, open it in notepad, and do save as. when there make sure to change the file type to All Files (
. ) and it will let you save it as .htaccess.
And just to add, in the installation instructions it is easy to overlook the part that the htacces modification is required for it to work. I also tried running this on both a centos and ubuntu server where I used apache virtual hosts as well and put it in the root of that virtual host and it is doing the exact same thing. So it seems that the only time you do not have to do that is if it is truly installed in the server’s webroot.
Hope this Helps
If this does not resolve your issue, could you give me more details about your installation environment?
Nothing, just the error in the Chrome Dev-Console pops up.
Yes I did, but this doesn´t work for me.
I got a Debian 9 server with Apache running.
VHost is setup to https://pay.[myDomain].de
Database server is running on the same machine otherwise nothing special.
Don´t know why, but reinstall did it. Now, when I click on the Add invoice or quote, the modal pops up
Thank u guys.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.