- Posts: 44
- Thank you received: 7
PDF Invoice plugin 5.2.15 - installer does not finish, and test invoice files in
- Alouette00
-
Topic Author
- Offline
Less
More
6 hours 39 minutes ago #100000494
by Alouette00
PDF Invoice plugin 5.2.15 - installer does not finish, and test invoice files in was created by Alouette00
-- HikaShop version -- : 6.7.1
-- Joomla version -- : 6.2.0
-- PHP version -- : 8.5.12
-- Browser(s) name and version -- : Safari 605.1
Hello,
I updated the PDF Invoice plugin from 5.0.14 to 5.2.15 and would like to report two things.
1. The installer does not finish
When I install the zip from the Joomla extension installer, the first attempt ended with an error. On the second attempt, the installation screen stayed on "installing" and never finished.
However, the Extensions: Manage list now shows version 5.2.15, and PDF invoices are generated correctly with tc-lib-pdf 8.83.0, so the plugin itself works fine. The package is about 20 MB with almost 2,000 files, so the installer may be hitting a time limit at the very end.
Environment:
- Joomla 6.2.0
- HikaShop 6.7.1
- PHP 8.5.12
- Previous plugin version: 5.0.14 (installed without problems)
I also checked the zip file itself. It extracts without errors and the PHP files have no syntax errors, so the archive does not seem to be damaged.
2. Test invoice files are included in the package
The package contains test invoice files in attachinvoice/invoices/:
- 32 files named facturx_42_*.xml
- 7 files named ubl_99999_*.xml
These look like generated invoices from your test environment. They would be copied to every site that installs the update. Could you remove them from the package?
Thank you for your continued work on this plugin.
-- Joomla version -- : 6.2.0
-- PHP version -- : 8.5.12
-- Browser(s) name and version -- : Safari 605.1
Hello,
I updated the PDF Invoice plugin from 5.0.14 to 5.2.15 and would like to report two things.
1. The installer does not finish
When I install the zip from the Joomla extension installer, the first attempt ended with an error. On the second attempt, the installation screen stayed on "installing" and never finished.
However, the Extensions: Manage list now shows version 5.2.15, and PDF invoices are generated correctly with tc-lib-pdf 8.83.0, so the plugin itself works fine. The package is about 20 MB with almost 2,000 files, so the installer may be hitting a time limit at the very end.
Environment:
- Joomla 6.2.0
- HikaShop 6.7.1
- PHP 8.5.12
- Previous plugin version: 5.0.14 (installed without problems)
I also checked the zip file itself. It extracts without errors and the PHP files have no syntax errors, so the archive does not seem to be damaged.
2. Test invoice files are included in the package
The package contains test invoice files in attachinvoice/invoices/:
- 32 files named facturx_42_*.xml
- 7 files named ubl_99999_*.xml
These look like generated invoices from your test environment. They would be copied to every site that installs the update. Could you remove them from the package?
Thank you for your continued work on this plugin.
Please Log in or Create an account to join the conversation.
3 hours 37 minutes ago #100000499
by nicolas
Replied by nicolas on topic PDF Invoice plugin 5.2.15 - installer does not finish, and test invoice files in
Thank you for both reports.
About the test invoice files: you are right, they were generated on our test site and were included in the package by mistake. They are removed in version 5.2.16 of the PDF Invoice plugin, available now in your account on our website ( www.hikashop.com/marketplace/product/18-plugin-pdf.html ), to install over the current one. These files did no harm on your site: the invoices folder refuses access from the web, and the plugin deletes them by itself the next time it generates an invoice, once the "Invoice storage period" setting (120 seconds by default) has passed. Installing 5.2.16 does not remove files already on the server, so if you prefer to remove them at once, you can delete the facturx_42_*.xml and ubl_99999_*.xml files from plugins/hikashop/attachinvoice/attachinvoice/invoices/ (keep the .htaccess file).
About the installer: on a site with Joomla 6.2.0 and HikaShop 6.7.1, the same 5.2.15 package installs in a few seconds, both as a new install and over an existing one, so the package itself completes normally. Since Extensions: Manage shows 5.2.15, your installation did go through: Joomla records the new version only after it has copied all the files. What stopped the page is a limit on your server's side when it receives and unpacks a 20 MB archive: the PHP settings upload_max_filesize and post_max_size (they should be at least 32M), max_execution_time, or a timeout of a proxy or firewall in front of the site. You can see the first three in System > System Information > PHP Information. If raising them is not possible, you can upload the zip's extracted folder by FTP to the tmp folder of your site and use the "Install from Folder" tab of the Joomla installer instead.
If the error comes back with 5.2.16, please send us the exact message shown on the first attempt.
About the test invoice files: you are right, they were generated on our test site and were included in the package by mistake. They are removed in version 5.2.16 of the PDF Invoice plugin, available now in your account on our website ( www.hikashop.com/marketplace/product/18-plugin-pdf.html ), to install over the current one. These files did no harm on your site: the invoices folder refuses access from the web, and the plugin deletes them by itself the next time it generates an invoice, once the "Invoice storage period" setting (120 seconds by default) has passed. Installing 5.2.16 does not remove files already on the server, so if you prefer to remove them at once, you can delete the facturx_42_*.xml and ubl_99999_*.xml files from plugins/hikashop/attachinvoice/attachinvoice/invoices/ (keep the .htaccess file).
About the installer: on a site with Joomla 6.2.0 and HikaShop 6.7.1, the same 5.2.15 package installs in a few seconds, both as a new install and over an existing one, so the package itself completes normally. Since Extensions: Manage shows 5.2.15, your installation did go through: Joomla records the new version only after it has copied all the files. What stopped the page is a limit on your server's side when it receives and unpacks a 20 MB archive: the PHP settings upload_max_filesize and post_max_size (they should be at least 32M), max_execution_time, or a timeout of a proxy or firewall in front of the site. You can see the first three in System > System Information > PHP Information. If raising them is not possible, you can upload the zip's extracted folder by FTP to the tmp folder of your site and use the "Install from Folder" tab of the Joomla installer instead.
If the error comes back with 5.2.16, please send us the exact message shown on the first attempt.
Please Log in or Create an account to join the conversation.
Time to create page: 0.050 seconds