Quote:
|
Originally Posted by jonthewebb The error is that the words "TABLE_PRODUCTS_XSELL" and "TABLE_COUNTER" are not defined in includes/database_tables.php.
The code you posted above includes these two constants as part of the query. When they are defined correctly, PHP understands "TABLE_PRODUCTS_XSELL" as being "products_xsell" which is the table name. When it is not defined, as in this case, it takes the literal value TABLE_PRODUCTS_XSELL which is not the actual name of the table!
So to fix it you need to go to includes/database_tables.php and add two entries for the missing tables. Also check for more missing entries. Or, incorrectly spelt entries.
jon |
This worked. I could not tell last night though. My ftp access was not actually transmitting my changes to the server. The host made the changes for me today and it works like a charm. It was like my code was never even there. (I guess it wasn't)
As for the issue when clicking on paypal links I think also it is a cookie issue. I got it to work by removing the ssl layer. So, it must be in where the cookies are stored. I trying storing them in ssl but no luck. Database sessions may be the key.
Thanks to all!