Notice (8): Undefined variable: current_controller [CORE/app/views/layouts/default.thtml, line 55]
Context |
Code$___viewFn = "/home/bccraftb/public_html/number/app/views/layouts/default.thtml"
$___dataForView = array("sessionUser" => null, "logged_in" => false, "model" => "Template", "table" => "templates", "title_for_layout" => "Missing Database Table", "content_for_layout" => "-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 26, 2007 at 05:37 PM
-- Server version: 5.0.22
-- PHP Version: 4.4.4
--
-- Database: `cake_thenumber`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`name` text,
`email` text,
`phone` text,
`phone2` text,
`business_name` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=870 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE IF NOT EXISTS `contents` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
`content_id` int(16) NOT NULL,
`revision` int(9) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents_tags`
--
CREATE TABLE IF NOT EXISTS `contents_tags` (
`content_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`content_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`id` mediumint(9) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`description` text NOT NULL,
`tags` text NOT NULL,
`file` varchar(255) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 ;
-- --------------------------------------------------------
--
-- Table structure for table `images_tags`
--
CREATE TABLE IF NOT EXISTS `images_tags` (
`image_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) NOT NULL auto_increment,
`created` datetime NOT NULL,
`tag` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`done` tinyint(1) default NULL,
`created` datetime default NULL,
`modified` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 ;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
CREATE TABLE IF NOT EXISTS `templates` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`password` varchar(32) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`dob` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `websites`
--
CREATE TABLE IF NOT EXISTS `websites` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`domain` text,
`password` text,
`hosting_company` text,
`dns_location` text,
`username` text,
`root_path` text,
`active_ftp` text,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=71 ;
", "scripts_for_layout" => "", "cakeDebug" => "", "javascript" => array, "ajax" => array, "html" => array, "form" => array, "session" => array, "nav" => array)
$loadHelpers = false
$cached = true
$this = array("name" => "App", "here" => null, "parent" => null, "action" => null, "model" => null, "association" => null, "field" => null, "fieldSuffix" => null, "modelId" => null, "uses" => false, "helpers" => array, "viewPath" => "errors", "layoutPath" => null, "viewVars" => array, "__scripts" => array, "pageTitle" => "Missing Database Table", "models" => array, "base" => null, "layout" => "default", "autoRender" => true, "autoLayout" => true, "params" => array, "hasRendered" => false, "loaded" => array, "ext" => ".ctp", "subDir" => null, "themeWeb" => null, "plugin" => null, "pluginPath" => null, "pluginPaths" => array, "passedArgs" => array, "__passedVars" => array, "uuids" => array, "_log" => null, "webroot" => "/number/", "modelNames" => array, "data" => array, "webservices" => null, "cacheAction" => false)
$sessionUser = null
$logged_in = false
$model = "Template"
$table = "templates"
$title_for_layout = "Missing Database Table"
$content_for_layout = "-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 26, 2007 at 05:37 PM
-- Server version: 5.0.22
-- PHP Version: 4.4.4
--
-- Database: `cake_thenumber`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`name` text,
`email` text,
`phone` text,
`phone2` text,
`business_name` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=870 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE IF NOT EXISTS `contents` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
`content_id` int(16) NOT NULL,
`revision` int(9) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents_tags`
--
CREATE TABLE IF NOT EXISTS `contents_tags` (
`content_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`content_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`id` mediumint(9) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`description` text NOT NULL,
`tags` text NOT NULL,
`file` varchar(255) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 ;
-- --------------------------------------------------------
--
-- Table structure for table `images_tags`
--
CREATE TABLE IF NOT EXISTS `images_tags` (
`image_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) NOT NULL auto_increment,
`created` datetime NOT NULL,
`tag` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`done` tinyint(1) default NULL,
`created` datetime default NULL,
`modified` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 ;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
CREATE TABLE IF NOT EXISTS `templates` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`password` varchar(32) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`dob` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `websites`
--
CREATE TABLE IF NOT EXISTS `websites` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`domain` text,
`password` text,
`hosting_company` text,
`dns_location` text,
`username` text,
`root_path` text,
`active_ftp` text,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=71 ;
"
$scripts_for_layout = ""
$cakeDebug = ""
$javascript = array("__scriptBuffer" => null, "_cachedEvents" => array, "_cacheEvents" => false, "_cacheToFile" => false, "_cacheAll" => false, "_rules" => array, "enabled" => true, "safe" => false, "tags" => array, "helpers" => null, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "__tainted" => null, "__cleaned" => null, "_log" => null)
$ajax = array("helpers" => array, "Html" => array, "Javascript" => array, "callbacks" => array, "ajaxOptions" => array, "dragOptions" => array, "dropOptions" => array, "sortOptions" => array, "sliderOptions" => array, "editorOptions" => array, "autoCompleteOptions" => array, "__ajaxBuffer" => array, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "Form" => array)
$html = array("tags" => array, "base" => null, "here" => null, "params" => array, "action" => null, "data" => array, "_crumbs" => array, "__docTypes" => array, "helpers" => null, "webroot" => "/number/", "themeWeb" => null, "plugin" => null, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "__tainted" => null, "__cleaned" => null, "_log" => null)
$form = array("helpers" => array, "fieldset" => array, "__options" => array, "fields" => array, "requestType" => null, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "Html" => array)
$session = array("helpers" => null, "__active" => true, "valid" => false, "error" => false, "_userAgent" => "b260d25dcd9c138e5e653c28eaa88044", "path" => false, "lastError" => null, "security" => null, "time" => 1337385076, "sessionTime" => false, "watchKeys" => array, "_log" => null, "base" => null, "webroot" => "/number/", "here" => null, "params" => array, "action" => null, "data" => array, "themeWeb" => null, "plugin" => null)
$nav = array("helpers" => array, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "html" => array, "ajax" => array, "form" => array)
$BASE = null
$params = array("models" => array)
$page_title = "Missing Database Table"
<div class='buttons'>
<? echo $nav->submenu($current_controller); ?>
<?
include - CORE/app/views/layouts/default.thtml, line 55
View::_render() - CORE/cake/libs/view/view.php, line 765
View::renderLayout() - CORE/cake/libs/view/view.php, line 479
View::render() - CORE/cake/libs/view/view.php, line 327
Controller::render() - CORE/cake/libs/controller/controller.php, line 664
ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 211
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 89
Object::cakeError() - CORE/cake/libs/object.php, line 172
Model::setSource() - CORE/cake/libs/model/model.php, line 799
Model::__construct() - CORE/cake/libs/model/model.php, line 387
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 390
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 352
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 232
[main] - CORE/app/webroot/index.php, line 81
Page
Image
Notice (8): Undefined variable: websites [CORE/app/views/layouts/default.thtml, line 57]
Context |
Code$___viewFn = "/home/bccraftb/public_html/number/app/views/layouts/default.thtml"
$___dataForView = array("sessionUser" => null, "logged_in" => false, "model" => "Template", "table" => "templates", "title_for_layout" => "Missing Database Table", "content_for_layout" => "-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 26, 2007 at 05:37 PM
-- Server version: 5.0.22
-- PHP Version: 4.4.4
--
-- Database: `cake_thenumber`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`name` text,
`email` text,
`phone` text,
`phone2` text,
`business_name` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=870 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE IF NOT EXISTS `contents` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
`content_id` int(16) NOT NULL,
`revision` int(9) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents_tags`
--
CREATE TABLE IF NOT EXISTS `contents_tags` (
`content_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`content_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`id` mediumint(9) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`description` text NOT NULL,
`tags` text NOT NULL,
`file` varchar(255) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 ;
-- --------------------------------------------------------
--
-- Table structure for table `images_tags`
--
CREATE TABLE IF NOT EXISTS `images_tags` (
`image_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) NOT NULL auto_increment,
`created` datetime NOT NULL,
`tag` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`done` tinyint(1) default NULL,
`created` datetime default NULL,
`modified` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 ;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
CREATE TABLE IF NOT EXISTS `templates` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`password` varchar(32) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`dob` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `websites`
--
CREATE TABLE IF NOT EXISTS `websites` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`domain` text,
`password` text,
`hosting_company` text,
`dns_location` text,
`username` text,
`root_path` text,
`active_ftp` text,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=71 ;
", "scripts_for_layout" => "", "cakeDebug" => "", "javascript" => array, "ajax" => array, "html" => array, "form" => array, "session" => array, "nav" => array)
$loadHelpers = false
$cached = true
$this = array("name" => "App", "here" => null, "parent" => null, "action" => null, "model" => null, "association" => null, "field" => null, "fieldSuffix" => null, "modelId" => null, "uses" => false, "helpers" => array, "viewPath" => "errors", "layoutPath" => null, "viewVars" => array, "__scripts" => array, "pageTitle" => "Missing Database Table", "models" => array, "base" => null, "layout" => "default", "autoRender" => true, "autoLayout" => true, "params" => array, "hasRendered" => false, "loaded" => array, "ext" => ".ctp", "subDir" => null, "themeWeb" => null, "plugin" => null, "pluginPath" => null, "pluginPaths" => array, "passedArgs" => array, "__passedVars" => array, "uuids" => array, "_log" => null, "webroot" => "/number/", "modelNames" => array, "data" => array, "webservices" => null, "cacheAction" => false)
$sessionUser = null
$logged_in = false
$model = "Template"
$table = "templates"
$title_for_layout = "Missing Database Table"
$content_for_layout = "-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 26, 2007 at 05:37 PM
-- Server version: 5.0.22
-- PHP Version: 4.4.4
--
-- Database: `cake_thenumber`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`name` text,
`email` text,
`phone` text,
`phone2` text,
`business_name` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=870 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE IF NOT EXISTS `contents` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
`content_id` int(16) NOT NULL,
`revision` int(9) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents_tags`
--
CREATE TABLE IF NOT EXISTS `contents_tags` (
`content_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`content_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`id` mediumint(9) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`description` text NOT NULL,
`tags` text NOT NULL,
`file` varchar(255) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 ;
-- --------------------------------------------------------
--
-- Table structure for table `images_tags`
--
CREATE TABLE IF NOT EXISTS `images_tags` (
`image_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) NOT NULL auto_increment,
`created` datetime NOT NULL,
`tag` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`done` tinyint(1) default NULL,
`created` datetime default NULL,
`modified` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 ;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
CREATE TABLE IF NOT EXISTS `templates` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`password` varchar(32) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`dob` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `websites`
--
CREATE TABLE IF NOT EXISTS `websites` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`domain` text,
`password` text,
`hosting_company` text,
`dns_location` text,
`username` text,
`root_path` text,
`active_ftp` text,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=71 ;
"
$scripts_for_layout = ""
$cakeDebug = ""
$javascript = array("__scriptBuffer" => null, "_cachedEvents" => array, "_cacheEvents" => false, "_cacheToFile" => false, "_cacheAll" => false, "_rules" => array, "enabled" => true, "safe" => false, "tags" => array, "helpers" => null, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "__tainted" => null, "__cleaned" => null, "_log" => null)
$ajax = array("helpers" => array, "Html" => array, "Javascript" => array, "callbacks" => array, "ajaxOptions" => array, "dragOptions" => array, "dropOptions" => array, "sortOptions" => array, "sliderOptions" => array, "editorOptions" => array, "autoCompleteOptions" => array, "__ajaxBuffer" => array, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "Form" => array)
$html = array("tags" => array, "base" => null, "here" => null, "params" => array, "action" => null, "data" => array, "_crumbs" => array, "__docTypes" => array, "helpers" => null, "webroot" => "/number/", "themeWeb" => null, "plugin" => null, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "__tainted" => null, "__cleaned" => null, "_log" => null)
$form = array("helpers" => array, "fieldset" => array, "__options" => array, "fields" => array, "requestType" => null, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "Html" => array)
$session = array("helpers" => null, "__active" => true, "valid" => false, "error" => false, "_userAgent" => "b260d25dcd9c138e5e653c28eaa88044", "path" => false, "lastError" => null, "security" => null, "time" => 1337385076, "sessionTime" => false, "watchKeys" => array, "_log" => null, "base" => null, "webroot" => "/number/", "here" => null, "params" => array, "action" => null, "data" => array, "themeWeb" => null, "plugin" => null)
$nav = array("helpers" => array, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "html" => array, "ajax" => array, "form" => array)
$BASE = null
$params = array("models" => array)
$page_title = "Missing Database Table"
<? echo $nav->submenu($current_controller); ?>
<?
foreach($websites as $site){
if(isset($site['Website']['options']) && strlen($site['Website']['options'])>0)
include - CORE/app/views/layouts/default.thtml, line 57
View::_render() - CORE/cake/libs/view/view.php, line 765
View::renderLayout() - CORE/cake/libs/view/view.php, line 479
View::render() - CORE/cake/libs/view/view.php, line 327
Controller::render() - CORE/cake/libs/controller/controller.php, line 664
ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 211
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 89
Object::cakeError() - CORE/cake/libs/object.php, line 172
Model::setSource() - CORE/cake/libs/model/model.php, line 799
Model::__construct() - CORE/cake/libs/model/model.php, line 387
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 390
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 352
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 232
[main] - CORE/app/webroot/index.php, line 81
Warning (2): Invalid argument supplied for foreach() [CORE/app/views/layouts/default.thtml, line 57]
Context |
Code$___viewFn = "/home/bccraftb/public_html/number/app/views/layouts/default.thtml"
$___dataForView = array("sessionUser" => null, "logged_in" => false, "model" => "Template", "table" => "templates", "title_for_layout" => "Missing Database Table", "content_for_layout" => "-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 26, 2007 at 05:37 PM
-- Server version: 5.0.22
-- PHP Version: 4.4.4
--
-- Database: `cake_thenumber`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`name` text,
`email` text,
`phone` text,
`phone2` text,
`business_name` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=870 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE IF NOT EXISTS `contents` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
`content_id` int(16) NOT NULL,
`revision` int(9) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents_tags`
--
CREATE TABLE IF NOT EXISTS `contents_tags` (
`content_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`content_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`id` mediumint(9) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`description` text NOT NULL,
`tags` text NOT NULL,
`file` varchar(255) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 ;
-- --------------------------------------------------------
--
-- Table structure for table `images_tags`
--
CREATE TABLE IF NOT EXISTS `images_tags` (
`image_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) NOT NULL auto_increment,
`created` datetime NOT NULL,
`tag` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`done` tinyint(1) default NULL,
`created` datetime default NULL,
`modified` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 ;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
CREATE TABLE IF NOT EXISTS `templates` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`password` varchar(32) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`dob` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `websites`
--
CREATE TABLE IF NOT EXISTS `websites` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`domain` text,
`password` text,
`hosting_company` text,
`dns_location` text,
`username` text,
`root_path` text,
`active_ftp` text,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=71 ;
", "scripts_for_layout" => "", "cakeDebug" => "", "javascript" => array, "ajax" => array, "html" => array, "form" => array, "session" => array, "nav" => array)
$loadHelpers = false
$cached = true
$this = array("name" => "App", "here" => null, "parent" => null, "action" => null, "model" => null, "association" => null, "field" => null, "fieldSuffix" => null, "modelId" => null, "uses" => false, "helpers" => array, "viewPath" => "errors", "layoutPath" => null, "viewVars" => array, "__scripts" => array, "pageTitle" => "Missing Database Table", "models" => array, "base" => null, "layout" => "default", "autoRender" => true, "autoLayout" => true, "params" => array, "hasRendered" => false, "loaded" => array, "ext" => ".ctp", "subDir" => null, "themeWeb" => null, "plugin" => null, "pluginPath" => null, "pluginPaths" => array, "passedArgs" => array, "__passedVars" => array, "uuids" => array, "_log" => null, "webroot" => "/number/", "modelNames" => array, "data" => array, "webservices" => null, "cacheAction" => false)
$sessionUser = null
$logged_in = false
$model = "Template"
$table = "templates"
$title_for_layout = "Missing Database Table"
$content_for_layout = "-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 26, 2007 at 05:37 PM
-- Server version: 5.0.22
-- PHP Version: 4.4.4
--
-- Database: `cake_thenumber`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`name` text,
`email` text,
`phone` text,
`phone2` text,
`business_name` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=870 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE IF NOT EXISTS `contents` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
`content_id` int(16) NOT NULL,
`revision` int(9) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents_tags`
--
CREATE TABLE IF NOT EXISTS `contents_tags` (
`content_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`content_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`id` mediumint(9) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`description` text NOT NULL,
`tags` text NOT NULL,
`file` varchar(255) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 ;
-- --------------------------------------------------------
--
-- Table structure for table `images_tags`
--
CREATE TABLE IF NOT EXISTS `images_tags` (
`image_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) NOT NULL auto_increment,
`created` datetime NOT NULL,
`tag` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`done` tinyint(1) default NULL,
`created` datetime default NULL,
`modified` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 ;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
CREATE TABLE IF NOT EXISTS `templates` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`password` varchar(32) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`dob` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `websites`
--
CREATE TABLE IF NOT EXISTS `websites` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`domain` text,
`password` text,
`hosting_company` text,
`dns_location` text,
`username` text,
`root_path` text,
`active_ftp` text,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=71 ;
"
$scripts_for_layout = ""
$cakeDebug = ""
$javascript = array("__scriptBuffer" => null, "_cachedEvents" => array, "_cacheEvents" => false, "_cacheToFile" => false, "_cacheAll" => false, "_rules" => array, "enabled" => true, "safe" => false, "tags" => array, "helpers" => null, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "__tainted" => null, "__cleaned" => null, "_log" => null)
$ajax = array("helpers" => array, "Html" => array, "Javascript" => array, "callbacks" => array, "ajaxOptions" => array, "dragOptions" => array, "dropOptions" => array, "sortOptions" => array, "sliderOptions" => array, "editorOptions" => array, "autoCompleteOptions" => array, "__ajaxBuffer" => array, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "Form" => array)
$html = array("tags" => array, "base" => null, "here" => null, "params" => array, "action" => null, "data" => array, "_crumbs" => array, "__docTypes" => array, "helpers" => null, "webroot" => "/number/", "themeWeb" => null, "plugin" => null, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "__tainted" => null, "__cleaned" => null, "_log" => null)
$form = array("helpers" => array, "fieldset" => array, "__options" => array, "fields" => array, "requestType" => null, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "Html" => array)
$session = array("helpers" => null, "__active" => true, "valid" => false, "error" => false, "_userAgent" => "b260d25dcd9c138e5e653c28eaa88044", "path" => false, "lastError" => null, "security" => null, "time" => 1337385076, "sessionTime" => false, "watchKeys" => array, "_log" => null, "base" => null, "webroot" => "/number/", "here" => null, "params" => array, "action" => null, "data" => array, "themeWeb" => null, "plugin" => null)
$nav = array("helpers" => array, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "html" => array, "ajax" => array, "form" => array)
$BASE = null
$params = array("models" => array)
$page_title = "Missing Database Table"
<? echo $nav->submenu($current_controller); ?>
<?
foreach($websites as $site){
if(isset($site['Website']['options']) && strlen($site['Website']['options'])>0)
include - CORE/app/views/layouts/default.thtml, line 57
View::_render() - CORE/cake/libs/view/view.php, line 765
View::renderLayout() - CORE/cake/libs/view/view.php, line 479
View::render() - CORE/cake/libs/view/view.php, line 327
Controller::render() - CORE/cake/libs/controller/controller.php, line 664
ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 211
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 89
Object::cakeError() - CORE/cake/libs/object.php, line 172
Model::setSource() - CORE/cake/libs/model/model.php, line 799
Model::__construct() - CORE/cake/libs/model/model.php, line 387
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 390
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 352
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 232
[main] - CORE/app/webroot/index.php, line 81
Context |
Code$___viewFn = "/home/bccraftb/public_html/number/app/views/layouts/default.thtml"
$___dataForView = array("sessionUser" => null, "logged_in" => false, "model" => "Template", "table" => "templates", "title_for_layout" => "Missing Database Table", "content_for_layout" => "-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 26, 2007 at 05:37 PM
-- Server version: 5.0.22
-- PHP Version: 4.4.4
--
-- Database: `cake_thenumber`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`name` text,
`email` text,
`phone` text,
`phone2` text,
`business_name` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=870 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE IF NOT EXISTS `contents` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
`content_id` int(16) NOT NULL,
`revision` int(9) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents_tags`
--
CREATE TABLE IF NOT EXISTS `contents_tags` (
`content_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`content_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`id` mediumint(9) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`description` text NOT NULL,
`tags` text NOT NULL,
`file` varchar(255) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 ;
-- --------------------------------------------------------
--
-- Table structure for table `images_tags`
--
CREATE TABLE IF NOT EXISTS `images_tags` (
`image_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) NOT NULL auto_increment,
`created` datetime NOT NULL,
`tag` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`done` tinyint(1) default NULL,
`created` datetime default NULL,
`modified` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 ;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
CREATE TABLE IF NOT EXISTS `templates` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`password` varchar(32) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`dob` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `websites`
--
CREATE TABLE IF NOT EXISTS `websites` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`domain` text,
`password` text,
`hosting_company` text,
`dns_location` text,
`username` text,
`root_path` text,
`active_ftp` text,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=71 ;
", "scripts_for_layout" => "", "cakeDebug" => "", "javascript" => array, "ajax" => array, "html" => array, "form" => array, "session" => array, "nav" => array)
$loadHelpers = false
$cached = true
$this = array("name" => "App", "here" => null, "parent" => null, "action" => null, "model" => null, "association" => null, "field" => null, "fieldSuffix" => null, "modelId" => null, "uses" => false, "helpers" => array, "viewPath" => "errors", "layoutPath" => null, "viewVars" => array, "__scripts" => array, "pageTitle" => "Missing Database Table", "models" => array, "base" => null, "layout" => "default", "autoRender" => true, "autoLayout" => true, "params" => array, "hasRendered" => false, "loaded" => array, "ext" => ".ctp", "subDir" => null, "themeWeb" => null, "plugin" => null, "pluginPath" => null, "pluginPaths" => array, "passedArgs" => array, "__passedVars" => array, "uuids" => array, "_log" => null, "webroot" => "/number/", "modelNames" => array, "data" => array, "webservices" => null, "cacheAction" => false)
$sessionUser = null
$logged_in = false
$model = "Template"
$table = "templates"
$title_for_layout = "Missing Database Table"
$content_for_layout = "-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 26, 2007 at 05:37 PM
-- Server version: 5.0.22
-- PHP Version: 4.4.4
--
-- Database: `cake_thenumber`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`name` text,
`email` text,
`phone` text,
`phone2` text,
`business_name` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=870 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE IF NOT EXISTS `contents` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
`content_id` int(16) NOT NULL,
`revision` int(9) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents_tags`
--
CREATE TABLE IF NOT EXISTS `contents_tags` (
`content_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`content_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`id` mediumint(9) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`description` text NOT NULL,
`tags` text NOT NULL,
`file` varchar(255) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 ;
-- --------------------------------------------------------
--
-- Table structure for table `images_tags`
--
CREATE TABLE IF NOT EXISTS `images_tags` (
`image_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) NOT NULL auto_increment,
`created` datetime NOT NULL,
`tag` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`done` tinyint(1) default NULL,
`created` datetime default NULL,
`modified` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 ;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
CREATE TABLE IF NOT EXISTS `templates` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`password` varchar(32) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`dob` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `websites`
--
CREATE TABLE IF NOT EXISTS `websites` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`domain` text,
`password` text,
`hosting_company` text,
`dns_location` text,
`username` text,
`root_path` text,
`active_ftp` text,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=71 ;
"
$scripts_for_layout = ""
$cakeDebug = ""
$javascript = array("__scriptBuffer" => null, "_cachedEvents" => array, "_cacheEvents" => false, "_cacheToFile" => false, "_cacheAll" => false, "_rules" => array, "enabled" => true, "safe" => false, "tags" => array, "helpers" => null, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "__tainted" => null, "__cleaned" => null, "_log" => null)
$ajax = array("helpers" => array, "Html" => array, "Javascript" => array, "callbacks" => array, "ajaxOptions" => array, "dragOptions" => array, "dropOptions" => array, "sortOptions" => array, "sliderOptions" => array, "editorOptions" => array, "autoCompleteOptions" => array, "__ajaxBuffer" => array, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "Form" => array)
$html = array("tags" => array, "base" => null, "here" => null, "params" => array, "action" => null, "data" => array, "_crumbs" => array, "__docTypes" => array, "helpers" => null, "webroot" => "/number/", "themeWeb" => null, "plugin" => null, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "__tainted" => null, "__cleaned" => null, "_log" => null)
$form = array("helpers" => array, "fieldset" => array, "__options" => array, "fields" => array, "requestType" => null, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "Html" => array)
$session = array("helpers" => null, "__active" => true, "valid" => false, "error" => false, "_userAgent" => "b260d25dcd9c138e5e653c28eaa88044", "path" => false, "lastError" => null, "security" => null, "time" => 1337385076, "sessionTime" => false, "watchKeys" => array, "_log" => null, "base" => null, "webroot" => "/number/", "here" => null, "params" => array, "action" => null, "data" => array, "themeWeb" => null, "plugin" => null)
$nav = array("helpers" => array, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "html" => array, "ajax" => array, "form" => array)
$BASE = null
$params = array("models" => array)
$page_title = "Missing Database Table"
$menu_array = array("Home" => "/pages", "Pages" => "/contents/", "Images " => "/images/index", "Templates" => "/templates/")
'Images '=>'/images/index',
'Templates'=>'/templates/');
if($session_user['User']['username']=='root')$menu_array['Websites']='/websites/';
echo $nav->menu($menu_array,'/'.$current_controller);
include - CORE/app/views/layouts/default.thtml, line 75
View::_render() - CORE/cake/libs/view/view.php, line 765
View::renderLayout() - CORE/cake/libs/view/view.php, line 479
View::render() - CORE/cake/libs/view/view.php, line 327
Controller::render() - CORE/cake/libs/controller/controller.php, line 664
ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 211
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 89
Object::cakeError() - CORE/cake/libs/object.php, line 172
Model::setSource() - CORE/cake/libs/model/model.php, line 799
Model::__construct() - CORE/cake/libs/model/model.php, line 387
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 390
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 352
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 232
[main] - CORE/app/webroot/index.php, line 81
Context |
Code$___viewFn = "/home/bccraftb/public_html/number/app/views/layouts/default.thtml"
$___dataForView = array("sessionUser" => null, "logged_in" => false, "model" => "Template", "table" => "templates", "title_for_layout" => "Missing Database Table", "content_for_layout" => "-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 26, 2007 at 05:37 PM
-- Server version: 5.0.22
-- PHP Version: 4.4.4
--
-- Database: `cake_thenumber`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`name` text,
`email` text,
`phone` text,
`phone2` text,
`business_name` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=870 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE IF NOT EXISTS `contents` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
`content_id` int(16) NOT NULL,
`revision` int(9) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents_tags`
--
CREATE TABLE IF NOT EXISTS `contents_tags` (
`content_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`content_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`id` mediumint(9) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`description` text NOT NULL,
`tags` text NOT NULL,
`file` varchar(255) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 ;
-- --------------------------------------------------------
--
-- Table structure for table `images_tags`
--
CREATE TABLE IF NOT EXISTS `images_tags` (
`image_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) NOT NULL auto_increment,
`created` datetime NOT NULL,
`tag` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`done` tinyint(1) default NULL,
`created` datetime default NULL,
`modified` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 ;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
CREATE TABLE IF NOT EXISTS `templates` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`password` varchar(32) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`dob` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `websites`
--
CREATE TABLE IF NOT EXISTS `websites` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`domain` text,
`password` text,
`hosting_company` text,
`dns_location` text,
`username` text,
`root_path` text,
`active_ftp` text,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=71 ;
", "scripts_for_layout" => "", "cakeDebug" => "", "javascript" => array, "ajax" => array, "html" => array, "form" => array, "session" => array, "nav" => array)
$loadHelpers = false
$cached = true
$this = array("name" => "App", "here" => null, "parent" => null, "action" => null, "model" => null, "association" => null, "field" => null, "fieldSuffix" => null, "modelId" => null, "uses" => false, "helpers" => array, "viewPath" => "errors", "layoutPath" => null, "viewVars" => array, "__scripts" => array, "pageTitle" => "Missing Database Table", "models" => array, "base" => null, "layout" => "default", "autoRender" => true, "autoLayout" => true, "params" => array, "hasRendered" => false, "loaded" => array, "ext" => ".ctp", "subDir" => null, "themeWeb" => null, "plugin" => null, "pluginPath" => null, "pluginPaths" => array, "passedArgs" => array, "__passedVars" => array, "uuids" => array, "_log" => null, "webroot" => "/number/", "modelNames" => array, "data" => array, "webservices" => null, "cacheAction" => false)
$sessionUser = null
$logged_in = false
$model = "Template"
$table = "templates"
$title_for_layout = "Missing Database Table"
$content_for_layout = "-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 26, 2007 at 05:37 PM
-- Server version: 5.0.22
-- PHP Version: 4.4.4
--
-- Database: `cake_thenumber`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`name` text,
`email` text,
`phone` text,
`phone2` text,
`business_name` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=870 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE IF NOT EXISTS `contents` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
`content_id` int(16) NOT NULL,
`revision` int(9) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents_tags`
--
CREATE TABLE IF NOT EXISTS `contents_tags` (
`content_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`content_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`id` mediumint(9) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`description` text NOT NULL,
`tags` text NOT NULL,
`file` varchar(255) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 ;
-- --------------------------------------------------------
--
-- Table structure for table `images_tags`
--
CREATE TABLE IF NOT EXISTS `images_tags` (
`image_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) NOT NULL auto_increment,
`created` datetime NOT NULL,
`tag` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`done` tinyint(1) default NULL,
`created` datetime default NULL,
`modified` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 ;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
CREATE TABLE IF NOT EXISTS `templates` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`password` varchar(32) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`dob` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `websites`
--
CREATE TABLE IF NOT EXISTS `websites` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`domain` text,
`password` text,
`hosting_company` text,
`dns_location` text,
`username` text,
`root_path` text,
`active_ftp` text,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=71 ;
"
$scripts_for_layout = ""
$cakeDebug = ""
$javascript = array("__scriptBuffer" => null, "_cachedEvents" => array, "_cacheEvents" => false, "_cacheToFile" => false, "_cacheAll" => false, "_rules" => array, "enabled" => true, "safe" => false, "tags" => array, "helpers" => null, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "__tainted" => null, "__cleaned" => null, "_log" => null)
$ajax = array("helpers" => array, "Html" => array, "Javascript" => array, "callbacks" => array, "ajaxOptions" => array, "dragOptions" => array, "dropOptions" => array, "sortOptions" => array, "sliderOptions" => array, "editorOptions" => array, "autoCompleteOptions" => array, "__ajaxBuffer" => array, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "Form" => array)
$html = array("tags" => array, "base" => null, "here" => null, "params" => array, "action" => null, "data" => array, "_crumbs" => array, "__docTypes" => array, "helpers" => null, "webroot" => "/number/", "themeWeb" => null, "plugin" => null, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "__tainted" => null, "__cleaned" => null, "_log" => null)
$form = array("helpers" => array, "fieldset" => array, "__options" => array, "fields" => array, "requestType" => null, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "Html" => array)
$session = array("helpers" => null, "__active" => true, "valid" => false, "error" => false, "_userAgent" => "b260d25dcd9c138e5e653c28eaa88044", "path" => false, "lastError" => null, "security" => null, "time" => 1337385076, "sessionTime" => false, "watchKeys" => array, "_log" => null, "base" => null, "webroot" => "/number/", "here" => null, "params" => array, "action" => null, "data" => array, "themeWeb" => null, "plugin" => null)
$nav = array("helpers" => array, "base" => null, "webroot" => "/number/", "themeWeb" => null, "here" => null, "params" => array, "action" => null, "plugin" => null, "data" => array, "namedArgs" => null, "argSeparator" => null, "validationErrors" => null, "tags" => array, "__tainted" => null, "__cleaned" => null, "_log" => null, "html" => array, "ajax" => array, "form" => array)
$BASE = null
$params = array("models" => array)
$page_title = "Missing Database Table"
$menu_array = array("Home" => "/pages", "Pages" => "/contents/", "Images " => "/images/index", "Templates" => "/templates/")
'Templates'=>'/templates/');
if($session_user['User']['username']=='root')$menu_array['Websites']='/websites/';
echo $nav->menu($menu_array,'/'.$current_controller);
include - CORE/app/views/layouts/default.thtml, line 76
View::_render() - CORE/cake/libs/view/view.php, line 765
View::renderLayout() - CORE/cake/libs/view/view.php, line 479
View::render() - CORE/cake/libs/view/view.php, line 327
Controller::render() - CORE/cake/libs/controller/controller.php, line 664
ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 211
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 89
Object::cakeError() - CORE/cake/libs/object.php, line 172
Model::setSource() - CORE/cake/libs/model/model.php, line 799
Model::__construct() - CORE/cake/libs/model/model.php, line 387
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 390
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 352
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 232
[main] - CORE/app/webroot/index.php, line 81
-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 26, 2007 at 05:37 PM
-- Server version: 5.0.22
-- PHP Version: 4.4.4
--
-- Database: `cake_thenumber`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`name` text,
`email` text,
`phone` text,
`phone2` text,
`business_name` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=870 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE IF NOT EXISTS `contents` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
`content_id` int(16) NOT NULL,
`revision` int(9) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Table structure for table `contents_tags`
--
CREATE TABLE IF NOT EXISTS `contents_tags` (
`content_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`content_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`id` mediumint(9) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`description` text NOT NULL,
`tags` text NOT NULL,
`file` varchar(255) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 ;
-- --------------------------------------------------------
--
-- Table structure for table `images_tags`
--
CREATE TABLE IF NOT EXISTS `images_tags` (
`image_id` int(10) unsigned NOT NULL default '0',
`tag_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`,`tag_id`)
) ENGINE=MyISAM ;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) NOT NULL auto_increment,
`created` datetime NOT NULL,
`tag` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`done` tinyint(1) default NULL,
`created` datetime default NULL,
`modified` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 ;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
CREATE TABLE IF NOT EXISTS `templates` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`website_id` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`title` text,
`body` text,
`meta_tags` text,
`description` text,
`filename` text,
`template` text,
`website` text,
`slideshow` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(255) NOT NULL,
`password` varchar(32) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`dob` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `websites`
--
CREATE TABLE IF NOT EXISTS `websites` (
`id` mediumint(9) NOT NULL auto_increment,
`owner` text,
`status` text,
`category` text,
`created` datetime default NULL,
`modified` datetime default NULL,
`domain` text,
`password` text,
`hosting_company` text,
`dns_location` text,
`username` text,
`root_path` text,
`active_ftp` text,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=71 ;