Can some one point me to where IS_PRODUCT_PRODUCTS_DISPLAY_ROW is defined - getting fed up with the thousands of errors a day telling me it's not defined
Thank you
Define Question
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Define Question
https://github.com/search?q=org%3ACE-Ph ... &type=code
You can do this for any piece of code in Phoenix. You can see that this is defined in the installation, so it would be found in your admin area, most likely in the menu > my store ?
Note that (if I recall correctly) there is a bugfix for this area of code (which broke on an update), but I cannot remember what/where exactly.
You can do this for any piece of code in Phoenix. You can see that this is defined in the installation, so it would be found in your admin area, most likely in the menu > my store ?
Note that (if I recall correctly) there is a bugfix for this area of code (which broke on an update), but I cannot remember what/where exactly.
I am not here to build for you.
I am here to build with you. Let's help each other.
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: Define Question
This particular result: https://github.com/CE-PhoenixCart/Updat ... update.sql
Indicates that it was added in the update SQL for the 1.0.7.5 update.
Indicates that it was added in the update SQL for the 1.0.7.5 update.
-
Xpajun
- Contributor
- Posts: 187
- Joined: Thu Mar 04, 2021 1:18 pm
- Phoenix Version: v1.0.9.0
- Has thanked: 3 times
- Been thanked: 6 times
Re: Define Question
Thank you Gary @burt and Matt @ecartz for your Input dd a trial run on the updated sql and broke my site again... Fixed now and I'm thinking as I use a horizontal card and only one per row can I not hard code 'IS_PRODUCT_PRODUCTS_DISPLAY_ROW' when it occurs on each card - for me: product_listing.php and cm_i_card_specials.php which are the only two that are causing the errors.
I really need to move on having said I would be working on 1.0.8.5 when I updated my store and still haven't and now 1.0.8.9 is on the doorstep I might just as well install a new version of that and start working on it - the reason I'm looking for a stopgap rather than an answer I suppose although I would rather get it fixed
I really need to move on having said I would be working on 1.0.8.5 when I updated my store and still haven't and now 1.0.8.9 is on the doorstep I might just as well install a new version of that and start working on it - the reason I'm looking for a stopgap rather than an answer I suppose although I would rather get it fixed
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest
- php 8.2.18
Now working on taking a short rest
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Define Question
I'm sure there was some issue with the *first* product in a row not icking up this define, the second/third/etc were all fine though. Does this ring a bell @ecartz ?
I am not here to build for you.
I am here to build with you. Let's help each other.
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: Define Question
Yes, but that wouldn't show up in 1.0.7.5. And that would have been a different constant.
https://github.com/CE-PhoenixCart/Phoen ... roduct.php
I wouldn't think doing just the insert from the update SQL would cause problems. I can see how custom files might lead to problems from the deletes, but if you skip those and just do the insert, I would expect that to only do good things for you.
Alternately, removing the constant and hard coding the value should not cause problems until the next update.