Giter Club home page Giter Club logo

Comments (5)

PhenX avatar PhenX commented on May 18, 2024

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.

PhenX avatar PhenX commented on May 18, 2024

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.

PhenX avatar PhenX commented on May 18, 2024

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.

PhenX avatar PhenX commented on May 18, 2024

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.

bsweeney avatar bsweeney commented on May 18, 2024

Closing. This issue is rather obscure, haven't seen report of a similar problem of late.

from dompdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.