Post by TrevorM » Tue Nov 10, 2015 4:57 am

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

Newbie

Posts

Joined
Wed Dec 31, 2014 6:31 am

Post by TrevorM » Tue Nov 10, 2015 7:53 am

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?????

Newbie

Posts

Joined
Wed Dec 31, 2014 6:31 am


Post by TrevorM » Sun Nov 13, 2016 6:30 am

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

Newbie

Posts

Joined
Wed Dec 31, 2014 6:31 am


Post by IP_CAM » Sun Nov 13, 2016 9:19 am

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.
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 ? :o

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

Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland


Post by TrevorM » Mon Nov 14, 2016 5:21 am

Good point, well made.

I am off to xcart........

Newbie

Posts

Joined
Wed Dec 31, 2014 6:31 am

Post by GHD » Sat Nov 26, 2016 4:36 am

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

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 />';
}
}
?>

GHD
Newbie

Posts

Joined
Sat Nov 26, 2016 4:23 am

Post by waynec444 » Sat Oct 19, 2019 12:07 am

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.

New member

Posts

Joined
Sun Oct 06, 2019 11:53 pm

Post by vlim » Thu Oct 24, 2019 1:15 am

Hi, I cloned my website, version 2.0.3.1 all I can see is a blank page, no admin screen, I did the test php and get this response.
Session Support Checker
Session support enabled!

Many thanks,

Newbie

Posts

Joined
Sun Jul 26, 2015 9:53 am
Who is online

Users browsing this forum: No registered users and 10 guests