s06e08 - Keys System QUESTIONS/SUPPORT

Open to all! Ask other shopowners for help.
BatteryTrader
Contributor
Posts: 153
Joined: Thu Apr 11, 2024 7:18 am
Phoenix Version: 1.1.0.3
Has thanked: 3 times
Been thanked: 17 times

Re: s06e08 - Keys System QUESTIONS/SUPPORT

Post by BatteryTrader »

The keys are no longer updating, have not looked at for a bit as a cron was doing the job

Can see no PHP error in the logs

reseting a single key is no issue

But all blank ones no longer works

The actions are very simular
key

Code: Select all

  $GLOBALS['db']->query("update orders set clubosc_key = '" . Keys::serialise() . "' where orders_id = " . (int)$_GET['oID']);

  $admin_hooks->set('setKeyAction', 'zz_send_message', function () {
    $GLOBALS['messageStack']->add_session(SUCCESS_KEY_UPDATED, 'success');
  });

  return $link;
Keys

Code: Select all

  Keys::setBlankKeys();

  $admin_hooks->cat('setKeysAction', 'zz_send_message', function () {
    $GLOBALS['messageStack']->add_session(SUCCESS_KEYS_UPDATED, 'success');
  });

  return $link;
Now I did go from 1.1.0.2 to 1.1.0.3 at about the same time, although could not confirm dates.

PHP8.3
Pheonix 1.1.0.3

Any clues?

David

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
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: s06e08 - Keys System QUESTIONS/SUPPORT

Post by burt »

Just installed it on a Test Shop.
Seeting Blank Keys works OK...
I am not here to build for you.
I am here to build with you. Let's help each other.
BatteryTrader
Contributor
Posts: 153
Joined: Thu Apr 11, 2024 7:18 am
Phoenix Version: 1.1.0.3
Has thanked: 3 times
Been thanked: 17 times

Re: s06e08 - Keys System QUESTIONS/SUPPORT

Post by BatteryTrader »

Update

I had converted the clubosc_key database from NULL to 0 for some reason, which will no doubt raise its head later.

Thats why the keys were not updating.

Regards


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