Getting white pages with several places - error tcpdf_colors.php

  • Robby Van Sande
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago #112582 by Robby Van Sande
I'm getting white pages on several places.
I've turned error detection on so i can see why.

When i want to access the invoices, im getting this message:

Notice: Undefined index: None in /home/deb77304/domains/MYDOMAIN/public_html/components/com_eventbooking/tcpdf/include/tcpdf_colors.php on line 259

Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 12288 bytes) in /home/deb77304/domains/MYDOMAIN/public_html/components/com_eventbooking/tcpdf/tcpdf.php on line 7288


After registration of a new member i'm also getting this error.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 11 months ago #112588 by Tuan Pham Ngoc
Hello Robby

The error message indicate that there is not enough memory to generate invoice/tickets PDF for the registration. Please contact your hosting provider, ask them to increase memory limit for your hosting account (maybe double the current value), then check it again. The error should be gone

Regards,

Tuan

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

  • Robby Van Sande
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago #112604 by Robby Van Sande
I changed the memory limit from 96M tot 128M and the error is getting worse :-/

Notice: Undefined index: None in /home/deb77304/domains/MYDOMAIN/public_html/components/com_eventbooking/tcpdf/include/tcpdf_colors.php on line 259

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 77773240 bytes) in /home/deb77304/domains/MYDOMAIN/public_html/components/com_eventbooking/tcpdf/tcpdf.php on line 7288

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

  • Robby Van Sande
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago #112605 by Robby Van Sande
Changed to 256M and still the same:

Notice: Undefined index: None in /home/deb77304/domains/priodrive.be/public_html/components/com_eventbooking/tcpdf/include/tcpdf_colors.php on line 259

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 28672 bytes) in /home/deb77304/domains/priodrive.be/public_html/components/com_eventbooking/tcpdf/tcpdf.php on line 7308

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

  • Robby Van Sande
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago #112606 by Robby Van Sande
Changed tot 512M and it works, but in my opinion pretty slow :-/

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

  • Robby Van Sande
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago #112610 by Robby Van Sande
Talking to myself, but i found the reason of all this: a 'simple' png file.
I've added a logo to the invoice but took the wrong file.
This file was 56MB and that's 'a bit' too much ;-)

Changed it to something much smaller, all problems are gone and it's going fast.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 11 months ago #112622 by Tuan Pham Ngoc
:). Great. Thanks for letting us know the reason. I was going to ask you to submit a support ticket to see why the system requires much memory like that for generating invoice PDF. I'm glad you figured it out

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc