Friday, December 18, 2015

Menangani A PHP Error was encountered Severity: Warning Pasca Install Pustakawan Pathfinder

Kemarin saya telah share cara install Pustakawan Pathfinder. Setelah install Pustakawan Pathfinder , ternyata eror terdapat pesan seperti berikut ini

A PHP Error was encountered

Severity: Warning
Message: mkdir() [function.mkdir]: No error
Filename: drivers/Session_files_driver.php
Line Number: 117
Backtrace:
File: D:\psenayan\apache\htdocs\pustakawan\application\controllers\Pathfinder.php
Line: 27
Function: __construct
File: D:\psenayan\apache\htdocs\pustakawan\index.php
Line: 292
Function: require_once

An uncaught Exception was encountered

Type: Exception
Message: Session: Configured save path '' is not a directory, doesn't exist or cannot be created.
Filename: D:\psenayan\apache\htdocs\pustakawan\system\libraries\Session\drivers\Session_files_driver.php
Line Number: 119
Backtrace:
File: D:\psenayan\apache\htdocs\pustakawan\application\controllers\Pathfinder.php
Line: 27
Function: __construct
File: D:\psenayan\apache\htdocs\pustakawan\index.php
Line: 292
Function: require_once
 Setelah saya browsing saya menemukan artikel yang sangat membantu menyelesaikan masalah ini. Masalah error ini disebabkan masalah sesion driver.
Untuk menanggani nya :
1) Silahkan edit file config.php yang ada di folder pustakawan\application\config
2) Ubahlah code pada $config['sess_save_path'] dari NULL menjadi
sys_get_temp_dir();


Perhatikan code berikut

Code yang belum diedit
$config['sess_save_path'] = NULL;

Code yang sudah diedit
$config['sess_save_path'] = sys_get_temp_dir();

3. Refresh apache dan Pustakawan Pathfinder aman digunakan. Ayo gunakan Pustakawan Pathfinder


Referensi

http://stackoverflow.com/questions/31042456/when-i-want-to-use-session-in-codeigniter-it-says-error-why

2 comments:

  1. mohon di bantu problem saya di bawah ini


    A PHP Error was encountered

    Severity: Warning

    Message: Invalid argument supplied for foreach()

    Filename: controllers/facebook_home.php

    Line Number: 1602

    ReplyDelete

  2. A PHP Error was encountered

    Severity: Warning

    Message: Invalid argument supplied for foreach()

    Filename: controllers/facebook_home.php

    Line Number: 1602


    Bisa di bantu

    ReplyDelete

Silahkan tinggalkan komentar , kritik , & saran

Artikel Terbaru , Baca aja

Arsip Blog

Menyenangkan