Page 1 of 1

Errors in error log files - where to find error

Posted: Mon Apr 24, 2023 8:58 am
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.

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

Posted: Mon Apr 24, 2023 9:14 am
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.

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

Posted: Mon Apr 24, 2023 12:08 pm
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.

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

Posted: Tue Apr 25, 2023 8:07 am
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.