Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: cannot access admin area  (Read 54990 times)

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5937
  • Karma: +284/-2
    • View Profile
Re: cannot access admin area
« Reply #15 on: January 20, 2016, 02:07:34 AM »
I just installed abantecart on my server and when I try to log into the Admin area I type my user and password and click on login and it comes back to the login screen instead of logging me in. Please help

Hello. Try to clear your browser cache.
What is your browser? Can you try another browser (Chrome, FireFox, Safari)?

Offline avnish

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: cannot access admin area
« Reply #16 on: April 20, 2017, 03:19:28 AM »
Hi,

I just manually set up a local copy of Abantecart v 1.2.10 on Windows 10 on IIS. PHP version is 7.1.1.

When i accessed admin page, I get this error:  Your server is unable to create a session necessary for AbanteCart functionality. Check logs for exact error details and contact your hosting support administrator to resolve this error.

I went through old posts for the same error but I could not understand those as I guess they are talking about apache server or linux env.

I have OTB setup, so not sure why this is not working. My other php sites work fine.

Appreciate any help, i can get

Thanks.
« Last Edit: April 20, 2017, 03:21:01 AM by avnish »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2063
  • Karma: +325/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: cannot access admin area
« Reply #17 on: April 20, 2017, 03:56:48 AM »
hi.
We suggests to read about session.save_path directive of your php.ini file.
http://php.net/manual/en/session.configuration.php#ini.session.save-path
Looks like you have incorrect value here or directory for temporary file is non-writable for php
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline avnish

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: cannot access admin area
« Reply #18 on: April 20, 2017, 04:49:11 AM »
Hi,

I opened php.ini file from C;/windows and removed ';' in front of following statements:
session.save_path = "N;/path"
session.save_path = "N;MODE;/path"
session.save_path = "/tmp"

Then i recycled application pool and restarted the website on IIS. Then I cleared cached data from browser.

Still the issue persists.

===================
Edit: I even tried to set an absolute path: session.save_path = "C:\webhosting\tmp" and created directory with write permission to all. but nothing seems to work. Will really appreciate a resolution.

===================
Edit2: Tested session setup using this code:
<?php
session_start();
$counter = isset($_SESSION['counter']) ? $_SESSION['counter'] : 0;
$counter++;
print "You have visited this page $counter times during this session";
$_SESSION['counter'] = $counter;
?>
It worked fine. But Admin page is still not working. Shall i try to reinstall afresh or there is a good explanation?
« Last Edit: April 20, 2017, 07:58:47 AM by avnish »

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: cannot access admin area
« Reply #19 on: April 20, 2017, 10:42:01 AM »
As this a IIS specific configuration, can you please create a new thread?
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline deividi

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: cannot access admin area
« Reply #20 on: August 01, 2017, 01:55:48 AM »

I need the data to fill out this installation form.
Would you help me.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5937
  • Karma: +284/-2
    • View Profile
Re: cannot access admin area
« Reply #21 on: August 01, 2017, 01:58:45 AM »

 

Powered by SMFPacks Social Login Mod