After new installation everything works fine except when changing the template and boxesdetails/layout.

in both configures: define('DB_PREFIX', 'zc_');

When I make changes in the layout_controller.php and save it as default I get this:

1146 Table 'mydb.layout_boxes' doesn't exist
[INSERT INTO zc_layout_boxes ( layout_template, layo.......

Which screw to adjust?