-
-
Notifications
You must be signed in to change notification settings - Fork 980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File(/.ufm) is not within the allowed path(s) #1032
Comments
|
these are the locations from open_basedir. i have websites on 3 different servers and all the open_basedir locations are enumerated the same ( without ;) "Under Windows, separate the directories with a semicolon. On all other systems, separate the directories with a colon." (from the php docs) |
Did you try adding |
tried that, no success. but i found that if i add ->setOptions(['defaultFont' => 'sans-serif']); to the pdf generator line it works, so i think it's a issue related to fonts or fonts location (i tried to modify the default font in the config but nothing changes) |
Encountering the same issue, I also am using custom font and there are files generated in fonts cache but this still shows this error |
Feel free to open a PR fixing it |
I make a PR to fix this issue on dompdf This issue must be solved when the PR will be accepted. |
I have the same issue and this thread saved my day .. i hope they will accept the PR soon. @alin09ro how do you use |
Error loading PDF: file_exists(): open_basedir restriction in effect. File(/.ufm) is not within the allowed path(s): (/home/arcareso:/opt/cpanel/ea-php82:/var/cpanel/php/sessions/ea-php82:/tmp:/home/arcareso/secure.arcaromania.ro/storage)
I have tried everything: setting full permisions, changing the paths in the config, nothing works!
the paths are in open_basedir. What else should I check?
can someone help?
The text was updated successfully, but these errors were encountered: