Author Topic: session_name  (Read 4423 times)

CTGO.co

  • Guest
session_name
« on: December 26, 2018, 06:45:13 AM »
hi,
i get next error from: /public_html/static_pages/error_log
 [26-Dec-2018 14:03:10 Etc/GMT-3] PHP Warning:  session_name(): session.name cannot be a numeric or empty '' in /home/public_html/core/lib/session.php on line 89



what is that means and how can i fix it please ?

regards

SAM

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: session_name
« Reply #1 on: December 26, 2018, 07:33:17 AM »
Did you change any files? Did you modify init.php file?
“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

CTGO.co

  • Guest
Re: session_name
« Reply #2 on: December 26, 2018, 07:47:32 AM »
Did you change any files? Did you modify init.php file?

Abantecart member asked me to replace files of /public_html/core/engine again then after replacing the files, my website https://ctgo.co appears in this mode.


the code of init.php as this:



<?php
/*------------------------------------------------------------------------------
  $Id$

  AbanteCart, Ideal OpenSource Ecommerce Solution
  http://www.AbanteCart.com

  Copyright © 2011-2017 Belavier Commerce LLC

  This source file is subject to Open Software License (OSL 3.0)
  License details is bundled with this package in the file LICENSE.txt.
  It is also available at this URL:
  <http://www.opensource.org/licenses/OSL-3.0>
 
 UPGRADE NOTE:
   Do not edit or add to this file if you wish to upgrade AbanteCart to newer
   versions in the future. If you wish to customize AbanteCart for your
   needs please refer to http://www.AbanteCart.com for more information. 
------------------------------------------------------------------------------*/
// set default encoding for multibyte php mod
mb_internal_encoding('UTF-8');
ini_set('default_charset', 'utf-8');

// AbanteCart Version
include('version.php');
define('VERSION', MASTER_VERSION . '.' . MINOR_VERSION . '.' . VERSION_BUILT);

// Detect if localhost is used.
if (!isset($_SERVER['HTTP_HOST'])) {
   $_SERVER['HTTP_HOST'] = 'localhost';
}

...
« Last Edit: December 26, 2018, 09:45:49 PM by abantecart »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: session_name
« Reply #3 on: December 26, 2018, 09:45:16 PM »
Where did you get this file from? By looking at the copyright dates it is old file.

This is the correct file.
https://github.com/abantecart/abantecart-src/blob/master/public_html/core/init.php

You might need to replace entire core directory.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

CTGO.co

  • Guest
Re: session_name
« Reply #4 on: December 27, 2018, 03:28:23 AM »
Where did you get this file from? By looking at the copyright dates it is old file.

This is the correct file.
https://github.com/abantecart/abantecart-src/blob/master/public_html/core/init.php

You might need to replace entire core directory.


thank you for support but still nothing changed on website, you asked me to stop duplicating posts, and i agree to that and ok for me. you said that screen has nothing enough info to show about the error and  i would ask you again, what is the place of errors which I should to check?? i replaced the files as you told me in the other post and I did,I think the problem in the files and the codes inside them, to explain more about this issue and how it started on my https://shop.ctgo.co , i will mention this step by step:
1. 403 error appeared on website admin panel when I try to add new products, categories and subcategories.
2. i contacted hosting company and promised to check.
3. I posted here about the error and no one replied.
4. i tried to edit .access files and rename it.
5. i deleted the main domain files on https://ctgo.co because it was WORDPRESS.
6. i backed up the admin files and DB in this moment.
7.i got a reply from hosting company and they requested login info. to my website admin panel and i gave them that.
8. they replied after 3 days and told me that they fixed the error and when i asked them what you did ? they replied that they turned of securityMod from Cpanel, I asked them, then why you requested login info to my website admin panel they didn't answer and until now.
9. I asked the hosting company,  how you accessed my Cpanel and they said that they are authorized to access it.
10. I tried to create new categories, subcategories and products, but i lost the thumbnails files and they are not appearing on products, categories and subcategories.
11.  i installed Abantecart on main domain https://ctgo.co and uploaded my backup admin files to server and shared the DB of https://shop.ctgo.co with https://ctgo.co and just created new user for DB of https://shop.ctgo.co.
12. i posted here many times but always got different suggestions and requests, until now it is not working, as also on website search engine, the search is not matching the results correctly and not showing the correct created SEO URL.

 finally, sorry for disturbing you all. I work on developing my website my self since a while, added 10 languages and translated everything on website and admin interfaces, added a lot of things and created a lot of products but after this issue everything stopping here.


if there any chance to solve it let me know please.
 
 THANK YOU

 

Powered by SMFPacks Social Login Mod