Comments (8)
/home/arcareso:/opt/cpanel/ea-php82:/var/cpane
It seems to me that it should be separated by ;
, it also restarts the service
from laravel-dompdf.
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)
from laravel-dompdf.
Did you try adding /.ufm
to open_basedir
config?
from laravel-dompdf.
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)
from laravel-dompdf.
Encountering the same issue, I also am using custom font and there are files generated in fonts cache but this still shows this error
from laravel-dompdf.
Feel free to open a PR fixing it
from laravel-dompdf.
I make a PR to fix this issue on dompdf
This issue must be solved when the PR will be accepted.
from laravel-dompdf.
I have the same issue and this thread saved my day .. i hope they will accept the PR soon. @alin09ro how do you use ->setOptions(['defaultFont' => 'sans-serif'])
? Can you give a full example?
from laravel-dompdf.
Related Issues (20)
- Dompdf 2.0.4 fixes Possible DoS caused by infinite recursion when validating SVG images HOT 4
- Error 503. Service Unavailable HOT 4
- Not Supporting Gujarati Fonts HOT 1
- Incorrect file handling for symlinked paths HOT 3
- Laravel Dompdf rendering broken font on different laravel server HOT 1
- Watermark HOT 1
- Is it possible to indent within html? HOT 1
- open() argument #1 ($filename) must not contain any null bytes HOT 1
- Undefined array key "" HOT 2
- Security issue with dompdf/dompdf <2.0.4 dependency HOT 2
- Add support for Laravel 11
- CSS and Image not rendering on my PDF HOT 2
- Found 1 security vulnerability advisory affecting 1 package: in mpdf HOT 1
- installation problem
- Dompdf\\Options::validateArtifactPath(): Argument #1 ($path) must be of type string, null given, HOT 6
- Currency Symbol Error - Naira (₦) HOT 2
- > Just Replace ( dompdf\src\Image\Cache.php ) From dompdf 0.8.5 To All New Version Dompdf !
- Security vulnerability - phenx/php-svg-lib HOT 5
- DOMPDF to enable automatic page breaks when encountering large content in <td> wrapper HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-dompdf.