ceid don't hide - [Solved]

Open to all! Ask other shopowners for help.
Post Reply
PiLLaO
Contributor
Posts: 107
Joined: Thu Nov 05, 2020 9:28 pm
Phoenix Version: v1.1.0.6
Has thanked: 53 times
Been thanked: 11 times

ceid don't hide - [Solved]

Post by PiLLaO »

Hi,

I'm just upgrading into phoenix and I find a problem that I can't find the solution, ceid session don't disappear from url, I use my old configuration but something I'm making wrong.

Phoenix v1.1.0.5
php8.5

Code: Select all

Force Cookie Use	False	
Check SSL Session ID	False	
Check User Agent	False	
Check IP Address	False	
Prevent Spider Sessions	True	
Recreate Session	True

Code: Select all

<?php
  error_reporting(E_ALL);

  const HTTP_SERVER = 'https://www.miweb.com';
  const COOKIE_OPTIONS = [
    'lifetime' => 0,
    'domain' => 'www.miweb.com',
    'path' => '/',
    'samesite' => 'Lax',
    'secure' => true,
  ];
  const DIR_WS_CATALOG = '/';

  date_default_timezone_set('Europe/Madrid');

// If you are asked to provide configure.php details,
// please remove the data below before sharing.
  const DIR_FS_CATALOG = '/home/public_html/miweb.com/';
My phoenixcart is in miweb.com folder, not on root

Any help will be appreciated
Last edited by PiLLaO on Sun Feb 22, 2026 12:19 pm, edited 1 time in total.


Join The Code Co-op to get access to your library in the Code Co-op Forum
PiLLaO
Contributor
Posts: 107
Joined: Thu Nov 05, 2020 9:28 pm
Phoenix Version: v1.1.0.6
Has thanked: 53 times
Been thanked: 11 times

Re: ceid don't hide

Post by PiLLaO »

I make a fresh install and don't have the problem, so.. something that I make it bring me the problem
PiLLaO
Contributor
Posts: 107
Joined: Thu Nov 05, 2020 9:28 pm
Phoenix Version: v1.1.0.6
Has thanked: 53 times
Been thanked: 11 times

Re: ceid don't hide

Post by PiLLaO »

Find the problem, making the first change of the commit cause conflict with ultimate seo urls

https://github.com/CE-PhoenixCart/Phoen ... d1bdb9be07

includes/system/segments/application/start_session.php [core file]
includes/classes/usu_init.php [addon file]

So I revert changes from

Code: Select all

(! empty(session_id()) ? session_name() . '=' . session_id() : '')
to

Code: Select all

(defined('SID') ? SID : '')
And set php8.3 as install recomended
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: ceid don't hide - [Solved]

Post by burt »

@BrockleyJohn any insights ?
I am not here to build for you.
I am here to build with you. Let's help each other.
BrockleyJohn
Certified Developer
Posts: 173
Joined: Mon Mar 01, 2021 5:37 pm
Phoenix Version:
Has thanked: 2 times
Been thanked: 30 times

Re: ceid don't hide - [Solved]

Post by BrockleyJohn »

burt wrote: Tue Feb 24, 2026 3:44 pm @BrockleyJohn any insights ?
I believe the addon needs updating to remove SID references to make it php 8.4 compatible.

Checking / updating it so it works without SID is on my list
PiLLaO
Contributor
Posts: 107
Joined: Thu Nov 05, 2020 9:28 pm
Phoenix Version: v1.1.0.6
Has thanked: 53 times
Been thanked: 11 times

Re: ceid don't hide - [Solved]

Post by PiLLaO »

Hi,

Making the change here

Code: Select all

includes/system/segments/application/start_session.php [core file]
don't remove ceid from any core page like index.php, shipping.php, privacy.php....

And making the change here

Code: Select all

includes/classes/usu_init.php [addon file]
don't remove ceid fron any friendly url

Best regards


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply