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

Support AbanteCart eCommerce

Author Topic: Warning: session_name() when running on different windows machine  (Read 2946 times)

Offline paul_evc7

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Right now I have AbanteCart running fine on a windows 10 machine but because I need to collaborate I installed AbanteCart on another machine, configure database and XAMPP server but when running I keep having this error:

Warning: session_name(): session.name cannot be a numeric or empty ''in dir\public_html\core\lib\session.php" on line 89


Already tried different browsers and cleaning cookies and cache but nothing helps.
Another thing is that it always redirects to "public_html/static_pages/index.php" intead of "public_html/index.php"

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5751
  • Karma: +273/-2
    • View Profile
Re: Warning: session_name() when running on different windows machine
« Reply #1 on: March 18, 2020, 06:26:12 AM »
Hello.
What is your AbanteCart version?

Offline paul_evc7

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Warning: session_name() when running on different windows machine
« Reply #2 on: March 18, 2020, 06:51:42 PM »
Hello.
What is your AbanteCart version?

Is the latest version 1.2.15
XAMPP v3.2.4
PHP v7.4.3

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5751
  • Karma: +273/-2
    • View Profile
Re: Warning: session_name() when running on different windows machine
« Reply #3 on: March 19, 2020, 01:17:42 AM »
For php 7.4+ please install AbanteCart 1.2.16 https://github.com/abantecart/abantecart-src/archive/1.2.16.zip

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Warning: session_name() when running on different windows machine
« Reply #4 on: March 19, 2020, 06:09:24 AM »
please create new php file with any text editor  and put this code inside
Code: [Select]
<?php phpinfo(); ?>Then open it via browser.
Post output here.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline paul_evc7

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Warning: session_name() when running on different windows machine
« Reply #5 on: March 19, 2020, 03:20:39 PM »
Here is my PHP info

Offline paul_evc7

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Warning: session_name() when running on different windows machine
« Reply #6 on: March 19, 2020, 03:37:20 PM »
For php 7.4+ please install AbanteCart 1.2.16 https:// github.com /abantecart /abantecart-src/archive/1.2.16.zip

This solved my problem thanks!
It would be nice to update requirements in the manuals page or specify PHP version because it says PHP 7.3+ Supported

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5751
  • Karma: +273/-2
    • View Profile
Re: Warning: session_name() when running on different windows machine
« Reply #7 on: March 20, 2020, 12:42:43 AM »
Hello, paul_evc7.
The 1.2.16 will be released soon

 

Powered by SMFPacks Social Login Mod