Ask, reply and learn. Join the community of Akaunting.
file_exists(): open_basedir restriction in effect. File(/tmp/log.htm) is not within the allowed path(s): (/home/websecret/web/websecret.com/public_html:/home/websecret/tmp)
I get this error when trying to download a PDF as customer, anyone knows a solution?
Happens not only as customer but also as any other role by just using the 'Download PDF' button.
Mathijs, that happens when the file/folder permissions are strict and don't allow Akaunting to create the PDF file. I would advise contacting your hosting company for further support.
I'm hosting it on my own VPS using vestacp, which file should I give more permissions?
You should give permissions to the "storage/app/temp" folder.
I don't have that folder.
I do have a /home/websecret/tmp though where log.html is in.
But the dompdf is trying to access /home/websecret/web/websecret.com/public_html:/home/websecret/tmp which seems to be the wrong location is there is no such folder in the public_html and I guess the file does not have permission to go out of the public_html. Any way to fix this?
Showing 1 to 6 of 6 discussions