sounds like your local install has a default "configure.php" file or is pointing to a default database which has no data.Originally Posted by landsknecht
sounds like your local install has a default "configure.php" file or is pointing to a default database which has no data.Originally Posted by landsknecht
.
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.
Well, not sure what the heck I was doing wrong... I just tried the good old "Rip it out and try again" method and it works now.
Well, almost. Now on the front page I can browse categories and then sub-categories, but when I get to the product listing level I'm getting an error msg, "1054 Unknown column 'p.products_id' in 'on clause'"
Man, I'm starting to feel like a gimp!
your database isn't up-to-date to match your codeOriginally Posted by landsknecht
.
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.
Sorry to be a bother Doc, but what does that mean? I've just checked and the db tables match from my local site to my server, so does the code. Yet the server version is working just fine.
Are you refering to the versions of PHP/MySQL? Are there discrepancies there that I'm not seeing?
p.products_id is a reference to a field in a table.
the error message said the column is not recognized.
that suggests that the table it's trying to query doesn't have the indicated column name/field.
thus, your database structure appears to be not matched to what your code requires
ie: version 1.2.x maybe didn't have said field
but version 1.3.x does
and thus version 1.3.x PHP files are looking for it
but if your database is really v1.2.x (or portions of it are, due to some sort of import, etc), then if you're running v1.3.x code against a v1.2.x database, you'll get the indicated error
.
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.