Showing posts with label php error handling. Show all posts
Showing posts with label php error handling. Show all posts

Monday, 11 July 2022

Google Recaptcha Integration | PHP , ASP.NET C# , Codeiginater 4

 




Wednesday, 29 June 2022

Unable to write in session folder in windows 10 using Codeigniter 4

 This post is applied on following Codeigniter Error

  • Unable to write in session folder in windows 10 using Codeigniter 4
  •  SYSTEMPATH\Session\Handlers\FileHandler.php at line 102
  •  Uncaught Exception: Session: Configured save path
  • CodeIgniter\Session\Exceptions\SessionException

Solution 

I solved this issue... for anyone experiencing this... changing permissions to anything didn't work. Somehow they had been corrupted on the actual folder so I deleted the cache folder and session folder and created new folders and replaced the contents (files ended up not being an issue). This fixed my issue.

Note: In my case, this error occurred due to google cloud backup because I was working simultaneously while the backup is running and Google Backup corrupted the session folder. 

Tuesday, 15 March 2022

Layout In CI

Step 1 :

Make a folder named shared in app/Views

Step 2 : 

Make 3 files named menu.php,footer.php,layout.php

menu.php : will hold menu of website

layout.php : will hold master layout page for your website

footer.php : will hold footer code 

Thursday, 22 April 2021

PHP 404 page handling

 

PHP 404 page handling

Server shows 404 error code when requested resource not found at server. By default, the browser display 404 error page .which is not as user-friendly because it does not show our website look and layout. if you want to custom 404-page handling page then this post will help you. to do the above let follows the steps given below.