

-- no t required anymore, as handled by other fields, content_page_id, ontouch_action_id
ALTER TABLE `page_content` DROP ` plugin_status `;

-- identifier for plugin contents

ALTER TABLE `page_content` ADD `plugin_id` INT NULL DEFAULT '0' AFTER `slot_id`, ADD `plugin_entity_id` INT NULL DEFAULT '0' AFTER `plugin_id`;
ALTER TABLE `page_content` CHANGE `plugin_entity_type` `plugin_entity_type` INT(11) NULL DEFAULT '0';


-- explain new plugin... page... template... contents... relationships
 -- plugin_id - referring to plugin instance created from plugin_type

"<br />
<font size='1'><table class='xdebug-error xe-deprecated' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /Users/m3online/Sites/fmt_mall_showdc/config.php on line <i>30</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0015</td><td bgcolor='#eeeeec' align='right'>288232</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='/Users/m3online/Sites/fmt_mall_showdc/mall_floor_submit.php' bgcolor='#eeeeec'>../mall_floor_submit.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0019</td><td bgcolor='#eeeeec' align='right'>321720</td><td bgcolor='#eeeeec'>include_once( <font color='#00bb00'>'/Users/m3online/Sites/fmt_mall_showdc/config.php'</font> )</td><td title='/Users/m3online/Sites/fmt_mall_showdc/mall_floor_submit.php' bgcolor='#eeeeec'>../mall_floor_submit.php<b>:</b>9</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0020</td><td bgcolor='#eeeeec' align='right'>323040</td><td bgcolor='#eeeeec'><a href='http://www.php.net/function.mysql-connect' target='_new'>mysql_connect</a>
(  )</td><td title='/Users/m3online/Sites/fmt_mall_showdc/config.php' bgcolor='#eeeeec'>../config.php<b>:</b>30</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Undefined variable: mall in /Users/m3online/Sites/fmt_mall_showdc/mall_floor_submit.php on line <i>92</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0015</td><td bgcolor='#eeeeec' align='right'>288232</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='/Users/m3online/Sites/fmt_mall_showdc/mall_floor_submit.php' bgcolor='#eeeeec'>../mall_floor_submit.php<b>:</b>0</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in /Users/m3online/Sites/fmt_mall_showdc/mall_floor_submit.php on line <i>92</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0015</td><td bgcolor='#eeeeec' align='right'>288232</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='/Users/m3online/Sites/fmt_mall_showdc/mall_floor_submit.php' bgcolor='#eeeeec'>../mall_floor_submit.php<b>:</b>0</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Undefined index: action in /Users/m3online/Sites/fmt_mall_showdc/mall_floor_submit.php on line <i>97</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0015</td><td bgcolor='#eeeeec' align='right'>288232</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='/Users/m3online/Sites/fmt_mall_showdc/mall_floor_submit.php' bgcolor='#eeeeec'>../mall_floor_submit.php<b>:</b>0</td></tr>
</table></font>
INSERT INTO page_content (`page_content_id`,`page_id`,`slot_id`,`plugin_id`,`plugin_entity_type`,`plugin_entity_id`,`content_file`,`content_text`,`content_title`,`content_type`,`content_page_id`,`fmt_id`,`duration`,`priority`,`ontouch_action_id`,`ontouch_open_page_id`,`ontouch_open_plugin_type_id`,`ontouch_plugin_data`,`ontouch_load_slot_id`,`ontouch_load_plugin_id`,`ontouch_load_content_id`,`status`,`start_date`,`end_date`,`user_created`,`date_created`,`background_color`) VALUES ('0','5','232','6','3','5','11181.F-4.png','','','','','1','','5','0','0','0','','0','0','0','51','','','','','')INSERT INTO page_content (`page_content_id`,`page_id`,`slot_id`,`plugin_id`,`plugin_entity_type`,`plugin_entity_id`,`content_file`,`content_text`,`content_title`,`content_type`,`content_page_id`,`fmt_id`,`duration`,`priority`,`ontouch_action_id`,`ontouch_open_page_id`,`ontouch_open_plugin_type_id`,`ontouch_plugin_data`,`ontouch_load_slot_id`,`ontouch_load_plugin_id`,`ontouch_load_content_id`,`status`,`start_date`,`end_date`,`user_created`,`date_created`,`background_color`) VALUES ('0','5','233','6','3','5','','','','','','1','','5','0','0','0','','0','0','0','51','','','','','')"