Phoenix_change_log file is stuffed up

Open to all! Ask other shopowners for help.
Post Reply
frankl
Builder
Posts: 159
Joined: Tue Feb 23, 2021 8:39 pm
Phoenix Version: v1.1.0.4
Has thanked: 17 times
Been thanked: 26 times

Phoenix_change_log file is stuffed up

Post by frankl »

OK I've been playing with Phoenix and updating one or two of my osC modules.

This file - https://docs.google.com/spreadsheets/d/ ... id=0#gid=0 - allows anyone to make changes.

Over time some sections have been stuffed up. For example Line 78

Comment
db function update

osC function
tep_db_free_result($db_query)

Replaced by
"$product_info_query = tep_db_query(<<<'EOSQL'
SELECT p.*, pd.*
FROM products p INNER JOIN products_description pd ON p.products_id = pd.products_id
WHERE p.products_status = 1 AND p.products_id =
EOSQL
. (int)$_GET['products_id'] . "" AND pd.language_id = "" . (int)$_SESSION['languages_id']);"

Line 77 same error, both obviously wrong.

Anyone willing to spend a minute to fix?


Join The Code Co-op to get access to your library in the Code Co-op Forum
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Phoenix_change_log file is stuffed up

Post by heatherbell »

frankl wrote: Tue Jul 30, 2024 10:33 pm For example Line 78
Line 77 same error, both obviously wrong.
Anyone willing to spend a minute to fix?
Replaced tep_ functions can be found in the public Phoenix Cart repository by looking in /includes/functions/ for the last available entries which were in 1.0.8.21.
In the case of tep_db_ that would be https://github.com/CE-PhoenixCart/Phoen ... tabase.php

https://github.com/CE-PhoenixCart/Phoen ... hp#L44-L47
https://github.com/CE-PhoenixCart/Phoen ... hp#L64-L67
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: Phoenix_change_log file is stuffed up

Post by raiwa »

Hi Frankl,
Nice that you are back.
These 2 lines have been wrong modified by someone. I fixed them back. Thanks for the report.
That's the danger when letting the file open to be edited by everybody.
If you find any other issues, feel free to fix them or report them.
Thank you
Rainer
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


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