Thread: Empty Admin

Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Empty Admin

    Quote Originally Posted by landsknecht
    the admin is showing what looks like an empty install. I am getting the control panel properly, but there are no products, categories, customers, etc...
    sounds like your local install has a default "configure.php" file or is pointing to a default database which has no data.
    .

    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.

  2. #2
    Join Date
    Jul 2005
    Posts
    22
    Plugin Contributions
    0

    Default Re: Empty Admin

    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!

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Empty Admin

    Quote Originally Posted by landsknecht
    "1054 Unknown column 'p.products_id' in 'on clause'"
    your database isn't up-to-date to match your code
    .

    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.

  4. #4
    Join Date
    Jul 2005
    Posts
    22
    Plugin Contributions
    0

    Default Re: Empty Admin

    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?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Empty Admin

    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.

 

 

Similar Threads

  1. Empty Demo Product Fields in Admin
    By datacreek in forum General Questions
    Replies: 3
    Last Post: 30 May 2011, 07:03 AM
  2. Empty configure.php file in admin/includes
    By freya in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 1 Oct 2010, 07:51 PM
  3. Admin login screen is empty - cart is up
    By rgoetz in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 22 Nov 2008, 06:32 AM
  4. Icon to show if cart is empty/not empty
    By karl19 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Oct 2007, 10:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg