Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default Layout Boxes Controller (admin) crasches

    Upgraded to 1.5.4. Now trying to use LBS ends up in an "Warning, an error occured" and only the headers are displayed.
    The log file looks as follows:
    Code:
    [05-Feb-2015 07:34:33 Europe/Helsinki] PHP Fatal error:  1054:Unknown column 'show_box_min_width' in 'field list' :: select layout_id, layout_box_name, layout_box_status, layout_box_location, layout_box_sort_order, layout_box_sort_order_single, layout_box_status_single, show_box_min_width from layout_boxes where (layout_template='oxford_dark' and layout_box_name NOT LIKE '%ezpages_bar%') order by  layout_box_location, layout_box_sort_order ==> (as called by) /home/fh2fuvvy/public_html/admin/layout_controller.php on line 241 <== in /home/fh2fuvvy/public_html/includes/classes/db/mysql/query_factory.php on line 155

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

    Default Re: Layout Boxes Controller (admin) crasches

    "Unknown column 'show_box_min_width' in 'field list'"

    That message means "when the PHP code for layout_controller.php was running, the code said to query the database for a field named 'show_box_min_width', but the field wasn't found in the database.

    Basically, you've installed some PHP files for an addon template, but your database tables don't know about the PHP changes you've made.

    You need to either put back the original layout_controller.php file or finish properly installing your addon template.
    .

    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. v151 Missing Layout Boxes Controller in Admin Tool Dropdown Menu
    By lawrence in forum General Questions
    Replies: 1
    Last Post: 12 Nov 2012, 04:06 AM
  2. Can't access the layout boxes controller page from the admin menu
    By ssailer in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 Nov 2011, 06:21 PM
  3. Why not opening Layout Boxes Controller from Tools menu under the Admin area?
    By lecherous in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 11 Nov 2010, 08:10 AM
  4. admin->tools->layout boxes controller...??
    By neveu in forum Basic Configuration
    Replies: 6
    Last Post: 6 Oct 2010, 07:56 PM
  5. Alignment/layout issue when using Layout Boxes Controller
    By nicknight in forum General Questions
    Replies: 0
    Last Post: 25 Oct 2008, 02:04 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