Hi all
I have searched but don't see this issue mentioned anywhere.
I have just upgraded to the latest version 2.1.0.1 from 2.0.3.1
All went fine as usual, I then uploaded the Journal files files as usual.
However when I try to access the shops admin it doesn't recognise my user name/password
As I logged in to the admin panel just before upgrading to check my version I know I am using the correct login details.
I have never had an issue before.
Can any one help me get back in please?
regards
Trevor
I have searched but don't see this issue mentioned anywhere.
I have just upgraded to the latest version 2.1.0.1 from 2.0.3.1
All went fine as usual, I then uploaded the Journal files files as usual.
However when I try to access the shops admin it doesn't recognise my user name/password
As I logged in to the admin panel just before upgrading to check my version I know I am using the correct login details.
I have never had an issue before.
Can any one help me get back in please?
regards
Trevor
So this is what I had to do.
Re-install the older version of opencart.
I also used ocreset.php to check my admin user name and reset the password but that wasn't the problem as I still couldn't login in.
I could login after putting the old version of opencart back on.
I then put the latest Journal files on and now all is working again.
So there is an issue with the latest version of opencart?????
Re-install the older version of opencart.
I also used ocreset.php to check my admin user name and reset the password but that wasn't the problem as I still couldn't login in.
I could login after putting the old version of opencart back on.
I then put the latest Journal files on and now all is working again.
So there is an issue with the latest version of opencart?????
So after giving up on Opencart a year ago I find the need to try it again for a friends web-site.
But no, I can't log in to the admin pages and have the following error message at the bottom of the page.
The install went perfectly.
Edited for security.....
Warning: SessionHandler::write(): open(/var/lib/php/session/sess_rh2d4a1165q2vf9ascgpfi9ll3, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/serverinfo/web-site.co.uk/system/library/session/native.php on line 21
I would really like a response this time or it will be the last time I bother with opencart...........
But no, I can't log in to the admin pages and have the following error message at the bottom of the page.
The install went perfectly.
Edited for security.....
Warning: SessionHandler::write(): open(/var/lib/php/session/sess_rh2d4a1165q2vf9ascgpfi9ll3, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/serverinfo/web-site.co.uk/system/library/session/native.php on line 21
I would really like a response this time or it will be the last time I bother with opencart...........
well, as you may know, there are some rules, to be followed, to likely qualify for a reply.I would really like a response this time or it will be the last time I bother with opencart
And since you did not follow one of those rules, no-one else, exept for you, has any idea
on, what you're talking about. Neither a Version, nor a Theme, not to speak about Mod's
installed, mentioned anywhere, and you did not mention either, if this is a clean Install, or
some also unknown updated older Version.
And this: Edited for security..... , what you you mean with that ?

So, why should anyone bother, to find out first, just to keep you from leaving the OC Scene for good ?!

If you know, what I'm trying to tell you

Nothing personal, no offense !
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
This issue is caused by php sessions either not being enabled or enabled but not configured correctly.
Check the php.ini file at server or site level depending on what server you are using.
If using Plesk go to the php version being used for your site and adjust the settings accordingly.
If you don't have a control panel use nano on the command line to edit php.ini
Plesk seems to set a path for session.save_path that is incorrect and in my case it didn't even exist.
Changing the session.save_path to /temp will solve the problem if all the other settings appear to be OK.
A small script to check if php sessions are enabled correctly is below.
Paste it into a text file and call it test.php
Upload to your web space and run it by visiting www.yourwebsite.co.uk/test.php
Check the php.ini file at server or site level depending on what server you are using.
If using Plesk go to the php version being used for your site and adjust the settings accordingly.
If you don't have a control panel use nano on the command line to edit php.ini
Plesk seems to set a path for session.save_path that is incorrect and in my case it didn't even exist.
Changing the session.save_path to /temp will solve the problem if all the other settings appear to be OK.
A small script to check if php sessions are enabled correctly is below.
Paste it into a text file and call it test.php
Upload to your web space and run it by visiting www.yourwebsite.co.uk/test.php
Code: Select all
<?php
// Start Session
session_start();
// Show banner
echo '<b>Session Support Checker</b><hr />';
// Check if the page has been reloaded
if(!isset($_GET['reload']) OR $_GET['reload'] != 'true') {
// Set the message
$_SESSION['MESSAGE'] = 'Session support enabled!<br />';
// Give user link to check
echo '<a href="?reload=true">Click HERE</a> to check for PHP Session Support.<br />';
} else {
// Check if the message has been carried on in the reload
if(isset($_SESSION['MESSAGE'])) {
echo $_SESSION['MESSAGE'];
} else {
echo 'Sorry, it appears session support is not enabled, or you PHP version is to old. <a href="?reload=false">Click HERE</a> to go back.<br />';
}
}
?>
I know this is an old thread but I did try the PHP test as shown and got the following result:
Session Support CheckerSession support enabled!
Using the latest version of OC as of 10/18/2019
Note that I was able to get in before, all of a sudden I am denied access. What now? Thanks.
Session Support CheckerSession support enabled!
Using the latest version of OC as of 10/18/2019
Note that I was able to get in before, all of a sudden I am denied access. What now? Thanks.
Who is online
Users browsing this forum: No registered users and 5 guests