Archive for the ‘Troubleshooting’ Category
Solution to: My Cookies are not working in CI application
I have been experimenting this problem before, and let me ask you the following question… are you using Xampp? I have experimenting this problem in Xampp only.
If yes, then you can try the following solutions. (Although you can try the solutions whatever is your server).
Fix Session problem when upgrading to CI 1.7.1
If you encountered the following problem when upgrading from CodeIgniter 1.6.x to 1.7.x, then here is a workaround.
A PHP Error was encountered
Severity: 4096
Message: Object of class stdClass could not be converted to string
Filename: libraries/Session.php
Line Number: 715
A quick fix can be made by overriding Session class. As exposed at this forum thread, you can create MY_Session.php and place it under your libraries folder (When you place MY_ prefix, the class is automatically loaded).



