CodeIgniter Session stopped working - codeigniter

CodeIgniter Session worked well. But after I reinstall Vagrant Homestead, Session doesn't work. No any changes in code. I tried to change $config['sess_driver'] to 'files', 'memcached', but same problem. I see session data in files. Afer refreshing a page it's like no logged user.
I event don't know where is the problem.

I just upgraded CodeIgniter version to last one. This problem happens with CodeIgniter 3.0 and PHP 7.1

Related

Laravel 5.4 : Login and singup working on shared hosting but not on VPS server

I move the project from shared hosting to VPS hosting now everything working fine such as inner pages, design, image loading but I am unable to login and signup now.
When I submit the login/Signup form it will redirect to the same page but without any error message.
And I also generate the Token via command do I need to do anything more to make it work.
I also check the laravel.log file and other things but unable to solve this.
Can anybody face the same issue
Issue is I do not create the session folder to store the session of Laravel 5.4

Session laravel 5.3 not working over LAN

currently using :
laravel 5.3
session driver already tried memcached,redis
my session data each refresh page it's always gone..
when i try using php artisan serve, it's normal not gone at all.. but when accessing from LAN.. it's look like no even stored at all..
i try using virtual host on my fedora but it's normal..
just because of accessing from LAN why my session can't stored at all?
is somebody experience something like this?
just scare if i up this app.. and this problem show up..
here's part of my login controler that stored email and token
$req->session()->put('USER_TOKEN',$data->token);
$req->session()->put('USER_EMAIL',$result->param["email"]);
for get the session value in my home controoler
$req->session()->get('USER_TOKEN');
$req->session()->get('USER_EMAIL');
best regards,

Magento backend showing blank pages after login?

I have magento 1.9 version and It is working fine on local and demo server but when I move this to live server its admin is not working.It just login admin and only header and navigation bar shows up there.
I tried with remove cache, sessions.disabled all newly installed extensions.but still same problem.My frontend is working fine.
Please help me to solve this issues.
This error was coming due to some entries in table "adminnotification_inbox" . I don't know why this happened.I just empty this table and my admin works fine but as soon as this table have entry same problem occurs, So After empty that table I disable admin notification from following location:-
System->Advanced->Disable Modules Output
Mage_AdminNotification
This solved my problem.
flush your magento root /var/cache folder and /var/session folders, It may have previous server session that may cause problems.

Symfony2 dev environment not clearing cache automatically

I'm working on a new Symfony2 project, and I'm using the app_dev frontcontroller to view the default AcmeDemoBundle's pages.
When I make changes to the controllers, I get an exception (NotFoundHttpException: No route found for "GET /demo/hello/World"). If I clear the cache using php app/console cache:clear, things work great again. However, it is my understanding that by using the app_dev front controller, I shouldn't be required to do this. Am I doing something wrong?
Soms system specs:
OSX Lion using MAMP
PHP 5.3.6
Symfony 2.0.1
Are you using different users for webserver and command line user? Maybe you should check for permissions in the Setting up Permissions paragraph.

xajax and codeigniter - blank page and xajax request URI error

I am unfortunately getting a blank page when trying to run a site locally. There are other people running it locally just fine, so I am wondering if it could be something to do with my LAMP environment.
When I attempt to load the site, it's nothing but a blank page. I've ran php index.php in console and the error I get is the following "xajax Error: xajax failed to automatically identify your Request URI.Please set the Request URI explicitly when you instantiate the xajax object.". I'm not quite sure how to handle this in CodeIgniter and or at all to be honest.
I think it's a problem with LAMP configuration: check codeigniter folder permissions (add write permission to "logs" folder.
Thanks for your answer. I actually figured out what the problem was, it was like you said a problem with my LAMP configuration. Unfortunately XAMPP (which is what I am using and or was), the newest version uses PHP 5.3. Xajax doesn't support PHP 5.3 and this was causing the problems. After I went to an older version all was well!

Resources