Fatal Error in Prestashop - php

I'm editing a template in prestashop for one of clients.
I found an error while trying to add a new product from the backend:
"(500 Internal Server Error)A server error occurred while loading the tabs: some tabs could not be loaded.Please try again by refreshing the page.If you are still encountering this problem, please check your server logs or contact your hosting provider for assistance."
After enabling _PS_MODE_DEV_ to TRUE it gives this error on the "SEO" and "Associations" tabs: Fatal error: Uncaught --> Smarty: unable to write file C:\xampp\htdocs\relaxme/cache/smarty/compile\95\2b\9c\952b9c1156e995ab664f7186cc0ebddf6ecae0c7.file.header.tpl.php <-- thrown in C:\xampp\htdocs\relaxme\tools\smarty\sysplugins\smarty_internal_write_file.php on line 74
and this one in "Quantities" and "Combinations"
Fatal error: Uncaught --> Smarty: unable to write file C:\xampp\htdocs\relaxme/cache/smarty/compile\c5\0f\a1\c50fa17a01bbceed324628ae8fe2b71d5e76786a.file.page_header_toolbar.tpl.php <-- thrown in C:\xampp\htdocs\relaxme\tools\smarty\sysplugins\smarty_internal_write_file.php on line 74
How can I solve this?

Related

Uncaught PHP Exception "Unknown handler dfs" in eZ Publish

I'm getting following error in my eZpublish application while fetching the content using:
$wrapper->content->getFieldValue('short_name', $currentLanguage)->text;
Error:
CRITICAL - Uncaught PHP Exception Symfony\Component\Config\Definition\Exception\InvalidConfigurationException: "Unknown handler dfs" at /var/www/application/releases/v1/wwwroot/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishIOBundle/ApiLoader/HandlerFactory.php line 39.
Is there any way to solve this issue.
Thanks in advance.

codeigniter Fatal error while calling a function menu from application/core/MY_Controller.php

I am getting this error for a small module that I am trying to develop:
Fatal error: Call to undefined method car_booking::getMenu() in
/var/www/html/mis_mishra/application/core/MY_Controller.php on line 67
The same is working fine for other module. I have checked from my side that the case is ok, module is available menu is coming perfectly alright when the module start. unable to trace the reason.
How can I solve this error?

Fatal error when csrf_protection fail

I have enabled csrf_protection, and I don't know if it works as expected.
I added (automatically with form_open) on HTML forms the field csrf_test_name. But if I change the value (or remove it) I get Fatal Error:
Fatal error: Class 'CI_Controller' not found in /home/user/workspace-php/myprojectsystem/core/CodeIgniter.php on line 366
Fatal error: Class 'CI_Controller' not found in /home/user/workspace-php/myproject/system/core/CodeIgniter.php on line 366
I think it's supposed to fail on form validation, am I wrong?
EDIT
I forgot to say that I am using Modular Extensions - HMVC.

Fatal error when trying to clear APC cache using index.php

i am facing this problem in magento site:
Magento website suddenly has 'No data received' Error code: ERR_EMPTY_RESPONSE
so i tried solution provided by #Larzen in that link
but i am getting following error at the end of the frontend and backend :
Fatal error: Call to undefined function apc_clear_cache() in /var/www/html/site/index.php on line 92
so is there any way to clear APC cache through index.php file or how we can do this from server side.

Blank page and following error in prestashop 1.6

In prestashop it show blank page both side fron end and backend some time show following error:
[PrestaShop] Fatal error in module smarty_internal_write_file:
Uncaught --> Smarty: unable to write file D:\Hosting\11513307\html\Shop/cache/smarty/compile\50\d0\37\wrt547ffab5121125_65960237
<-- thrown
Your Smarty Cache directory either does not exist or it does not have write permissions.
please provide write permission to the directory.
D:\Hosting\11513307\html\Shop/cache/smarty/compile\50\d0\37\

Categories