- Posts: 14
- Thank you received: 0
Memory error after confirm check out in virtuemart
-
ericong.kc
Inactive member - Topic Author
- New Member
Less
More
11 years 11 months ago #25388
by ericong.kc
Memory error after confirm check out in virtuemart was created by ericong.kc
Hi i have encounter memory error below after i confirm my order
Can you advice what is happening and what need to be change?
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/doterra/public_html/libraries/tcpdf/tcpdf.php on line 20900
Can you advice what is happening and what need to be change?
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/doterra/public_html/libraries/tcpdf/tcpdf.php on line 20900
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 11 months ago #25391
by ivan.milic
Replied by ivan.milic on topic Memory error after confirm check out in virtuemart
follow that file path to tcppdf.php and after <?php at start of file insert this:
ini_set('memory_limit', '-1');
ini_set('memory_limit', '-1');
Please Log in to join the conversation.
-
ericong.kc
Inactive member - Topic Author
- New Member
Less
More
- Posts: 14
- Thank you received: 0
11 years 11 months ago #25394
by ericong.kc
Replied by ericong.kc on topic Memory error after confirm check out in virtuemart
Hi, i tried
<?php ini_set('memory_limit', '-1');
//============================================================+
// File name : tcpdf.php
// Version : 5.9.146
// Begin : 2002-08-03
also
<?php
ini_set('memory_limit', '-1');
//============================================================+
// File name : tcpdf.php
// Version : 5.9.146
// Begin : 2002-08-03
// Last Update : 2012-02-12
It's still getting same error message
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/doterra/public_html/libraries/tcpdf/tcpdf.php on line 20900
<?php ini_set('memory_limit', '-1');
//============================================================+
// File name : tcpdf.php
// Version : 5.9.146
// Begin : 2002-08-03
also
<?php
ini_set('memory_limit', '-1');
//============================================================+
// File name : tcpdf.php
// Version : 5.9.146
// Begin : 2002-08-03
// Last Update : 2012-02-12
It's still getting same error message
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/doterra/public_html/libraries/tcpdf/tcpdf.php on line 20900
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 11 months ago #25399
by ivan.milic
Replied by ivan.milic on topic Memory error after confirm check out in virtuemart
See this , exact problem as yours:
forum.virtuemart.net/index.php?topic=110384.0
you will have to ask provider to increase memory limit for you.
forum.virtuemart.net/index.php?topic=110384.0
you will have to ask provider to increase memory limit for you.
The following user(s) said Thank You: ericong.kc
Please Log in to join the conversation.
-
ericong.kc
Inactive member - Topic Author
- New Member
Less
More
- Posts: 14
- Thank you received: 0
11 years 11 months ago #25408
by ericong.kc
Replied by ericong.kc on topic Memory error after confirm check out in virtuemart
Thank you,
I had created a php.ini file in webroot directory
include the following in the php.ini file
memory_limit = 128M;
max_execution_time = 300;
value upload_max_filesize 12M;
After this my problem solved
I had created a php.ini file in webroot directory
include the following in the php.ini file
memory_limit = 128M;
max_execution_time = 300;
value upload_max_filesize 12M;
After this my problem solved
Please Log in to join the conversation.
Time to create page: 0.165 seconds