gary:
This happened sometime over the past 8 days. I can no longer get to my main page with my online catalog. Instead, I see this message:
1054 Unknown column 'p.products_id' in 'on clause'
Was my site tampered with? Everything has been fine on my site since I launched it over a year and a half ago.
Okay, let's look at it from another angle. If accessing the "p.products_id" column reports an error, then that means that the table referenced by "p" (usually the "products" table) is missing the expected field/column named "products_id".
If you've made no known changes to your database or PHP files, then ... something or someone has.
It could be that the PHP files on your site have been altered to request data from the products_id field.
Or it could be that your database has been damaged somehow and is missing or cannot successfully access the products_id field.
Either way, this situation is not usually a quick-fix for a "non-geek" (as you call it) situation.
I would start with:
-
Open phpMyAdmin. Select your database. One at a time, click on EACH table shown on the left, and for each you need to click on the "Operations" tab on the top right. Then on that page, click Repair Table. Repeat for each table in your left-hand column.
-
Evaluate all your PHP files, comparing them with the backup copy you have on your PC, or with an original fileset for your version of Zen Cart (I believe you meant v1.2.5?). Here's a tip on how to do that: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues
-
You might ask your webhost if they had any problems recently and whether they had to restore any files or recover from any database damages. Perhaps something they did may be affecting you.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.