Page 1 of 1

Phoenix_change_log file is stuffed up

Posted: Tue Jul 30, 2024 10:33 pm
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?

Re: Phoenix_change_log file is stuffed up

Posted: Wed Jul 31, 2024 4:26 am
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

Re: Phoenix_change_log file is stuffed up

Posted: Wed Jul 31, 2024 7:28 am
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