Goanna Posted August 15, 2005 Posted August 15, 2005 (edited) I tried installing PDF Invoice today and I cannot get it to work. I tried on my test server (windows running apache) and on my live site (linux), and I get the same error message each time. Fatal error: Call to a member function on a non-object in C:\WM\www\test_site\admin\invoice.php on line 306 Line 306 of the file reads; $pdf->Output(); I tried upgrading to the newest version of fpdf also, it did nothing, I still get the error. Has anyone here used this mod and gotten it to work? I would really like to see what these invoices look like, so if anyone can help me out it would be great. Thanks! Edited August 15, 2005 by Goanna Quote
marcokraak Posted August 19, 2005 Posted August 19, 2005 I have the same problem. Can you send me a message in case you find a solution? Thanks, MarcO Quote
Goanna Posted August 20, 2005 Author Posted August 20, 2005 I have the same problem. Can you send me a message in case you find a solution? Thanks, MarcO <{POST_SNAPBACK}> I thought it might have been a problem with fopen, and maybe it was my local windows box which sometimes gives me trouble with that. But I uploaded the files to my live server which is a linux box, and I know fopen works fine there, abd I still get the same error messages. Has anyone used this contrib successfully? If so, could you possibly link me to a sample PDF generated by it so I can see how they look? Also, if anyone else had this problem and was able to fix it, please post here. Thanks! Quote
Guest Posted August 29, 2005 Posted August 29, 2005 I thought it might have been a problem with fopen, and maybe it was my local windows box which sometimes gives me trouble with that. But I uploaded the files to my live server which is a linux box, and I know fopen works fine there, abd I still get the same error messages. Has anyone used this contrib successfully? If so, could you possibly link me to a sample PDF generated by it so I can see how they look? Also, if anyone else had this problem and was able to fix it, please post here. Thanks! <{POST_SNAPBACK}> Hi, I used thePDF Invoice and it was fine. You will see I edited the invoice files to suit my needs but I just followed the instructions and it worked great first time. All I can say is make sure you have followed the instructions properly and put all the files in the right place. There are no files to edit so it couldnt be an easier contribution to install. This is a screenshot of my invoice. I have left space at the top so this it prints correctly onto my letterhead paper. And I dont charge UK Vat soo dont need to put details of this ontoo my invoice. I suggest you start again, read over the instructions well. If you have any questions let me know. Good Luck Ross :-) Quote
queengraph Posted August 30, 2005 Posted August 30, 2005 (edited) Hi,I used thePDF Invoice and it was fine. Hi all, my work on PDF Invoice was fully functional without errors, I've added some new fields (VAT number, telephone, e-mail, total weight, taxes and more) and all works fine. It's possible to modify PDF orientation (portrait or landscape) and rebuild the page format. Great contribution, for me tested on: 1)local server => win XP 2)local server => mac osX 10.3 3)local server => linux (FC3) all with apache 2 and php 4.3.9 .. maybe your apache/php versions are obsolete? Edited August 30, 2005 by queengraph Quote
Goanna Posted August 30, 2005 Author Posted August 30, 2005 Hi all,my work on PDF Invoice was fully functional without errors, I've added some new fields (VAT number, telephone, e-mail, total weight, taxes and more) and all works fine. It's possible to modify PDF orientation (portrait or landscape) and rebuild the page format. Great contribution, for me tested on: 1)local server => win XP 2)local server => mac osX 10.3 3)local server => linux (FC3) all with apache 2 and php 4.3.9 .. maybe your apache/php versions are obsolete? <{POST_SNAPBACK}> Okay, I think I figured out what was causing the error message. I installed PDF Invoice 1.3 and then tried using the :Improved" version of invoice.php 1.4. I rolled that back to the invoice.php included with the contrib, and the error went away. Adobe Acrobat opened up and I thought I was all set, however, now adobe gives me an error saying "This file is damaged and cannot be opened" So, it seems as if I just traded in a PHP error for a PDF error, lol. Quote
Guest Posted March 26, 2006 Posted March 26, 2006 I have installed PDF Invoice on my linux machine. When I click on invoice it takes me to a blank page. I reinstalled still the same problem. HELP Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.