| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) - HELP PLEASE! | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) - HELP PLEASE!
ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2)
Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777216 bytes) We are getting this error message on our site. Nothing is currently being uploaded or changed etc. What is this error and how can we fix it? Thanks in advance.
__________________
WBK3p2snmcUwpP0V1MtfpCuV6qUAD282 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) - HELP PLEASE!
Hi!
What version and Edition of X-Cart are you using? Please add it to your signature. Also, it's always useful ro describe the issues you face in as many details as possible: where do you see the problem, what you did before it appeared and so on. Quote:
This error means that the server ran out of memory for some reason. Or, probably there's some memory, but it can not be used because of memory_limit value set in php.ini Thus the easiest way to fix it is to contact your hosting provider and ask to increase the memory limit.
__________________
X-Cart team Last edited by Ksenia : 09-09-2014 at 03:38 AM. |
|||||||||
|
#3
|
|||||||
|
|||||||
Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) - HELP PLEASE!
I'm hitting the same error when trying to enable 'Clean URLs'. The current limit I have set is: memory_limit = 128M
What do you recommend setting the memory limit to?
__________________
X-Cart 5.1.9 (win) |
|||||||
#4
|
|||||||||
|
|||||||||
Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) - HELP PLEASE!
The preferable memory_limit is more than 256M.
kokeyuk1 how many products do you have? Anyway, increasing memory limit to 512M-1024M should help. Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#5
|
|||||||
|
|||||||
Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) - HELP PLEASE!
My provider updated the memory limit to over 256MB as recommended, but the issue remains. The error page layout changed a little now, but seems to be the same error message.
I attached a screenshot of the error and included the text below.
Any advice on what else it might be? So far I'm only hitting this error when I try to enable Clean URLs from the Environment page.
__________________
X-Cart 5.1.9 (win) |
|||||||
#6
|
|||||||||
|
|||||||||
Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) - HELP PLEASE!
Hi AALPA!
This problem is caused by the fact that you are missing a record with name "clean_url_flag" in xc_config table of your X-Cart. Our support team can help you to fix the problem and find its origin. Just drop us a message at support@x-cart.com
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#7
|
|||||||
|
|||||||
Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) - HELP PLEASE!
I do have the same issue. I quadrupled my memory_limit in php.ini file. Since this is an installation of the sample XCart I don't think the issue is a missing record. But after doing all these my X-Cart's front end still doesn't work.
The followin error..... An error occurred in your store. ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) Allowed memory size of 134217728 bytes exhausted (tried to allocate 786432 bytes) is anyway still there & no remedy did work for it !!!
__________________
imahc |
|||||||
#8
|
|||||||||
|
|||||||||
Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) - HELP PLEASE!
Quote:
Your memory_limit is set to 128MB. Your server is likely 64-bit, so you should increase it up to 256MB, at least. Please check this page: http://kb.x-cart.com/en/general_setup/installation_guide.html#server-requirements ----- Also, you should restart the web server after editing php.ini, otherwise the changes won't take effect.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#9
|
|||||||||
|
|||||||||
Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) - HELP PLEASE!
This is happening on my test installation all the time. After installing a module, after cache regeneration, after not being to store front for days and then try to load it... It goes away on screen refresh but then eventually happens again. It has something to do with Less.php class.
QT has been looking at the issue for a while now - few months - and nothing yet. It was happening on 5.2.x and now same is on 5.3.x. It doesn't really matter how much memory you allocate to PHP - I have 256 but tried with even 500 - it always reports same numbers for the "out of memory error". "Out of memory (allocated 133955584) (tried to allocate 1966080 bytes)" So this is definitely an XC issue. Whether is due to some specific server settings or not I don't know.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#10
|
|||||||||
|
|||||||||
Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) - HELP PLEASE!
@chamitrail:
Did restarting the web server help? @Steve: I see number of "out of memory" tickets at http://bt.x-cart.com/, but all of them were solved by increasing the memory limit up to 256MB. Also, there are a few tickets with bugs causing the error, but as far as I see all these bugs are fixed by now.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions Last edited by qualiteam : 09-05-2016 at 08:55 PM. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|