When I first created the recurring invoices, they are by default set to “pending” once the cron job runs to send out = php artisan ninja:send-reminders , then the recurring invoice turned green as ACTIVE.
Once that happened a copy recurring invoice was pushed in Invoices.
Then when logged in as the end user, I am now able to browse to the regular invoice and view it.
But when i browse over to Recurring Invoice i still see
{“message”:“You are not authorized to view or perform this action”}
@NoobKS92 I don’t think it’s because you migrated from V4 to V5. My environment if FRESH. just one test user and 2 products (one of which is a test product). There is nothing complex/custom in my setup. I believe this might be a bug.
I agreed with you, it seems it didnt related to migration, i just do a fresh install just now and it seem it was indeed error by default on fresh version 5.3.29.
Dear All, in my case, i found the solution simply by switching the php version im using.
I change from ALT-php80 to EA-php80
now i dont know why or what difference between these 2, but as long as it solved my problem, im okay with it. Im hope this solution can help some of you.
Im using cpanel, so i just need to use Multi PHP Manager to change it to the EA version of the PHP, so if you cant, or didnt know how to do it, you can ask your hoster to do it for you. And once it changes, theres might be some modules and extension for the php that you need to ask them to install too.
But 1st before doing anything, i suggest that you check first what is your current php version you are using.
Here it says to upload in you public_html, but if you use plesk it might be httpdocs or if you have multiple domain, you need to upload this to the folder of the domain you use invoice ninja.
I highly recommend you just ask support to do this if you didnt know how to do this.
2nd step, when it confirmed that it was indeed ALT-php80, then you can ask your host to try change to EA-php80.
But please kept in mind, that theres a risk of you might need to reinstall you Invoiceninja v5, after the changes.
Is there any update as to what causes this issue?
Confirming that the same behaviour still exists in build v5.3.85-c81 using PHP 7.4 /opt/alt/php74/ in a cPanel shared hosting environment.
It’s so strange, the view invoice button will work, but view quote throws the error message.
Also can view invoices inside the client portal, but can’t view quotes inside the portal.
Does changing PHP version to the EA version actually fix this issue?