Page 2 of 2
Re: PDF Invoice Extension Issue [Sort of Resolved]
Posted: Thu Jan 02, 2025 2:07 pm
by by mona
Checked on brand new installation of OC3.0.4.0 - The extension does not natively work on php8 or php7.4. Same result.
For clarity his version 3.1.0.29.
Why it is working on a different version of OC3.0.4.0, you would be in a better position to know, but obviously they are not the same.
Maybe you happen to find a different version he updated and used that on the other site?
I just happen to know his extensions and I had something similar I had to fix on paid version for OC3.0.4.0 on php8 because he had not had time to update them yet.
If its enough to just edit the settings table thats great, glad to have helped you with that, thanks for changing the title to [sort of resolved] it might help someone else one day
Re: PDF Invoice Extension Issue [Sort of Resolved]
Posted: Thu Jan 02, 2025 8:31 pm
by MajorPain
by mona wrote: ↑Thu Jan 02, 2025 2:07 pm
Checked on brand new installation of OC3.0.4.0 - The extension does not natively work on php8 or php7.4. Same result.
For clarity his version 3.1.0.29.
Why it is working on a different version of OC3.0.4.0, you would be in a better position to know, but obviously they are not the same.
Maybe you happen to find a different version he updated and used that on the other site?
I just happen to know his extensions and I had something similar I had to fix on paid version for OC3.0.4.0 on php8 because he had not had time to update them yet.
If its enough to just edit the settings table thats great, glad to have helped you with that, thanks for changing the title to [sort of resolved] it might help someone else one day
Your issue with your install was that you used 3.1.0.29 which is for OC 4.x.x.x.
OC 3.0.3.9 is version 3.0.3.30 which I have working on one website with OC 3.0.4.0 with php 8.1.
My other website is working but just not able to access the admin settings.
But I can manage with it for now and maybe I'll look for a newer extension that does the same in the future.
Thanks for the feedback all.
Re: PDF Invoice Extension Issue [Sort of Resolved]
Posted: Thu Jan 02, 2025 9:57 pm
by by mona
Tested on Extension Version 3.0.3.30
Clean OC version 3.0.4.0
php version 8.1
- same result -
OC4.x.x.x was at a time when OC3 had no php8 compatibility so people were using a maintenance branch of 3.0.3.8 so they could upgrade to php8.
Might be worth trying if you are using php8.1. The extension does appear to be built in a similar fashion to his other extensions, but it will still be cheaper, if not free, to find an extension from the marketplace if it bothers you.
You are welcome, happy new year.
Re: PDF Invoice Extension Issue [Sort of Resolved]
Posted: Thu Jan 02, 2025 10:40 pm
by JNeuhoff
Isn't the current version of
tcpdf from github at
6.8.0? It should work well with PHP 8.x versions, and should be used instead of an older version for this OpenCart PDF Invoice extension!
Re: PDF Invoice Extension Issue [Sort of Resolved]
Posted: Thu Jan 02, 2025 11:19 pm
by khnaz35
Yeah as per last week it is
Re: PDF Invoice Extension Issue [Sort of Resolved]
Posted: Fri Jan 03, 2025 12:13 am
by MajorPain
JNeuhoff wrote: ↑Thu Jan 02, 2025 10:40 pm
Isn't the current version of
tcpdf from github at
6.8.0? It should work well with PHP 8.x versions, and should be used instead of an older version for this OpenCart PDF Invoice extension!
Yea I updated that portion couple months ago. The current version of the extension still had out of date version.
Re: PDF Invoice Extension Issue [Sort of Resolved]
Posted: Fri Jan 03, 2025 12:22 am
by khnaz35
MajorPain wrote: ↑Fri Jan 03, 2025 12:13 am
Yea I updated that portion couple months ago.
Why not upload that version to GitHub and create a request for collaboration? This way, others can contribute whenever they have the time or feel inclined to help. Instead of seeking assistance here on the forum, you might find many others who also want or need the same extension and are willing to contribute.
Re: PDF Invoice Extension Issue [Sort of Resolved]
Posted: Fri Jan 03, 2025 2:10 am
by MajorPain
khnaz35 wrote: ↑Fri Jan 03, 2025 12:22 am
MajorPain wrote: ↑Fri Jan 03, 2025 12:13 am
Yea I updated that portion couple months ago.
Why not upload that version to GitHub and create a request for collaboration? This way, others can contribute whenever they have the time or feel inclined to help. Instead of seeking assistance here on the forum, you might find many others who also want or need the same extension and are willing to contribute.
I'm not that experienced with github and all it's functions, but I'll give it a go.
Re: PDF Invoice Extension Issue [Sort of Resolved]
Posted: Fri Jan 03, 2025 5:40 pm
by OSWorX
MajorPain wrote: ↑Fri Jan 03, 2025 2:10 am
khnaz35 wrote: ↑Fri Jan 03, 2025 12:22 am
MajorPain wrote: ↑Fri Jan 03, 2025 12:13 am
Yea I updated that portion couple months ago.
Why not upload that version to GitHub and create a request for collaboration? This way, others can contribute whenever they have the time or feel inclined to help. Instead of seeking assistance here on the forum, you might find many others who also want or need the same extension and are willing to contribute.
I'm not that experienced with github and all it's functions, but I'll give it a go.
Should be no problem - I'm sure someone answered to this discussion already is willing to help you further.
Just ask here or contact you want by PM.
Re: PDF Invoice Extension Issue [Sort of Resolved]
Posted: Fri Jan 03, 2025 9:58 pm
by MajorPain
OSWorX wrote: ↑Fri Jan 03, 2025 5:40 pm
MajorPain wrote: ↑Fri Jan 03, 2025 2:10 am
khnaz35 wrote: ↑Fri Jan 03, 2025 12:22 am
Why not upload that version to GitHub and create a request for collaboration? This way, others can contribute whenever they have the time or feel inclined to help. Instead of seeking assistance here on the forum, you might find many others who also want or need the same extension and are willing to contribute.
I'm not that experienced with github and all it's functions, but I'll give it a go.
Should be no problem - I'm sure someone answered to this discussion already is willing to help you further.
Just ask here or contact you want by PM.
Thanks. I've got it uploaded to github and updated the TCPDF folder.
https://github.com/MajorPainage/PDF-Invoice
I used to use github many years ago and never was very experienced with it and haven't used it for many years so will take some more learning.
Thanks for the help.