Category: Codeigniter

Setup Maintenance Mode Using Hooks in Codeigniter 3

How to Setup Maintenance Mode in Codeigniter 3 Most of the application needs a maintenance mode to indicate the user,the application going through under maintenance. Here is the tutorial to setup the maintenance mode in codeigniter application. CodeIgniter’s Hooks give a feature to modify the core functionality without modifying the core codeIgniter files. We can

Image Upload In Codeigniter With Watermark

Image Upload In Codeigniter With Watermark This tutorial will show you how to upload an image and watermark the image using Codeigniter. The Watermarking feature requires the GD/GD2 library. Codeigniter image upload library allows us to do image watermark in two ways with small configurations changes. 1. Text watermark.(wm_text) Codeigniter text watermark message will be

Failed to write session data Error in codeigniter

Sometimes we occured with the below issue at the end of the page A PHP Error was encountered Severity: Warning Message: touch(): Unable to create file 2;/home/sessions/intranet_sessionn6cti57kfphajiq1husmhdksjl0ju53q because No such file or directory Filename: drivers/Session_files_driver.php Line Number: 248 Backtrace: A PHP Error was encountered Severity: Warning Message: Unknown: Failed to write session data (user). Please