1.1.0.7 Questions / Comments / Concerns / Feedback

Open to all! Ask other shopowners for help.
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: 1.1.0.7 Questions / Comments / Concerns / Feedback

Post by raiwa »

or maybe in admin/products_attributes.php line 63:

Code: Select all

    $grouped_values[] = ['id' => $value['id'], 'text' => $value['text'], 'parameters' => ['data-id' => $value['products_options_id']?? '']];
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27

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: 1.1.0.7 Questions / Comments / Concerns / Feedback

Post by burt »

I don't think it's a good idea to `hide` an error message.
It's the data that is incomplete so that should give an error message,
I am not here to build for you.
I am here to build with you. Let's help each other.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: 1.1.0.7 Questions / Comments / Concerns / Feedback

Post by ecartz »

Could change the error message.

Code: Select all

        if (isset($option['parameters']) && is_array($option['parameters'])) {
          foreach ($option['parameters'] as $name => $value) {
            if (isset($value)) {
              $field .= sprintf(' %s="%s"', $name, Text::output($value, static::ESCAPES));
            } else {
              trigger_error("No value for [$name]");
            }
          }
        }
If the problem is that it doesn't show where the problem is.

Or write a security check that looks for missing attribute (value?) names. Which could show *exactly* where the problem is.
Blaine
Member
Posts: 6
Joined: Wed Mar 12, 2025 1:46 pm
Phoenix Version:

Re: 1.1.0.7 Questions / Comments / Concerns / Feedback

Post by Blaine »

I do have a question on the zip file, it has an install/ directory with a sql file in it that would seem to erase everything. Why would that be included in a update only file?
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: 1.1.0.7 Questions / Comments / Concerns / Feedback

Post by burt »

Blaine wrote: Mon Jul 13, 2026 2:13 am I do have a question on the zip file, it has an install/ directory with a sql file in it that would seem to erase everything. Why would that be included in a update only file?
We have users who are not shopowners, and these people need to keep the whole file-set updated.
If a shopowner follows update instructions intently, the imagined scenario cannot happen.

The inclusion is a deliberate trade‑off; convenience for users (including non-shopowners) vs. a risk that is fully neutralized by following two simple, clearly documented steps. The assumption is that anyone running a live store will take those basic security measures as a matter of course.
azpro
Contributor
Posts: 177
Joined: Fri Nov 06, 2020 8:25 am
Phoenix Version: v1.1.0.6
Has thanked: 30 times
Been thanked: 34 times

Re: 1.1.0.7 Questions / Comments / Concerns / Feedback

Post by azpro »

Thought I mention the admin demo is not yet updated to 1.1.0.7 - https://phoenixcart.org/demo_admin/admin/index.php

Forgotten or lack of time?
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: 1.1.0.7 Questions / Comments / Concerns / Feedback

Post by burt »

azpro wrote: Wed Aug 05, 2026 9:57 am lack of time
Yes, unfortunately.

I have no idea how to devote more time without giving up the time that pays bills, or giving up my downtime. :?
azpro
Contributor
Posts: 177
Joined: Fri Nov 06, 2020 8:25 am
Phoenix Version: v1.1.0.6
Has thanked: 30 times
Been thanked: 34 times

Re: 1.1.0.7 Questions / Comments / Concerns / Feedback

Post by azpro »

burt wrote: Wed Aug 05, 2026 2:36 pm
azpro wrote: Wed Aug 05, 2026 9:57 am lack of time
Yes, unfortunately.

I have no idea how to devote more time without giving up the time that pays bills. :?
I understand - if only I could help .. but probably updating is something you would like to do yourself ..
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: 1.1.0.7 Questions / Comments / Concerns / Feedback

Post by burt »

It would be difficult as it would involve (non standard) Hosting Control Panel access etc.
There is a lot of things in there.

But TY for offering, I appreciate it.

Here is a similar thread viewtopic.php?f=43&t=3406 (you're already in there TY, but most users of this forum are not).
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
tessthepup
Certified Developer
Posts: 381
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: 1.1.0.7 Questions / Comments / Concerns / Feedback

Post by tessthepup »

@burt
Not sure if it is me but I have upgraded the demo site https://phoenix-demo.co.uk/ from 1.1.0.6 to 1.1.0.7 and the only issue I have is the loss of half of the admin hMenu.

Has this happened to anyone else?

After restoring the 1.1.0.6 version it works fine


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