Jump to content

[SOLVED] PDF generation impossible (invoices, etc ...)


Recommended Posts

Hello,

I just finished the setup of my shop (fresh install, PS 1.4.7.0, with sample data)

After a series of tests, I realize that the PDF functionality seems not to work ...

 

I tried export a PDF from a customer account (historical> invoice) and also tried a PDF export from my PS back office (Orders> Invoices> Generate PDF).

 

I am redirected to a page (either pdf-invoice.php?id_order=..., or admin/pdf.php?invoices&date_from...)

Each time this page is a blank page on Firefox and an error page on Chrome:

"The website has encountered an error during extraction of

http://....../admin/...2de53d1c931ab5. This may be due to maintenance or a misconfiguration. "

 

I looked at the phpinfo side, no worries on that side, and I also tried a re-upload of the offending files (admin / pdf.php and pdf-invoice.php) nothing happens ...

 

Does anyone have a partial solution ..?

Thank you!

Link to comment
Share on other sites

Well, the PS error log is nearly empty,

If i look at my hosting error log, I have several line with:

[Thu Mar 08 18:47:07 2012] [error] [client xxxxxx] [host boutique.jolis-moments.com] Premature end of script headers: pdf.php, referer: http://boutique.jolis-moments.com/ ... /index.php?tab=AdminInvoices&token=f88682faf5a86126702de53d1c931ab5

which seems to be related with my issue...

Link to comment
Share on other sites

Woot,

I finally have found the problem... the fpdf file located inps/tools/fpdf was corrupted (due to a ftp upload problem I guess)....

I just reuploaded it and everything works fine now !

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...