1
General Discussion / DOMPDF Error: image not readable or empty [A Solution]
« Last post by Ultranuke on November 09, 2012, 06:03:45 PM »There is a crazy error in DOMPDF that shows this:
image not readable or empty
I have found many solutions, but none worked for me, but fixing a simple server configuration problem was the solution, we can find some solutions like setting DOMPDF_ENABLE_REMOTE to true in custom.inc.php and also setting a correct DOMPDF_TEMP_DIR + 777 permissions, none of this worked for me.
There is an issue with some server configurations like mine, and I was receiving this error:
You may note that the " are escaped, so I tried disabling the magic quotes feature in the php.ini file of my CentOs server:
all magic_quotes must be off (or may be not all?)
magic_quotes_gpc = off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
and wow.. it's working, hope you get this solved, since I know is a very annoying problem!
image not readable or empty
I have found many solutions, but none worked for me, but fixing a simple server configuration problem was the solution, we can find some solutions like setting DOMPDF_ENABLE_REMOTE to true in custom.inc.php and also setting a correct DOMPDF_TEMP_DIR + 777 permissions, none of this worked for me.
There is an issue with some server configurations like mine, and I was receiving this error:
Code: [Select]
Image not readable or empty
\"./images/png/result_ok.gif\"You may note that the " are escaped, so I tried disabling the magic quotes feature in the php.ini file of my CentOs server:
all magic_quotes must be off (or may be not all?)
magic_quotes_gpc = off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
and wow.. it's working, hope you get this solved, since I know is a very annoying problem!
Recent Posts
