Joomla session related issue that changes on every refresh - joomla

My session.save_path is '/var/lib/php/session'. But every time on page refresh session_id and csrf token is changing in Joomla, for which I cannot login to admin panel. Session save path permission is apache:apache 777. Please help. Joomla version 3.6 php 5.4.16. My session.cookie_secure is true

Related

Voyager first login gives 419 Page Expired error

I've made a new installation of Voyager on XAMPP on Windows following the instructions at https://github.com/the-control-group/voyager
I forgot to install with dummy data so I added an admin user using php artisan voyager:admin me#mydomain.com --create however when I try to login I get the 419 | Page Expired error which I understand is usually an issue with Laravel sessions.
My versions are: Voyager v1.4 | Laravel v7.18 | PHP v7.3.2 | MySql v5.0.12
The following points maybe relevant:
If I look at the login page source code I don't see any reference to a csrf field.
Looking in the database the user exists in the user table, and I entered an email_verified_at date directly.
I notice there's no entry in the user_roles table. I don't know what minimum database entries are required to make it work.
I've checked that session files are being created in storage/framework/sessions/
There's no error log in storage/logs/
I set 'debug' => env('APP_DEBUG', true), in config/app.php (APP_DEBUG was already set to true in .env) and retried the login but not found any debug log file.
I'm new to Voyager and still learning Laravel. Any ideas please how to make it work please?
UPDATE:
After several refreshes of the login page I was able to login, but if I click any menu link it returns me to the login page.
UPDATE2:
Re-running the install with dummy data succeeded but it didn't alter the login session issue. However it works perfectly on another device, so it must be some kind of browser session issue particular to the one PC.
Incidentally running the install with dummy data did not add any entries in the user_roles table, but the admin role is assigned when viewed in the users screen (on my other device).
I was getting this same error, i was serving my app on 127.0.0.1:8000 and my SESSION_DOMAIN was set on localhost. Make Sure you SESSION_DOMAIN in your env is set to the actual domain the app is being served on. Theissue was fixed by running php artisan serve --port=80 and browing to localhost/admin to login

Laravel new Sessions on every refresh and 419 when submit login form

I'm working on laravel project which is working correctly in localhost but when I deploy on a subdomain on my server it is facing issues with sessions. I'm using session driver file. When I login, it says 419 your session has expired. It creates a new session file in storage/framework/sessions whenever I refresh that login page. But locally it creates only 1session file browser and log me in and do not show 419. Moreover cookie exist for localhost link in browser but did not created of my domain.
Please help
IN my case, issue was a space before PHP starting tag in routes/api.php
It can also due to space before an PHP starting tag in routes/* files or config/* files
and it can also due to if any of these files have PHP closing tag

Magento admin page blank after login

My magento version 1.8.0.1 website admin panel shows a BLANK Page after login in. until 2-3 days ago its worked perfectly; I made no changes in any file related to my website.
Could anybody tell me that what's going on with my website & what is the cause of this problem.
An image of the blank page: http://i.stack.imgur.com/pmskn.png
Flush your magento root /var/cache folder and /var/session folders, It may have previous server session that may cause problems.
To rectify this problem:
Login to database via phpmyadmin or any other mysql client.
Open core_config_data table.
Find entry with path like dev/log/active.
Set its value to 1.
Delete /var/session and /var/cache folders in your installation.
Retry to login to admin panel.
If problem is related to functionality, there will be log files in /var/log folder.
You can trace cause of problem from log files of magento.
Please let me know if you find any difficulty.

Joomla administrator re-directs to homepage in localhost

I am trying to access my localhost version of the Joomla Administrator, however each time I navigate to the administrator directory, my Joomla website index page loads instead?
I suspect the htaccess file may be the issue but not 100%?
Any ideas?
Cheers
Ok seeing as you have some protection plugin which re-directs the user from the admin panel if they try and access the page, you won't be able to to either.
And seeing as you can't login to disable it, you will have to do it manually via PhpMyAdmin. Follow these instructions:
Enter PhpMyAdmin
Open the table called jos_extensions (jos is the prefix which may be different for you)
Find the protection extension you have installed which is causing the redirect and go to edit it.
You will find a column called enabled. You need to change the value from 1 to 0
You should then be able to login to the Joomla admin panel
Hope this helps

Login issue after setting memcache session in magento

Admin and customer cannot login in magento after the following changes :
I enabled the memcache session in magento by editing local xml with the following lines
<session_save><![CDATA[memcache]]></session_save>
<session_save_path><![CDATA[tcp://XX.XX.XX.XX:11212?persistent=0&weight=2&timeout=10&retry_interval=10]]></session_save_path>
<!--session_save><![CDATA[files]]></session_save-->
After that I cleared the magento cache from admin,after that I cannot login back to admin panel neither can login from the frontend.
Any fix for this issue?
It worked fine after mem-cached(server) was restarted

Resources