Errors in error log files - where to find error

Open to all! Ask other shopowners for help.
Post Reply
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Errors in error log files - where to find error

Post by 14Steve14 »

Phoenix version 1.0.8.20 PHP version 7.4

I have looked in my error log files for my test site and have several of the following errors. Is there a way to find what is causing these
[24-Apr-2023 09:32:29 Europe/London] PHP Deprecated: The tep_db_fetch_array function has been deprecated. in /home/####/public_html/####/includes/functions/database.php on line 45
[24-Apr-2023 09:32:29 Europe/London] PHP Deprecated: The tep_href_link function has been deprecated. in /home/####/public_html/####/includes/functions/href_link.php on line 14
Its the same error that gets repeated on any page refresh

All function files have been copied from the original 1.0.8.20 files and uploaded to replace any files that may have been changed, but I dont think I touched any of these files. I have only used addons from this site and only for versions suitable for my version. The main of the added files are only the PI modules for the product info page.

I dont quite know what to look for in any files that may be causing this.


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4560
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 413 times

Re: Errors in error log files - where to find error

Post by burt »

Search your files for tep_db_fetch_array and tep_href_link - they will be in addons.
Once found, these addons would need to be updated, either with later versions, or by some minor recoding.
I am not here to build for you.
I am here to build with you. Let's help each other.
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Errors in error log files - where to find error

Post by 14Steve14 »

Cheers Gary @burt . I will have another search as hopefully find something, or start removing the modules until I see what one the errors stop on.
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Errors in error log files - where to find error

Post by 14Steve14 »

Found it. It would appear that when I updated the product tabs from the old site to the new site I missed one and even though it worked it was producing the error.

Searching the code for the website did not find any of the code that was causing the error for some reason so I had to go back through my updates - good job I am keeping records - until I found it.

All working fine now, or at least until I try to update something else.


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