Jump to content

Recommended Posts

Hi Guys,

 

I've been struggling with the strangest php behaviour I've ever seen.

 

On my website I have a HTML manual for which I also offer a pdf download link. This PDF is generated on the fly using a opensource application called 'DOMPFD' (http://www.digitaljunkies.ca/dompdf )

 

Now when I installed it it was working fine but recently I noticed the links were giving me a 500 error. No i've been trying to solve this problem but it behaves very strange.

 

From:

http://www.unlocksamsungonline.com/samsungdownloads.php non of the 'pdf' links work they all give 500 error

 

Now when I enter in my browser:

http://www.unlocksamsungonline.com/pdfconvert.php?id=6

or

http://www.unlocksamsungonline.com/pdfconvert.php?id=7 (this was a testing link)

 

they do work! I tried IE7 and FF3.04 no difference. I did this to check if it had to do with any local caching, apparently not.

 

When I try any of the others (nr 1 - 5) it still gives me an 500 error even when I just enter it manually in the browser.

 

I'm on php5 with FASTCGI enabled

 

thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/138127-dompdf-non-logical-behaviour/
Share on other sites

never mind..

after trying a lot I just concluded the DOMPDF is just working very unstable..

At some point I had it working by just altering the HTML files, and then after clicking the link a couple times it suddenly didn't work anymore..

 

Problem is prob something with caching on the server in combination with caching on client side but its costing to much hassle and time to fix it. I just created PDF's myself now.

 

Best regards,

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.