Home › Forums › Support › There was an error saving your invoice error This topic contains 20 replies, has 3 voices, and was last updated by Hillel Coren 2 months, 3 weeks ago. Viewing 21 posts - 1 through 21 (of 21 total) Author Posts January 24, 2019 at 9:56 pm #18548 benncassParticipant I am getting this message whenever I try and save an invoice. Any ideas? I’m self hosting. “There was an error saving your invoice” “error” January 24, 2019 at 9:58 pm #18552 DavidBombaKeymaster What errors are being reported in the error logs? storage/logs…. January 24, 2019 at 10:01 pm #18553 benncassParticipant Where can I find the logs? January 24, 2019 at 10:40 pm #18554 DavidBombaKeymaster storage/logs…. January 25, 2019 at 6:09 am #18578 Hillel CorenKeymaster I’d also suggest checking the browser console and the web server error logs. January 25, 2019 at 8:10 am #18579 benncassParticipant In the console i get: POST https://myurl.co.uk/invoices 403 jquery.js:9664 send @ jquery.js:9664 ajax @ jquery.js:9215 ot.(anonymous function) @ jquery.js:9361 onFormSubmit @ create:3896 onsubmit @ create:1090 trigger @ jquery.js:4614 (anonymous) @ jquery.js:5289 each @ jquery.js:384 each @ jquery.js:136 trigger @ jquery.js:5288 ot.fn.(anonymous function) @ jquery.js:8481 submitAction @ create:3861 onSaveClick @ create:3823 onSaveDraftClick @ create:3780 onclick @ create:1408 January 25, 2019 at 1:34 pm #18603 Hillel CorenKeymaster Are there any details about the 403 error in the web server error log January 25, 2019 at 1:44 pm #18604 benncassParticipant I can’t actually see an error log on the server in the ninja root folder. where else can i look? January 25, 2019 at 2:02 pm #18605 Hillel CorenKeymaster The location can depend on your configuration, you may want to ask your web host. January 25, 2019 at 2:17 pm #18606 benncassParticipant my host has said: The error log file only populates if your script writes verbose errors, if there’s nothing to error it won’t print to a file This only happened after I updated to the latest version last week. January 25, 2019 at 2:40 pm #18607 benncassParticipant OK there is nothing in any error log on the server,. January 26, 2019 at 5:58 pm #18623 Hillel CorenKeymaster Which version did you upgrade from? I assume you’re using an admin user. January 28, 2019 at 7:35 am #18668 Hillel CorenKeymaster What do you see if you load /update (or /public/update) in the browser? January 28, 2019 at 8:34 am #18669 benncassParticipant 4.5.7 and i get this on /update The Process class relies on proc_open, which is not available on your PHP installation. January 28, 2019 at 8:37 am #18670 Hillel CorenKeymaster A common error with shared hosting is “open_basedir restriction in effect”, if you see this you’ll need to either temporarily modify your open_basedir settings or run the update from the command line. https://invoice-ninja.readthedocs.io/en/latest/update.html January 28, 2019 at 8:50 am #18671 benncassParticipant I’ve done that and now when i go to /update I get nothing. However, I still get the same error when saving an invoice January 28, 2019 at 8:54 am #18672 Hillel CorenKeymaster By ‘nothing’ do you mean you see a white screen? In that case I’d suggest checking the logs for errors. January 28, 2019 at 8:54 am #18673 benncassParticipant No it just redirects to login page and says successfully updated. I can’t see anything in any error logs on my hosting. January 28, 2019 at 8:57 am #18674 Hillel CorenKeymaster Can you try temporarily disabling mod security January 28, 2019 at 9:08 am #18675 benncassParticipant OK that’s worked! Is it safe to have mod security disabled? January 28, 2019 at 9:10 am #18676 Hillel CorenKeymaster I’d suggest following up with your host to determine which mod security rule was getting tripped. Author Posts Viewing 21 posts - 1 through 21 (of 21 total) You must be logged in to reply to this topic.