Search found 96 matches

by PiLLaO
Thu Nov 19, 2026 11:02 am
Forum: Community Help & Support
Topic: Sessions Settings - Possible regression with `Form::hide_session_id()` after PHP 8.4 session changes (v1.1.0.7)
Replies: 15
Views: 2096

Re: Sessions Settings - Possible regression with `Form::hide_session_id()` after PHP 8.4 session changes (v1.1.0.7)

Yes, this commit causes ceid never hide. As I put here, the change in includes/system/segments/application/start_session.php causes this issue As I see it, the original code contained the session name and ID only upon the first visit to the website; afterwards, it was always empty, which is why it w...
by PiLLaO
Wed Nov 04, 2026 8:11 am
Forum: Community Help & Support
Topic: Sessions Settings - Possible regression with `Form::hide_session_id()` after PHP 8.4 session changes (v1.1.0.7)
Replies: 15
Views: 2096

Re: Sessions Settings - Possible regression with `Form::hide_session_id()` after PHP 8.4 session changes (v1.1.0.7)

This code works for me // set SID once, even if empty $SID = (!isset($_COOKIE[session_name()]) ? session_name() . '=' . session_id() : ''); IA helps me to see that need to use $_COOKIE[session_name()] I look con my 1.1.0.6 and first time on website $_COOKIE[session_name()] is NULL and after first cl...
by PiLLaO
Mon Oct 26, 2026 8:53 am
Forum: Community Help & Support
Topic: 1.1.0.8 Questions / Comments / Concerns / Feedback
Replies: 16
Views: 4238

Re: 1.1.0.8 Questions / Comments / Concerns / Feedback

I think this are coming from here: https://github.com/CE-PhoenixCart/PhoenixCart/commit/f8dcfc35427e162e19f9fe208c89761a5a2f0d53 After this commit it uses this hook: INSERT INTO hooks (hooks_site, hooks_group, hooks_action, hooks_code, hooks_class, hooks_method) VALUES ('shop', 'reset', 'resetStart'...
by PiLLaO
Fri Oct 23, 2026 8:54 am
Forum: Community Help & Support
Topic: 1.1.0.8 Questions / Comments / Concerns / Feedback
Replies: 16
Views: 4238

Re: 1.1.0.8 Questions / Comments / Concerns / Feedback

I make a fresh install of v1.1.0.8, when I make an order comments are saved on database but aren't append to email. I use a override tpl_n_checkout.php to see the problem, and add a var_dump($order) to see it. $order->info['comments'] are empty (string(0)) If I make an order update, comments append ...
by PiLLaO
Tue Oct 20, 2026 5:32 pm
Forum: Community Help & Support
Topic: Sessions Settings - Possible regression with `Form::hide_session_id()` after PHP 8.4 session changes (v1.1.0.7)
Replies: 15
Views: 2096

Re: Sessions Settings - Possible regression with `Form::hide_session_id()` after PHP 8.4 session changes (v1.1.0.7)

This is not a fix it's to hide the error from error_log

Code: Select all

// set SID once, even if empty
  // $SID = (defined('SID') ? SID : '');
  $SID = (defined('SID') ? @constant('SID') : '');
by PiLLaO
Tue Oct 20, 2026 4:09 pm
Forum: Community Help & Support
Topic: Sessions Settings - Possible regression with `Form::hide_session_id()` after PHP 8.4 session changes (v1.1.0.7)
Replies: 15
Views: 2096

Re: Sessions Settings - Possible regression with `Form::hide_session_id()` after PHP 8.4 session changes (v1.1.0.7)

As I see it, the original code contained the session name and ID only upon the first visit to the website; afterwards, it was always empty, which is why it wasn't being appended to the URLs. The new code, $SID always contains the session name and ID, and for that reason, it is always appended to the...
by PiLLaO
Tue Oct 20, 2026 3:11 pm
Forum: Community Help & Support
Topic: Sessions Settings - Possible regression with `Form::hide_session_id()` after PHP 8.4 session changes (v1.1.0.7)
Replies: 15
Views: 2096

Re: Sessions Settings - Possible regression with `Form::hide_session_id()` after PHP 8.4 session changes (v1.1.0.7)

While I upgrade for newer version and I can check if works... I deleted * includes/system/versioned/1.01.00.07/form.php And change the fix: $SID = (! empty(session_id()) ? session_name() . '=' . session_id() : ''); with: $SID = (session_id() != '' ? SID : ''); That works (for me) like previous code ...