Comments (5)
From eclecticgeek on July 22, 2009 03:23:32
This sounds like a possible bug, so this would be the appropriate place to post it.
I am unable to reproduce the problem. I have tried both an inline styles and a style definition in the head of the
document.
Can you provide some sample code? Also, do you know which version of PHP you have on your system?
from dompdf.
From [email protected] on July 22, 2009 17:50:44
...Well, that will teach me to be lazy and develop as su. And on outdated systems (php version is 5.2.4).
I did some more testing on some other boxes, and this only crops up when the the current working
directory is owned by root, and only when php is <5.2.8. So, admittedly, it's a pretty narrow bug.
Anyhow, I've added a sample php file that has potential to cause the crash.
Here are all the conditions I've found to reproduce the bug:
1: {background-image: none} in css
2: current working directory owned by root. The actual php script can live anywhere.
3: Either OS X 10.4 or PHP version 5.2.4. I could not reproduce the crash on my 10.5 system (with both PHP
5.2.8 and 5.3.0), so I'm not sure if OS X or PHP was the culprit.
from dompdf.
From eclecticgeek on July 23, 2009 01:46:57
Thanks for the update. We'll check into it to make sure it's not a bug that could crop up in other circumstances.
from dompdf.
From [email protected] on July 23, 2009 23:24:28
Thanks! In the meantime, I've gotten around it for now by streamlining the css so it doesn't need 'background-
image' in the first place.
from dompdf.
Closing. This issue is rather obscure, haven't seen report of a similar problem of late.
from dompdf.
Related Issues (20)
- Gujarati Language Some Fonts are not displaying as Expected HOT 1
- overflow hidden with an image height bigger than the paper height puts an empty page in front off HOT 1
- Incompatible function signature for imagepolygon() and imagefilledpolygon() in GD.php HOT 3
- Hide page number in all pages HOT 3
- Unable to render shadow-root. HOT 1
- Allowed memory size of 16777216 bytes exhausted HOT 5
- While updating Composer Dompdf\Options::validateArtifactPath() HOT 2
- Naira Symbol - Currency Not Working HOT 3
- setEncryption not working with variable HOT 7
- <pre> tags make extra space on first line HOT 3
- CSS and the page break HOT 4
- Unordered lists nested within ordered lists force the remaining ordered list items to use bullets HOT 3
- Bug on $dompdf->render() HOT 1
- EOL marker shall be immediately followed by a %
- Be Factur-x ready HOT 1
- Page break not working in long text HOT 3
- text() font in page_script() is ignored in specific situation with SVG img file HOT 3
- Implement onRenderProgress callback
- Problem while loading RTL table HOT 1
- utf-8 character not rendering HOT 1
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 dompdf.