I had the extension working previously with 3.0.3.8 and when I updated to 3.0.4.0, I disabled all the extensions before the upgrade, and then I enabled them again. This caused an issue where when I go into the extensions>modules and click on edit for this extension, I am getting this issue:
Notice: Error: Could not load template extension/module/pdf_invoice/extension! in /home/whitewaterhoney/storage/modification/system/library/template/twig.php on line 41
Part of my issue was that when I installed 3.0.3.8, it asked me to move the storage folder outside the public_html folder. The installer moved it automatically. When I upgraded the website, it installed the storage folder inside the public_html folder (no option to move the older appeared) and this created other issues and someone helped me with this and told me to move the storage folder from inside to outside overwriting the existing folder. That solved majority of my issue but not sure if this issue is related.
I've attempted to get support from the marketplace but the website doesn't allow getting support for free extensions so I'm posting here to see if anyone has any ideas before moving to something new.
Note I have the same extension on another website and it's totally working fine. I've tried disabling the extension, uninstalling and reinstalling but it's not allowing me to get past the above error.
Anyone have an idea on how to resolve this? Thanks
Check out our ever-growing list of extensions for OpenCart here.
Some useful extensions for a better admin experience: Image File Manager Pro • Drag & Drop Sort Order
Reach out to us at hello@softmonke.com for your OpenCart web development needs or feedback for our extensions.
extension.twig isn't in catalog/view/theme/default/template/extension/module/pdf_invoice.
I also checked my other website where the extension is working and it's not there either.
Looking at both websites, there are only 2 files in that folder. pdf_invoice.twig and pdf_invoice_rtl.twig
My bad, meant to ask if "extension.twig" exists in "admin/view/template/extension/module/pdf_invoice" directory instead.MajorPain wrote: ↑Wed Dec 11, 2024 8:25 amextension.twig isn't in catalog/view/theme/default/template/extension/module/pdf_invoice.
I also checked my other website where the extension is working and it's not there either.
Looking at both websites, there are only 2 files in that folder. pdf_invoice.twig and pdf_invoice_rtl.twig
Check out our ever-growing list of extensions for OpenCart here.
Some useful extensions for a better admin experience: Image File Manager Pro • Drag & Drop Sort Order
Reach out to us at hello@softmonke.com for your OpenCart web development needs or feedback for our extensions.
Yes it's there on both websites.softmonke wrote: ↑Wed Dec 11, 2024 12:08 pmMy bad, meant to ask if "extension.twig" exists in "admin/view/template/extension/module/pdf_invoice" directory instead.MajorPain wrote: ↑Wed Dec 11, 2024 8:25 amextension.twig isn't in catalog/view/theme/default/template/extension/module/pdf_invoice.
I also checked my other website where the extension is working and it's not there either.
Looking at both websites, there are only 2 files in that folder. pdf_invoice.twig and pdf_invoice_rtl.twig
See you first post:
Code: Select all
Could not load template extension/module/pdf_invoice/extension
We all don't know why this message pop up at your page, but I recommend to delete this extension and install it again.
Would help you also not to waste more time in this case ..
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Steps I did:
- unable to disable because I can access the settings page so disabled in the Modifications page
- unistall from Extensions>Modules
- uninstall from Installer page
- checked by FTP and files appear to be deleted as well as files in Storage folder
- checked database and everything deleted there
- downloaded fresh copy
- installed via the installer
- hit Refresh in Modifications page
- installed in the Extensions>Modules
- hit setting button and the error pops up.
Something I do notice is that once all the lines in the database are deleted, once I install the extension again, the database lines are reinstalled and have the same settings as before deleting. Almost like the lines are hidden and made visable again
If I uninstall the extension, and then reinstall, I am noticing the some of the database lines aren't installed.
On the website the extension works, I have 25 pdf setting lines.
On the website it doesn't work, I have only 9 pdf setting lines.
So why would it not install all of the database settings? I've probably downloaded it 3-4 times and reinstalled it 10-12 times with the same results.
And other question is were does it get the info on what database lines to install?
Also, please provide more details, e.g. OC version used, extensions, website URL, etc, if you want further help here.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Get Support didn't work because it required an order ID. Free extensions don't have order ID's.JNeuhoff wrote: ↑Sun Dec 15, 2024 12:59 amSurely by now you could have contacted the extension author via its Get Support link?
Also, please provide more details, e.g. OC version used, extensions, website URL, etc, if you want further help here.
Someone sent me a message recently for a work around so I'll try that.
Thanks
Code: Select all
4.x.x.x, 2.0.0.0, 2.0.1.0, 2.0.1.1, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2, 3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 3.0.3.8, 3.0.3.9, 2.3.0.0, 2.3.0.1, 2.3.0.2
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
- admin/view/template/extension/module/pdf_invoice/extension.twig is full of twig-errors.MajorPain wrote: ↑Tue Dec 10, 2024 3:47 amExtension: https://www.opencart.com/index.php?rout ... n_id=31450
I had the extension working previously with 3.0.3.8 and when I updated to 3.0.4.0, I disabled all the extensions before the upgrade, and then I enabled them again. This caused an issue where when I go into the extensions>modules and click on edit for this extension, I am getting this issue:
Notice: Error: Could not load template extension/module/pdf_invoice/extension! in /home/whitewaterhoney/storage/modification/system/library/template/twig.php on line 41
.....
- library/template/twig.php returns error in line 37.
- That error message should be: 'Error: Could not render template ' . $filename . '!'
It works fine on another website with 3.0.4.0. Unfortunately I put a ticket in to the developer and it was closed due to no response. Looking at the github, it also is closed so I am guessing there is no more support for it.khnaz35 wrote: ↑Sun Dec 29, 2024 1:53 pmLooking at the shared extension url i don't see that it does support your OC version 3.0.4.0
I believe you have it to give it short yourself or either you could post in commercial support section for paid assistanceCode: Select all
4.x.x.x, 2.0.0.0, 2.0.1.0, 2.0.1.1, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2, 3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 3.0.3.8, 3.0.3.9, 2.3.0.0, 2.3.0.1, 2.3.0.2
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
The only solution will be a commercial support then.
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
I'm assuming the extension download would have something to creating database insertions.
Or am I incorrect?
If correct, where are files located generally for creating the database details?
Looking quickly through all the files I'm not sure I am seeing anything, but I might have.
Found:
private $fields = array(
'admin',
'attach',
'barcode',
'border_color',
'color',
'complete',
'download',
'font',
'font_size',
'logo',
'logo_font',
'logo_font_size',
'logo_height',
'logo_width',
'order_complete',
'order_image',
'order_image_height',
'order_image_width',
'paging',
'status'
He is a great developer and he is still live and working. I know he can sometimes be a little "stern", but he has been working for many many years and he is a victim (like us all) of unappreciative users who think they can be rude without paying a dime and simply do not understand that we are paid professionals who really are very good .. most of the time .. I am not saying this is you at all, I am just stating the situation we face everyday. We also come across some amazing users.
Anyway, for many many years he used to help for free and help a lot and then like most of us he realised that the more you help for free the more people devalue what it is you do. Professionals already spent the 5 days it will take you to work it out, so that we can provide you with the information quickly, as is demanded from site owners. OPs should value the time we save them, not for the time it takes us.
He gets paid for his time. No ifs or buts. I dont know this extension off the top of my head, but I am pretty sure his email address is on his work.
As I know his extensions I can tell you the issue is that it will not be compatible with OC3.0.4.0.
I am sure if you start your email with how much would it cost, you will be more likely to get a reply.
As for uninstall, you need to uninstall and then remove the modification.
You need to check compatibility before installing things - he wont fix that for free either I am afraid.
The settings are more than likely in the oc_settings table
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
It works fine on another website I have with no issues on 3.0.4.0, I guess you assumed incorrectly.by mona wrote: ↑Thu Jan 02, 2025 10:54 amYour assumption is not (necessarily) correct.
He is a great developer and he is still live and working. I know he can sometimes be a little "stern", but he has been working for many many years and he is a victim (like us all) of unappreciative users who think they can be rude without paying a dime and simply do not understand that we are paid professionals who really are very good .. most of the time .. I am not saying this is you at all, I am just stating the situation we face everyday. We also come across some amazing users.
Anyway, for many many years he used to help for free and help a lot and then like most of us he realised that the more you help for free the more people devalue what it is you do. Professionals already spent the 5 days it will take you to work it out, so that we can provide you with the information quickly, as is demanded from site owners. OPs should value the time we save them, not for the time it takes us.
He gets paid for his time. No ifs or buts. I dont know this extension off the top of my head, but I am pretty sure his email address is on his work.
As I know his extensions I can tell you the issue is that it will not be compatible with OC3.0.4.0.
I am sure if you start your email with how much would it cost, you will be more likely to get a reply.
As for uninstall, you need to uninstall and then remove the modification.
You need to check compatibility before installing things - he wont fix that for free either I am afraid.
The settings are more than likely in the oc_settings table
Sure it might have a few issues as someone else mentioned but from what I can see it working even with those issues.
But that's ok, I've sorted it out from making changes in the database so far.
Users browsing this forum: No registered users and 16 guests