osCmax v2.5 User Manual
Results 1 to 2 of 2

1054-Unknown column 'guest_account' in 'where clause'

This is a discussion on 1054-Unknown column 'guest_account' in 'where clause' within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Setting up v 2.1, upon trying to buy a product on my site I get the following error, 1054-Unknown column ...

      
  1. #1
    Lurker
    Join Date
    Nov 2009
    Location
    Central Florida
    Posts
    3
    Rep Power
    0


    Default 1054-Unknown column 'guest_account' in 'where clause'

    Setting up v 2.1, upon trying to buy a product on my site I get the following error, 1054-Unknown column 'guest_account' in 'where clause' select count(*) as total from customers where customers_email_address = 'consultpci2@msn.com' and guest_account!='1' any ideas anyone.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: 1054-Unknown column 'guest_account' in 'where clause'

    You need to run the PWA sql. The latest update has PWA installed, but the sql is not committed in the installer:

    Code:
    ALTER TABLE `customers` ADD COLUMN `guest_account` TINYINT NOT NULL DEFAULT '0' AFTER `customers_newsletter`;
    
    ALTER TABLE `customers` MODIFY COLUMN `customers_password` VARCHAR(40) CHARACTER SET utf8 COLLATE utf8_general_ci;
    
    ALTER TABLE `orders` ADD COLUMN `customers_dummy_account` TINYINT UNSIGNED NOT NULL AFTER `customers_address_format_id`;
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. 1054 - Unknown column 's.public_flag' in 'where clause'
    By cybersuz in forum osCMax v2 Features Discussion
    Replies: 4
    Last Post: 01-28-2009, 03:30 AM
  2. 1054 - Unknown column 'a.authors_id' in 'on clause'
    By fuzzyphil in forum osCmax v2 Customization/Mods
    Replies: 29
    Last Post: 01-08-2009, 04:05 PM
  3. Error on 1054 - Unknown column 'p.products_id' in 'on clause' pls help
    By lonskee2000 in forum osCommerce 2.2 Discussion
    Replies: 5
    Last Post: 09-26-2008, 01:14 AM
  4. 1054 - Unknown column 'p.products_id' in 'on clause'
    By starview in forum osCommerce 2.2 Discussion
    Replies: 1
    Last Post: 08-16-2007, 05:44 AM
  5. 1054 - Unknown column 'a.authors_id' in 'on clause'
    By dragonkeeper1973 in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 02-23-2007, 02:50 PM

Bookmarks

Posting Permissions

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