Online Chat
 Call Us: 
1-877-744-1221
Browse Submit a Ticket
 
Advanced Search
Tools
Rss Categories

I get a database error when open front-end after update to 5.1.1

Author: Edward Hardin Reference Number: AA-00408 Views: 7630 Last Updated: 11/23/2009 03:16 PM 0 Rating/ Voters

I get a database error when open front-end after update to 5.1.1.

A Database Error Occurred
Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 8

SELECT `lb`.`block_id`, `lbc`.`block_name`, `lbc`.`template` FROM `tpl_layouts_blocks` AS `lb` JOIN `tpl_blocks` AS `lbc` ON `lbc`.`block_id` = `lb`.`block_id` WHERE `layout_id` =
The admin site is still working.

To solve this you need to:

  1. Login to the admin area
  2. Go to Customization > Styling and Front-end Settings.
  3. Select your front-end theme.
  4. Click "Save".