jigniter™

jQuery & CodeIgniter – Perfect combination for web application

Archive for the ‘Troubleshooting’ Category

Solution to: My Cookies are not working in CI application

without comments

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).

Read the rest of this entry »

Written byadmin

August 21st, 2009 at 7:42 pm

Posted inTroubleshooting

Tagged with

Fix Session problem when upgrading to CI 1.7.1

without comments

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).

Written byadmin

July 25th, 2009 at 12:05 pm