• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NOT Resolve Fatal error: Class CI_Session_files_driver contains 1 abstract method

#1
Bug 
Hello,

That question is already posted but i am create thread once more because its still there when i am restart server its working fine but after 5 to 10 minutes again show the same message, and i update a new version system folder replace existance system folder.

Here is an error

Fatal error: Class CI_Session_files_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::close) inD:\Xampp\htdocs\system\libraries\Session\drivers\Session_files_driver.php on line 49
A PHP Error was encountered
Severity: Error
Message: Class CI_Session_files_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::close)
Filename: drivers/Session_files_driver.php
Line Number: 49
Backtrace:


Ok its that error on my local machine when i google it show the codeigniter forum same error as my location machine here is link https://forum.codeigniter.com/printthread.php?tid=64763.

Resolve this error i am stuck on that.

Gratitude,
iRfan
Reply

#2
Delete your system directory and install the new system directory also make sure you copy over the new index.php file.

Also if you read the documentation on XAMPP it should be installed in your C:\ root disk drive.
What did you Try? What did you Get? What did you Expect?

Joined the CodeIgniter Community in 2009.          ( Skype: insitfx )
Reply

#3
(04-02-2016, 09:51 AM)InsiteFX Wrote: Delete your system directory and install the new system directory also make sure you copy over the new index.php file.

Also if you read the documentation on XAMPP it should be installed in your C:\ root disk drive.

oohhh... 

Still error there i m changing the system folder, index file and also change the directory.

Fatal error: Class CI_Session_files_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::gc) inC:\xampp\htdocs\portal\system\libraries\Session\drivers\Session_files_driver.php on line 49

A PHP Error was encountered
Severity: Error
Message: Class CI_Session_files_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::gc)
Filename: drivers/Session_files_driver.php
Line Number: 49
Backtrace:



Error are still same    Huh
Sad Sad Sad Sad Sad Sad Sad Sad
Reply

#4
Check your .htaccess file and make sure you do not have a line like this in it, if so try remarking it out with a # sign and then try it.
This line of code has given me problems with CI in the pass and if your html is correct you do not need it.

Code:
RewriteCond $1 !^(index\.php|images|captcha|css|js|robots\.txt)
html correct way add this to your head tag:
Code:
<base href="<?php echo base_url();?>" target="_blank">
I'am running Windows 10 and XAMPP and have no problems at all.
What did you Try? What did you Get? What did you Expect?

Joined the CodeIgniter Community in 2009.          ( Skype: insitfx )
Reply

#5
Please attach an archive of your C:\xampp\htdocs\portal\system\ contents.
Reply

#6
Hello,

That error also show on codeigniter forum open url
https://forum.codeigniter.com/printthread.php?tid=64763

Narf there no folder name contents in system directory
Reply

#7
Head -> desk.

(04-17-2016, 11:04 PM)irfan Wrote: Hello,

That error also show on codeigniter forum open url
https://forum.codeigniter.com/printthread.php?tid=64763

Yes, because that's how you've named this thread.

(04-17-2016, 11:04 PM)irfan Wrote: Narf there no folder name contents in system directory

Contents is not a "folder name" ... use a dictionary to see what the word means.
Reply

#8
(04-18-2016, 12:09 AM)Narf Wrote: Head -> desk.

(04-17-2016, 11:04 PM)irfan Wrote: Hello,

That error also show on codeigniter forum open url
https://forum.codeigniter.com/printthread.php?tid=64763

Yes, because that's how you've named this thread.

(04-17-2016, 11:04 PM)irfan Wrote: Narf there no folder name contents in system directory

Contents is not a "folder name" ... use a dictionary to see what the word means.

Hi guys, I also have a simular error:

Fatal error: Class CI_Session_files_driver contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::open, SessionHandlerInterface::read) in D:\wamp64\www\has\system\libraries\Session\drivers\Session_files_driver.php on line 49

I have replaced the system folder of CI 3 but still no luck. Restarting apache fixes the problem temporary. But after a while, it still comes back. Here is my working environment:

Windows 10 64 bit Pro.
Wamp Server 3.1.0
PHP Version 7.1.10
Codeigniter 3.1.6

What is very interesting, i have two other projects on this Wamp Server that are on Codeigniter 2, and they dont seem to have this problem. Any ideas or thoughts?
Reply

#9
I am also running your same setup except I' am using XAMPP, mine runs just fine.

Check your version of WAMP, I read that there was a problem with the 64 bit version of it.
What did you Try? What did you Get? What did you Expect?

Joined the CodeIgniter Community in 2009.          ( Skype: insitfx )
Reply

#10
(10-26-2017, 03:00 AM)InsiteFX Wrote: I am also running your same setup except I' am using XAMPP, mine runs just fine.

Check your version of WAMP, I read that there was a problem with the 64 bit version of it.

Hi InsiteFX, Yes my wamp is 64, but can you tell where did you read that wamp64 is associated with this particular problem>
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.