That is odd. The DB is returning an unknown column name for a column that is not even in your query? Is there perhaps a temp table that is being used that might have an insert into that field and perhaps that field is not in the table?
The only thing I was able to come up with was that perhaps in some way the query we see is not the query being submitted, but the error message is just plain weird.
astions... do you have a column anywhere in your database called "cache_id"??
I doubt there is a temp table. This is an osCommerce glitch I have fixed before. I believe the cache field is in another table and is used in a different query. It's a weird error for sure though.
GM wrote:do you have a column anywhere in your database called "cache_id"??
Just checked, no there is not. I did try to add the field to the customers_info table a while back and that did not fix the problem. Changing the tep_db_query to mysql_query, without a link id, does fix it though.
<br />
<b>Warning</b>: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of mysql_query(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in <b>/var/www/vhosts/***/httpdocs/includes/functions/database.php</b> on line <b>46</b><br />
<br />