Notice (8): Undefined index: HTTP_USER_AGENT [APP/plugins/tb/controllers/toolbars_controller.php, line 378]Code | Context
$this->layout = false;
$user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
$id = "1417"
ToolbarsController::view() - APP/plugins/tb/controllers/toolbars_controller.php, line 378
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
ToolbarCommunicationComponent::show_toolbar() - APP/controllers/components/toolbar_communication.php, line 54
SharedlinksController::click() - APP/controllers/sharedlinks_controller.php, line 314
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
require - APP/webroot/index.php, line 83
[main] - CORE/index.php, line 61
BBC News - A big breakfast doesn't reduce calorie intake
Notice (8): Undefined index: HTTP_USER_AGENT [APP/plugins/tb/views/toolbars/view.ctp, line 261]Code | Context
<div id="fb-root"></div>
</div>
<?php echo $this->ToolbarRender->RenderView($toolbar, $toolbarWidgets, $_SERVER['HTTP_USER_AGENT']); ?>
$___viewFn = "/var/www/assetize/app/plugins/tb/views/toolbars/view.ctp"
$___dataForView = array(
"user" => null,
"user_agent" => "",
"toolbar" => array(
"Toolbar" => array()
),
"toolbarWidgets" => array(
array(),
array(),
array(),
array(),
array(),
array()
),
"data" => array(
"domain" => "links.visibli.com",
"hash" => "dd149f",
"controller" => "sharedlinks",
"title" => "BBC News - A big breakfast doesn't reduce calorie intake",
"src_url" => "www.bbc.co.uk/news/health-12205379",
"custom" => "zagat.visibli.com",
"apikey" => "ce9fa4f2003c2ba9",
"thumbnail" => array(),
"description" => "It&#039;s a myth that eating a large breakfast means consuming fewer calories during the day, according to researchers in Germany.",
"custom_ga_id" => null,
"fb_apikey" => "100565233323260",
"meta" => null,
"google_analytic_img" => "www.google-analytics.com/__utm.gif?utmwv=4.5.8&utmn=1365617462&utmhn=links.visibli.com&utmcs=UTF-8&utmsr=1280x768&utmsc=32-bit&utmul=en-us&utmje=0&utmfl=10.0%20r32&utmdt=&utmhid=60801709&utmsr=-&utmsc=-&utmul=-&utmje=0&utmfl=-&utmdt=-&utmr=&utmp=%2Fsharedlinks%2Fdd149f&utmac=UA-4643536-5&utmcc=__utma%3D87412264.1876728755.1328927969.1328927969.1328927969.2%3B%2B__utmb%3D87412264%3B%2B__utmc%3D87412264%3B%2B__utmz%3D87412264.1328927969.2.2.utmccn%3D(direct)%7Cutmcsr%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D87412264.12345x%3B"
),
"jsonp" => "c=sharedlinks&h=dd149f&u=http%3A%2F%2Fwww.bbc.co.uk%2Fnews%2Fhealth-12205379&a=ce9fa4f2003c2ba9",
"cakeDebug" => ToolbarsController
ToolbarsController::$name = "Toolbars"
ToolbarsController::$components = array
ToolbarsController::$helpers = array
ToolbarsController::$uses = array
ToolbarsController::$plugin_domain = "localdev.toolbar.com"
ToolbarsController::$here = "/tb/toolbars/view/1417"
ToolbarsController::$webroot = "/"
ToolbarsController::$action = "view"
ToolbarsController::$params = array
ToolbarsController::$data = NULL
ToolbarsController::$paginate = array
ToolbarsController::$viewPath = "toolbars"
ToolbarsController::$layoutPath = NULL
ToolbarsController::$viewVars = array
ToolbarsController::$modelNames = array
ToolbarsController::$base = ""
ToolbarsController::$layout = false
ToolbarsController::$autoRender = false
ToolbarsController::$autoLayout = false
ToolbarsController::$Component = Component object
ToolbarsController::$view = "View"
ToolbarsController::$ext = ".ctp"
ToolbarsController::$output = NULL
ToolbarsController::$plugin = "tb"
ToolbarsController::$cacheAction = false
ToolbarsController::$persistModel = false
ToolbarsController::$passedArgs = array
ToolbarsController::$scaffold = false
ToolbarsController::$methods = array
ToolbarsController::$modelClass = "User"
ToolbarsController::$modelKey = "toolbar"
ToolbarsController::$validationErrors = NULL
ToolbarsController::$__httpCodes = NULL
ToolbarsController::$Acl = AclComponent object
ToolbarsController::$Auth = AuthComponent object
ToolbarsController::$Cookie = CookieComponent object
ToolbarsController::$Session = SessionComponent object
ToolbarsController::$RequestHandler = RequestHandlerComponent object
ToolbarsController::$ToolbarCommunication = ToolbarCommunicationComponent object
ToolbarsController::$User = User object
ToolbarsController::$Toolbar = Toolbar object
ToolbarsController::$ToolbarWidget = ToolbarWidget object
ToolbarsController::$Widget = Widget object
ToolbarsController::$WidgetCategory = WidgetCategory object
ToolbarsController::$ToolbarTheme = ToolbarTheme object
ToolbarsController::$ToolbarTemplate = ToolbarTemplate object
ToolbarsController::$pageTitle = "Visibli: Giving links more value"
ToolbarsController::$temp_data = array
)
$loadHelpers = true
$cached = false
$javascript = JavascriptHelper
JavascriptHelper::$useNative = true
JavascriptHelper::$enabled = true
JavascriptHelper::$safe = false
JavascriptHelper::$tags = array
JavascriptHelper::$_blockOptions = array
JavascriptHelper::$_cachedEvents = array
JavascriptHelper::$_cacheEvents = false
JavascriptHelper::$_cacheToFile = false
JavascriptHelper::$_cacheAll = false
JavascriptHelper::$_rules = array
JavascriptHelper::$__scriptBuffer = NULL
JavascriptHelper::$helpers = NULL
JavascriptHelper::$base = ""
JavascriptHelper::$webroot = "/"
JavascriptHelper::$theme = NULL
JavascriptHelper::$here = "/tb/toolbars/view/1417"
JavascriptHelper::$params = array
JavascriptHelper::$action = "view"
JavascriptHelper::$plugin = "tb"
JavascriptHelper::$data = NULL
JavascriptHelper::$namedArgs = NULL
JavascriptHelper::$argSeparator = NULL
JavascriptHelper::$validationErrors = NULL
JavascriptHelper::$__tainted = NULL
JavascriptHelper::$__cleaned = NULL
$form = FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = ""
FormHelper::$webroot = "/"
FormHelper::$theme = NULL
FormHelper::$here = "/tb/toolbars/view/1417"
FormHelper::$params = array
FormHelper::$action = "view"
FormHelper::$plugin = "tb"
FormHelper::$data = NULL
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object
$session = SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = ""
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "low"
SessionHelper::$time = 1328927969
SessionHelper::$sessionTime = 1328963969
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$_started = true
SessionHelper::$host = NULL
SessionHelper::$cookieLifeTime = 788940000
SessionHelper::$base = ""
SessionHelper::$webroot = "/"
SessionHelper::$here = "/tb/toolbars/view/1417"
SessionHelper::$params = array
SessionHelper::$action = "view"
SessionHelper::$data = NULL
SessionHelper::$theme = NULL
SessionHelper::$plugin = "tb"
$toolbarRender = ToolbarRenderHelper
ToolbarRenderHelper::$helpers = array
ToolbarRenderHelper::$base = ""
ToolbarRenderHelper::$webroot = "/"
ToolbarRenderHelper::$theme = NULL
ToolbarRenderHelper::$here = "/tb/toolbars/view/1417"
ToolbarRenderHelper::$params = array
ToolbarRenderHelper::$action = "view"
ToolbarRenderHelper::$plugin = "tb"
ToolbarRenderHelper::$data = NULL
ToolbarRenderHelper::$namedArgs = NULL
ToolbarRenderHelper::$argSeparator = NULL
ToolbarRenderHelper::$validationErrors = NULL
ToolbarRenderHelper::$tags = array
ToolbarRenderHelper::$__tainted = NULL
ToolbarRenderHelper::$__cleaned = NULL
ToolbarRenderHelper::$WidgetRender = WidgetRenderHelper object
$widgetRender = WidgetRenderHelper
WidgetRenderHelper::$helpers = NULL
WidgetRenderHelper::$base = ""
WidgetRenderHelper::$webroot = "/"
WidgetRenderHelper::$theme = NULL
WidgetRenderHelper::$here = "/tb/toolbars/view/1417"
WidgetRenderHelper::$params = array
WidgetRenderHelper::$action = "view"
WidgetRenderHelper::$plugin = "tb"
WidgetRenderHelper::$data = NULL
WidgetRenderHelper::$namedArgs = NULL
WidgetRenderHelper::$argSeparator = NULL
WidgetRenderHelper::$validationErrors = NULL
WidgetRenderHelper::$tags = array
WidgetRenderHelper::$__tainted = NULL
WidgetRenderHelper::$__cleaned = NULL
$html = HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = ""
HtmlHelper::$webroot = "/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/tb/toolbars/view/1417"
HtmlHelper::$params = array
HtmlHelper::$action = "view"
HtmlHelper::$plugin = "tb"
HtmlHelper::$data = NULL
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL
$user = null
$user_agent = ""
$toolbar = array(
"Toolbar" => array(
"id" => "1417",
"toolbar_api_key_id" => "1",
"user_id" => null,
"name" => "",
"background_image" => "",
"background_color" => "#6d0e23",
"background_repeat" => "repeat",
"background_position" => "left center",
"border" => "",
"height" => "36",
"created" => "2010-09-01 12:32:50",
"updated" => "2011-08-26 18:20:51",
"in_creation" => "0",
"active" => "1",
"style_inline" => "color:#ffffff;",
"style_link" => "color:#ffffff;text-decoration:none;",
"style_link_visited" => "color:#ffffff;text-decoration:none;",
"style_link_hover" => "color:#ffffff;text-decoration:none;",
"style_link_active" => "color:#ffffff;text-decoration:none;",
"template_id" => null
)
)
$toolbarWidgets = array(
array(
"ToolbarWidget" => array(),
"Toolbar" => array(),
"Widget" => array()
),
array(
"ToolbarWidget" => array(),
"Toolbar" => array(),
"Widget" => array()
),
array(
"ToolbarWidget" => array(),
"Toolbar" => array(),
"Widget" => array()
),
array(
"ToolbarWidget" => array(),
"Toolbar" => array(),
"Widget" => array()
),
array(
"ToolbarWidget" => array(),
"Toolbar" => array(),
"Widget" => array()
),
array(
"ToolbarWidget" => array(),
"Toolbar" => array(),
"Widget" => array()
)
)
$data = array(
"domain" => "links.visibli.com",
"hash" => "dd149f",
"controller" => "sharedlinks",
"title" => "BBC News - A big breakfast doesn't reduce calorie intake",
"src_url" => "www.bbc.co.uk/news/health-12205379",
"custom" => "zagat.visibli.com",
"apikey" => "ce9fa4f2003c2ba9",
"thumbnail" => array(
"news.bbcimg.co.uk/media/images/50828000/jpg/_50828951_003786659-1.jpg"
),
"description" => "It&#039;s a myth that eating a large breakfast means consuming fewer calories during the day, according to researchers in Germany.",
"custom_ga_id" => null,
"fb_apikey" => "100565233323260",
"meta" => null,
"google_analytic_img" => "www.google-analytics.com/__utm.gif?utmwv=4.5.8&utmn=1365617462&utmhn=links.visibli.com&utmcs=UTF-8&utmsr=1280x768&utmsc=32-bit&utmul=en-us&utmje=0&utmfl=10.0%20r32&utmdt=&utmhid=60801709&utmsr=-&utmsc=-&utmul=-&utmje=0&utmfl=-&utmdt=-&utmr=&utmp=%2Fsharedlinks%2Fdd149f&utmac=UA-4643536-5&utmcc=__utma%3D87412264.1876728755.1328927969.1328927969.1328927969.2%3B%2B__utmb%3D87412264%3B%2B__utmc%3D87412264%3B%2B__utmz%3D87412264.1328927969.2.2.utmccn%3D(direct)%7Cutmcsr%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D87412264.12345x%3B"
)
$jsonp = "c=sharedlinks&h=dd149f&u=http%3A%2F%2Fwww.bbc.co.uk%2Fnews%2Fhealth-12205379&a=ce9fa4f2003c2ba9"
$cakeDebug = ToolbarsController
ToolbarsController::$name = "Toolbars"
ToolbarsController::$components = array
ToolbarsController::$helpers = array
ToolbarsController::$uses = array
ToolbarsController::$plugin_domain = "localdev.toolbar.com"
ToolbarsController::$here = "/tb/toolbars/view/1417"
ToolbarsController::$webroot = "/"
ToolbarsController::$action = "view"
ToolbarsController::$params = array
ToolbarsController::$data = NULL
ToolbarsController::$paginate = array
ToolbarsController::$viewPath = "toolbars"
ToolbarsController::$layoutPath = NULL
ToolbarsController::$viewVars = array
ToolbarsController::$modelNames = array
ToolbarsController::$base = ""
ToolbarsController::$layout = false
ToolbarsController::$autoRender = false
ToolbarsController::$autoLayout = false
ToolbarsController::$Component = Component object
ToolbarsController::$view = "View"
ToolbarsController::$ext = ".ctp"
ToolbarsController::$output = NULL
ToolbarsController::$plugin = "tb"
ToolbarsController::$cacheAction = false
ToolbarsController::$persistModel = false
ToolbarsController::$passedArgs = array
ToolbarsController::$scaffold = false
ToolbarsController::$methods = array
ToolbarsController::$modelClass = "User"
ToolbarsController::$modelKey = "toolbar"
ToolbarsController::$validationErrors = NULL
ToolbarsController::$__httpCodes = NULL
ToolbarsController::$Acl = AclComponent object
ToolbarsController::$Auth = AuthComponent object
ToolbarsController::$Cookie = CookieComponent object
ToolbarsController::$Session = SessionComponent object
ToolbarsController::$RequestHandler = RequestHandlerComponent object
ToolbarsController::$ToolbarCommunication = ToolbarCommunicationComponent object
ToolbarsController::$User = User object
ToolbarsController::$Toolbar = Toolbar object
ToolbarsController::$ToolbarWidget = ToolbarWidget object
ToolbarsController::$Widget = Widget object
ToolbarsController::$WidgetCategory = WidgetCategory object
ToolbarsController::$ToolbarTheme = ToolbarTheme object
ToolbarsController::$ToolbarTemplate = ToolbarTemplate object
ToolbarsController::$pageTitle = "Visibli: Giving links more value"
ToolbarsController::$temp_data = array
$analytics = array(
"widget_text_10450" => "10450",
"widget_image_10452" => "10452",
"widget_facebooklike_10453" => "10453",
"widget_image_10495" => "10495",
"widget_image_10457" => "10457",
"widget_image_10493" => "10493"
)
$load_cycle = false
$toolbarWidget = array(
"ToolbarWidget" => array(
"id" => "10493",
"toolbar_id" => "1417",
"widget_id" => "2",
"order" => "6",
"x_offset" => "37",
"y_offset" => "0",
"x_float" => "right",
"y_float" => "top",
"width" => "8",
"height" => "35",
"style" => "",
"dropdown_style" => "",
"parameters" => "{"src":"\/toolbars\/uploads\/sperator_1302721945_1284581328.jpg","href":"","alt":""}",
"parameters_editor" => "{"src":"\/toolbars\/uploads\/sperator_1302721945_1284581328.jpg","href":"","alt":""}",
"created" => "2010-09-15 16:08:43",
"updated" => "2011-08-26 18:20:51",
"in_creation" => "0",
"active" => "1",
"priority" => "70"
),
"Toolbar" => array(
"id" => "1417",
"toolbar_api_key_id" => "1",
"user_id" => null,
"name" => "",
"background_image" => "",
"background_color" => "#6d0e23",
"background_repeat" => "repeat",
"background_position" => "left center",
"border" => "",
"height" => "36",
"created" => "2010-09-01 12:32:50",
"updated" => "2011-08-26 18:20:51",
"in_creation" => "0",
"active" => "1",
"style_inline" => "color:#ffffff;",
"style_link" => "color:#ffffff;text-decoration:none;",
"style_link_visited" => "color:#ffffff;text-decoration:none;",
"style_link_hover" => "color:#ffffff;text-decoration:none;",
"style_link_active" => "color:#ffffff;text-decoration:none;",
"template_id" => null
),
"Widget" => array(
"id" => "2",
"name" => "Image",
"code" => "
class ImageWidget extends WidgetInterface
{
protected $id = 'Image';
protected $name = 'Image';
protected $info = 'Style your Engagement Bar with a photo or logo';
protected $field_data = array(
'src' => array(
'name' => 'Image',
'type' => 'image',
'desc' => 'Upload a .jpg, .png, or .gif file.',
'default' => null,
'required' => true
),
'href' => array(
'name' => 'Link URL',
'type' => 'url',
'desc' => 'Optionally link to a URL when the image is clicked.',
'default' => null,
'required' => false
),
'alt' => array(
'name' => 'Title',
'type' => 'text',
'desc' => 'Specify text that will appear when the mouse is hovered over the image.',
'default' => null,
'required' => false
)
);
protected $settings = array(
"priority" => 70,
"resizable" => true,
"auto_resize" => true,
"resize_class" => "img.src",
"default_width" => 36, "default_height" => 36,
"min_width" => 8, "min_height" => 8,
"max_width" => -1, "max_height" => -1
);
function getCSS() {
return '
<style type="text/css">
#' . $this->getID() . ' div.image-container {
max-px;
overflow: hidden;
}
</style>';
}
function getJavascript() {
return JSMin::minify('
<script type="text/javascript" language="javascript">
function ImageWidget (widget_id){
var analytics = ToolbarAnalytics.getAnalytics(widget_id);
$(document).ready(function (){
$("#" + widget_id + " a").click(function(){
analytics.custom("click", {"0" : this.href});
});
});
}
// Creates a unique instance of ImageWidget
var ' . $this->getID() . ' = new ImageWidget(
"' . $this->getID() . '");
</script>
');
}
function getView()
{
return $this->getJavascript() . $this->getMobileView();
}
function getMobileView($user_agent = null){
$temp = $this->getCSS() .
'<div class="image-container">';
if($this->getData('href'))
$temp .=
'<a class="' . $this->getData('href') . '" target="_blank">
<img class="src" src="/img/spacer.gif"> "0",
"created" => null,
"updated" => null,
"active" => "1",
"show_in_mobile" => "1",
"sort_order" => "10"
)
)
$wInst = ImageWidget
$og_url = "links.visibli.com/share/dd149f"
$r = "~[\w-]+\.\w+(?=/|$)~"
$host = "zagat.visibli.com"
$out = array(
"visibli.com"
)
$custom_ga_id = null
include - APP/plugins/tb/views/toolbars/view.ctp, line 261
View::_render() - CORE/cake/libs/view/view.php, line 723
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 911
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
ToolbarCommunicationComponent::show_toolbar() - APP/controllers/components/toolbar_communication.php, line 54
SharedlinksController::click() - APP/controllers/sharedlinks_controller.php, line 314
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
require - APP/webroot/index.php, line 83
[main] - CORE/index.php, line 61
gipoco.com
is neither affiliated with the authors of this page or responsible
for its contents. This is a safe-cache copy of the original web site.
gipoco.com
is neither affiliated with the authors of this page nor responsible
for its contents. This is a safe-cache copy of the original web site.