Post by by mona » 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

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by MajorPain » Thu Jan 02, 2025 8:31 pm

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.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am

Post by by mona » Thu Jan 02, 2025 9:57 pm

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.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by JNeuhoff » 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!

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by khnaz35 » Thu Jan 02, 2025 11:19 pm

Yeah as per last week it is

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member
Online

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by MajorPain » Fri Jan 03, 2025 12:13 am

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.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am

Post by khnaz35 » 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.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member
Online

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by MajorPain » 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.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am

Post by OSWorX » 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
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.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by MajorPain » Fri Jan 03, 2025 9:58 pm

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.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am
Who is online

Users browsing this forum: No registered users and 18 guests