Error after Checkout - Try to install E-Tickets with HikaSerial

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
1 week 6 hours ago #367239

-- HikaShop version -- : 5.1.6
-- HikaSerial version -- : 5.0.0
-- Joomla version -- : 5.3.0
-- PHP version -- : 8.4.6
-- Browser(s) name and version -- : FF 138.0.4
-- Error-message(debug-mod must be tuned on) -- : Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/breisig.live/www/htdocs/libraries/src/Log/LogEntry.php on line 126

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/breisig.live/www/htdocs/libraries/vendor/symfony/error-handler/Error/OutOfMemoryError.php on line 1

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/breisig.live/www/htdocs/libraries/vendor/joomla/database/src/Monitor/DebugMonitor.php on line 77

Warning: PHP Request Shutdown: Cannot call session save handler in a recursive manner in Unknown on line 0

Hello,
i have currently big Problems after checkout: www.breisig.live/kasse/checkout/confirm

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/breisig.live/www/htdocs/libraries/src/Log/LogEntry.php on line 126

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/breisig.live/www/htdocs/libraries/vendor/symfony/error-handler/Error/OutOfMemoryError.php on line 1

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/breisig.live/www/htdocs/libraries/vendor/joomla/database/src/Monitor/DebugMonitor.php on line 77

Warning: PHP Request Shutdown: Cannot call session save handler in a recursive manner in Unknown on line 0

Can you please help me urgently ?
Thanks. Michael

Please Log in or Create an account to join the conversation.

  • Posts: 26242
  • Thank you received: 4036
  • MODERATOR
1 week 2 hours ago #367242

Hello,

Please disable the plugin "HikaSerials - HikaShop Integration plugin" in your Joomla backend.
Then, perform a new test in your checkout.

Regarding the error message, we have not information on which "elements" is using too much memory, but the issue occurs in the Log System, not in HikaShop or HikaSerial.
Nevertheless, increasing the memory limitation in your hosting could be a good solution.
Specially if you are trying to generate big images with the "attach serial" plugin ; that kind of processing need to load the entire image (uncompressed) in memory in order to modify it with the rest of the content.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
6 days 20 hours ago #367244

Hello,

you are right, when i disable Serials, i get this error again:


Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/breisig.live/www/htdocs/libraries/src/Log/LogEntry.php on line 126

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/breisig.live/www/htdocs/libraries/vendor/symfony/error-handler/Error/OutOfMemoryError.php on line 1

So i will search for it on another way.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
6 days 20 hours ago #367245

Hello,
i have set memory_limit in php.ini to -1.
This helps me for the moment.

Now i will try to implement E-Tickets.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
6 days 19 hours ago #367246

Hello,
I have now tried to set up Serials. Unfortunately, I am not able to breathe life into the PDF plugin.

I have created a file in the product with the tag "#hikaserial:pdfserial:2".
Of course there is also a package with serial numbers.
If I want to reference the PDF template for my PDF in the PDFSerials plugin with: "media/com_hikaserial/images/Kartenlayout_full-width.pdf", I get the following message after saving: "PDF media/com_hikaserial/images/Kartenlayout_full-width.pdf does not exist".
After I have made a test order with the e-ticket, I get the error message: File not found!

What am I doing wrong?

Please Log in or Create an account to join the conversation.

  • Posts: 26242
  • Thank you received: 4036
  • MODERATOR
6 days 16 hours ago #367251

Hello,

If your content is in the HikaSerial image folder, you can simply use the relative path : Kartenlayout_full-width.pdf
Please note that the filename is case sensitive on Linux hosting.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
6 days 15 hours ago #367254





What im doing wrong ?

I believe "../media/com_hikaserial/images" is correct ?

Last edit: 4 days 17 hours ago by Jerome.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
6 days 15 hours ago #367256

Funny fact: When i do this with plugin attachserial (with .jpg file) it seems to work:



I have checked file permissons and owner, this seems not the problem:


Also with file-path the file will be not seen:


I suspect that maybe a php module is missing ? But which one?

Last edit: 6 days 15 hours ago by michael.koch@breisig.live.

Please Log in or Create an account to join the conversation.

  • Posts: 26242
  • Thank you received: 4036
  • MODERATOR
6 days 5 hours ago #367257

Hello,

Please download HikaSerial 5.1.0 from your subscription page :
www.hikashop.com/my-account/your-subscriptions.html

That version includes some modifications in the PDF Serial and the file path from the Joomla root folder.
Regarding the HikaSerial image folder, I fixed a typo in the returned path some weeks ago but that should not impact your issue since the configuration page checks if the return is empty or not.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
5 days 18 hours ago #367276

Hello !

Thank you for your fast work ! And for the update.
I have just installed the update. The PDF can now be recognised!

Unfortunately, I am still having problems setting it up.
Can you help me with this? I could set up an account.

At the moment I can't see the ticket in the frontend. The error message appears: File not found!



Last edit: 5 days 18 hours ago by michael.koch@breisig.live.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
5 days 15 hours ago #367278

Can I send you the access data from my site privately?
Or is there another problem that you need to check at the moment?
Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 26242
  • Thank you received: 4036
  • MODERATOR
4 days 11 hours ago #367287

Hello,

Please note that support team has a family life and also need some time to rest during the weekend :)
We do understand that you can have urgence issue but there is no need to multiply the replies, it will have the opposite effect at the end.

So, if you want some help regarding your issue, you need to provide the required elements to let us see what you have configured to check it and see where is the problem.
We won't require an access to your backend unless it's very necessary.

First, we need to see how you configured the product file ; to check that the download is right in place.
We also need to know if you change the PDF path in your PDF Serial plugin.

Afterwards, we recommend to test in the backend the download, there are some checks in the front-end which can generate that issue, in the backend it's more straightforward so we will see if it's a file issue or a trigger issue.
In the backend you won't have download limitation, so you can modify your PDF Serial configuration and refresh the tab to see the new version of your PDF ; it's very useful when designing.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
4 days 6 hours ago #367289

Hello !

Thank you very much for your answer.

I have found my mistake, I have set the status incorrectly.

I have another questions:

  1. When setting the data on the e-ticket (PDF), I am still missing the option to display the texts in bold or in italics or underlined.
  2. Another important point would be to be able to rotate the texts and especially the barcodes by e.g. 90°.
  3. Is it possible to put all serials into one pdf-file eg. with 5 pages when 5 serials are ordered?
  4. How can i simply generate serials by shipment method ? So that the customer can choose betweeen postal tickets and e-tickets by e-mail? Variants dont give use the right feeling in frontend.
  5. Is it possible to number the serial numbers attached to the e-mail if they cannot be combined into a PDF file in the file name so that the attachments attached to the e-mail do not all have the same file name?

Thank you !

Last edit: 3 days 20 hours ago by michael.koch@breisig.live.

Please Log in or Create an account to join the conversation.

  • Posts: 26242
  • Thank you received: 4036
  • MODERATOR
3 days 9 hours ago #367298

Hello,

1 - Bold and Italics is made via the font.
CF : tcpdf.org/docs/fonts/

2 - Rotation is possible in TCPDF but it might be complicate to configure in the interface.
I'll see what I can do if I add two options to set-up a rotation (given angle and fixed point) and to reset the rotation.

3 - Right now, it's not possible.
It would require an important development in the plugin to change its workflow (each serial is treated individually via the triggers)

4 - Variants...
One product is "digital" and the other is "physical" ; so you have two products for HikaShop perspective.
And one will give you the email attachment, the other will be handle manually for the expedition.

5 - In the Plugin settings (Joomla part), you have a setting to choose the file name and you can use the tag "{data}" to include the serial data.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
3 days 8 hours ago #367300

Jerome wrote: 1 - Bold and Italics is made via the font.
CF : tcpdf.org/docs/fonts/

Thanks, okay i will check this.

Jerome wrote: 2 - Rotation is possible in TCPDF but it might be complicate to configure in the interface.
I'll see what I can do if I add two options to set-up a rotation (given angle and fixed point) and to reset the rotation.

This would be great and i would be very thankful for this !

Jerome wrote: 3 - Right now, it's not possible.
It would require an important development in the plugin to change its workflow (each serial is treated individually via the triggers)

Okay, when i can find a solution at point 5 this might be no big problem for me.

Jerome wrote: 4 - Variants...
One product is "digital" and the other is "physical" ; so you have two products for HikaShop perspective.
And one will give you the email attachment, the other will be handle manually for the expedition.

I don not really understand you answer at this point. Maybe i will explain you my problem in a seperate thread.

Jerome wrote: 5 - In the Plugin settings (Joomla part), you have a setting to choose the file name and you can use the tag "{data}" to include the serial data.

Thanks, okay i will check this.

Please Log in or Create an account to join the conversation.

  • Posts: 26242
  • Thank you received: 4036
  • MODERATOR
2 days 13 hours ago #367319

Hello,

How can i simply generate serials by shipment method ? So that the customer can choose betweeen postal tickets and e-tickets by e-mail? Variants dont give use the right feeling in frontend.

Serials are generated by the assignation of a pack with a product ; when that product is sold, a serial is generated.
"Attach Serial" and "PDF Serials" generate attachments (in emails or available via product downloads) depending the pack.

There is no link or relation with "shipment method".
For relation between product and shipment ; it's an HikaShop question ; and the answer is the "weight" of the product to make a difference between a "virtual product" and a "physical product". One can be shipped, the other no.

So the way to make the difference in HikaSerial is to have two different products ; one for the "download" and the other for the "print".
Variants is a solution to have two different "products" within one products displayed in your shop.

Now, if you want to customize the behavior, it's still possible to create "custom plugins" using PHP and the HikaShop+HikaSerial triggers.
With custom code you can add your own logic and own rules ; you can change when a download can be available for a products, etc.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 2
  • Hikaserial Subscription Hikashop Business
12 hours 47 minutes ago #367370

Hello,

I have now spent several hours trying to configure a solution that does not make the checkout process so complicated for our customers that the customer cancels and does not order anything.

The solution with the properties in the product to have two sub-products in the main product and then to select a product via dropdown, for example, is rubbish to say the least. I can't offer this solution to customers, it's far too complicated when it comes to the checkout.

I can hide shipping methods in the checkout via the weight, but in connection with Serials this solution is also a configuration monster in the backend.

What we need is a shipping method for serials! I have to be able to create a shipping type and serials have to be able to be routed via it or not!

So: I need the main product. When the customer adds it to the shopping basket, they can select the shipping method by post or serial (e-ticket) at checkout and simply pay. If an e-ticket has been ordered, the shop automatically generates an e-ticket if the payment status is correct.

I have also tried to control this via the warehouse, but I can only ever select the warehouse in the main product - although this would only have been a solution with the property.

Thank you.

Last edit: 12 hours 36 minutes ago by michael.koch@breisig.live.

Please Log in or Create an account to join the conversation.

  • Posts: 26242
  • Thank you received: 4036
  • MODERATOR
1 hour 56 minutes ago #367372

Hello,

Now, if you want to customize the behavior, it's still possible to create "custom plugins" using PHP and the HikaShop+HikaSerial triggers.
With custom code you can add your own logic and own rules ; you can change when a download can be available for a products, etc.


I'll try to reformulate : We understand that you can need some specific workflow and our proposals are oriented by "what you can already do with them".
I don't understand what you want to achieve exactly with the shipping methods but it looks like you have a very good vision of it (so it's good).
Since the built-in features cannot answer to your needs, the solution of "custom plugin" (custom development) is the best way to obtain what you really want.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.088 seconds
Powered by Kunena Forum