Author Topic: Admin page error on fresh install on IIS on Windows10  (Read 5569 times)

Offline avnish

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Admin page error on fresh install on IIS on Windows10
« on: April 21, 2017, 12:36:18 AM »
Hi,

I manually set up a local copy of Abantecart v 1.2.10 on Windows 10 on IIS 2-3 days back. 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.

IIS logs looks fine. The error message in Abantecart log file is same as above except it mentions issue in \core\helper\system_check.php on line 472.

Based on old posts, I did following:
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 tested session generation successfully using this script:

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

AS per my investigation so far, its an application issue in Windows env using IIS.

Appreciate any help, i can get.

Thanks.
Avnish

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod