Jump to content

My prestashop does not generate invoice PDF


Recommended Posts

Dear Forum

 

I really hope you can help me. My prestashop is not generating pdf invoice, when I change status to "shipped".

 

I have checked Invoice under Order->status and shipped.

 

the odd thing is, that it is generating delivery note PDF.

 

I have tried to delete and replace all www\pdf\ files including files in my theme. I also tried to remove all Danish translation files. I have added debug mode, but nothing is coming up, when changing status.

 

My shop is live http://pureorganic.dk - But i guess that someone need to have access to backend / files to debug.

 

I really hope that someone can help me. Maybe just in a right debug direction 

 

Im running prestashop 1.6.0.9 with simplio theme from premium-templates.eu - Its hosted on sitegrounds.

 

SERVERINFORMATION

Serverinformation Linux #9 SMP Wed Sep 26 03:29:25 CDT 2012 x86_64

Server software version: Apache

PHP version: 5.3.29

Hukommelsesgrænse 256M

Maks. udførelsestid 120

 DATABASE INFORMATION

MySQL version: 5.5.35-33.0-log

MySQL server: localhost

MySQL name: xxxx

MySQL user: xxx

Tabel præfix xxx_

MySQL version InnoDB

 

Link to comment
Share on other sites

  • 6 months later...
  • 5 months later...
  • 2 weeks later...

Have you got your INVOICES on YES? This you have to turn on in another section of your admin: Admin - Orders - Invoices - set invoices on yes for the right shop you are using.

 

 

I have another problem here, only in certain status. Have 3 paid states, 1 is sending PDF, other 2 not...If I look in the order_state db table, all configuration for the 3 is the same.....! I need 3 of them because of payment provider etc. 

 

Is there maybe anyone who can help and know what causes the difference?

Edited by roykonnecho (see edit history)
Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

After migrating from Prestashop 1.5 xx to 1.6.1.4 I got the same problem : the View invoice button did not work anymore.

- first I turned on the debug mode to display errors details

- I got the following message :

Fatal error: require_once(): Failed opening required '/var/www/vhosts/china-chuanghua.com/httpdocs/boutique2/tools/tcpdf/tcpdf.php' (include_path='/var/www/vhosts/china-chuanghua.com/httpdocs/boutique2/tools/htmlpurifier/standalone:.:/opt/plesk/php/5.3/share/pear') in /var/www/vhosts/china-chuanghua.com/httpdocs/boutique2/classes/pdf/PDFGenerator.php on line 28

- It seems there was trouble with the tcpdf.php file. 

- After checked the files with my FTP, I noticed the tcpdf.php file got the wrong permission. I changed it to 644 and that's it.

 

Hope it could help 

Link to comment
Share on other sites

  • 2 years later...

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...