Fatal error when csrf_protection fail - php

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.

Related

Wordpress site returning fatal error "Cannot redeclare wp_get_server_protocol() (previously declared in /home/...."

I have a wordpress site which is returning the following
Fatal error: Cannot redeclare wp_get_server_protocol() (previously declared in /home/wryl/public_html/wp-includes/load.php:16) in /home/wryl/public_html/wp-includes/load.php on line 21
It's not a site i have anything to do with normally but have been asked if i can fix this issue. I've attempted to re-upload clean wordpress files (wp-admin & wp-includes) and made sure all the permissions have been set correctly but still get the above error. I'm a little lost as to what to try next

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 Magento error fix generated after restore

My web host restored my magento installation after crash and since then I get error:
Fatal error: Class Magento_Db_Adapter_Pdo_Mysql contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Varien_Db_Adapter_Interface::insertIgnore, Varien_Db_Adapter_Interface::changeTableAutoIncrement) in /lib/Magento/Db/Adapter/Pdo/Mysql.php on line 35
How do I fix it?

Fatal error: Class 'phpseclib\Crypt\Base'

Getting this Error in php encription what to do please help
Fatal error: Class 'phpseclib\Crypt\Base' not found in /usr/share/php/phpseclib/Crypt/DES.php on line 55
Are you using the master branch of phpseclib? If so you need to use an autoloader. eg. https://raw.githubusercontent.com/composer/composer/master/src/Composer/Autoload/ClassLoader.php

Fatal error: Class 'Mage_Mtbelano_Helper_Data' when loading page

I'm helping my brother but unfortunately, I'm very very new to Magento but I'm good in PHP and Unix.
I would like to ask what this error is and how to fix it.
Fatal error: Class 'Mage_Mtbelano_Helper_Data' not found in /home/scott/public_html/app/Mage.php on line 547

Categories