Laravel-debugbar: Nothing shows up

Created on 11 Mar 2015  路  7Comments  路  Source: barryvdh/laravel-debugbar

After installing Laravel Debugbar it does not show up.

I am using Laravel 4.2
I am using Laravel Debugbar 1.8.7

I have my config app.debug set to true on both local and not local.

I have published the assets (even that it is not required anymore, just tried to see if it would work)

I have even tried publishing the config and changing enabled from Config::get('app.debug') to true

I have tried making a route returning View::make('hello') which is a empty view, just to be sure it wasn't because of some Blade/HTML issues.

Anything without luck.

Here is what the output of the route shows me:

<link rel="stylesheet" type="text/css" href="http://bmv2.mark.novasa.io:8000/_debugbar/assets/stylesheets?1426069469">
<script type="text/javascript" src="http://bmv2.mark.novasa.io:8000/_debugbar/assets/javascript?1426069468"></script>
<script type="text/javascript">jQuery.noConflict(true);</script>
<script type="text/javascript">
var phpdebugbar = new PhpDebugBar.DebugBar();
phpdebugbar.addTab("messages", new PhpDebugBar.DebugBar.Tab({"icon":"list-alt","title":"Messages", "widget": new PhpDebugBar.Widgets.MessagesWidget()}));
phpdebugbar.addIndicator("time", new PhpDebugBar.DebugBar.Indicator({"icon":"clock-o","tooltip":"Request Duration"}), "right");
phpdebugbar.addTab("timeline", new PhpDebugBar.DebugBar.Tab({"icon":"tasks","title":"Timeline", "widget": new PhpDebugBar.Widgets.TimelineWidget()}));
phpdebugbar.addIndicator("memory", new PhpDebugBar.DebugBar.Indicator({"icon":"cogs","tooltip":"Memory Usage"}), "right");
phpdebugbar.addTab("exceptions", new PhpDebugBar.DebugBar.Tab({"icon":"bug","title":"Exceptions", "widget": new PhpDebugBar.Widgets.ExceptionsWidget()}));
phpdebugbar.addTab("views", new PhpDebugBar.DebugBar.Tab({"icon":"leaf","title":"Views", "widget": new PhpDebugBar.Widgets.TemplatesWidget()}));
phpdebugbar.addTab("route", new PhpDebugBar.DebugBar.Tab({"icon":"share","title":"Route", "widget": new PhpDebugBar.Widgets.VariableListWidget()}));
phpdebugbar.addIndicator("currentroute", new PhpDebugBar.DebugBar.Indicator({"icon":"share","tooltip":"Route"}), "right");
phpdebugbar.addTab("queries", new PhpDebugBar.DebugBar.Tab({"icon":"inbox","title":"Queries", "widget": new PhpDebugBar.Widgets.SQLQueriesWidget()}));
phpdebugbar.addTab("emails", new PhpDebugBar.DebugBar.Tab({"icon":"inbox","title":"Mails", "widget": new PhpDebugBar.Widgets.MailsWidget()}));
phpdebugbar.addTab("request", new PhpDebugBar.DebugBar.Tab({"icon":"tags","title":"Request", "widget": new PhpDebugBar.Widgets.VariableListWidget()}));
phpdebugbar.setDataMap({
"messages": ["messages.messages", []],
"messages:badge": ["messages.count", null],
"time": ["time.duration_str", '0ms'],
"timeline": ["time", {}],
"memory": ["memory.peak_usage_str", '0B'],
"exceptions": ["exceptions.exceptions", []],
"exceptions:badge": ["exceptions.count", null],
"views": ["views", []],
"views:badge": ["views.nb_templates", 0],
"route": ["route", {}],
"currentroute": ["route.uri", ],
"queries": ["queries", []],
"queries:badge": ["queries.nb_statements", 0],
"emails": ["swiftmailer_mails.mails", []],
"emails:badge": ["swiftmailer_mails.count", null],
"request": ["request", {}]
});
phpdebugbar.restoreState();
phpdebugbar.ajaxHandler = new PhpDebugBar.AjaxHandler(phpdebugbar);
phpdebugbar.ajaxHandler.bindToXHR();
phpdebugbar.setOpenHandler(new PhpDebugBar.OpenHandler({"url":"http:\/\/bmv2.mark.novasa.io:8000\/_debugbar\/open"}));
phpdebugbar.addDataSet({"__meta":{"id":"a9fe0da2dab3d4da42328f3a0d383078","datetime":"2015-03-11 11:07:25","utime":1426072045.360567,"method":"GET","uri":"\/api\/frontend\/v1\/result?atc=A01AB09&indication_id=53&patient[age]=3&patient[weight]=2","ip":"10.0.2.201"},"php":{"version":"5.5.22-1+deb.sury.org~trusty+1"},"messages":{"count":11,"messages":[{"message":"Drug {#727\n  #table: \"drugs\"\n  #fillable: array:15 [\n    0 => \"title\"\n    1 => \"show_title_when_searching\"\n    2 => \"displayname\"\n    3 => \"show_displayname_when_searching\"\n    4 => \"atc\"\n    5 => \"unlicensed\"\n    6 => \"with_food\"\n    7 => \"with_food_note\"\n    8 => \"magistral_production\"\n    9 => \"magistral_production_note\"\n    10 => \"iv_as_po\"\n    11 => \"iv_as_enteral\"\n    12 => \"iv_as_po_enteral_note\"\n    13 => \"note\"\n    14 => \"admin_note\"\n  ]\n  #primaryKey: \"_id\"\n  #use_draft: true\n  #oldConnection: null\n  #config: []\n  #connectionForced: false\n  #overrideConnection: false\n  #connection: null\n  #perPage: 15\n  +incrementing: true\n  +timestamps: true\n  #attributes: []\n  #original: []\n  #relations: []\n  #hidden: []\n  #visible: []\n  #appends: []\n  #guarded: array:1 [\n    0 => \"*\"\n  ]\n  #dates: []\n  #touches: []\n  #observables: []\n  #with: []\n  #morphClass: null\n  +exists: false\n}","is_string":false,"label":"info","time":1426072045.30285},{"message":"Dosage {#736\n  #fillable: array:30 [\n    0 => \"off_label\"\n    1 => \"regimen\"\n    2 => \"has_regimen\"\n    3 => \"default_regimen\"\n    4 => \"adult_dosage\"\n    5 => \"has_age\"\n    6 => \"age\"\n    7 => \"age_interval\"\n    8 => \"age_interval_from\"\n    9 => \"age_interval_to\"\n    10 => \"has_weight\"\n    11 => \"weight_from\"\n    12 => \"weight_to\"\n    13 => \"weight\"\n    14 => \"weight_interval\"\n    15 => \"weight_interval_from\"\n    16 => \"weight_interval_to\"\n    17 => \"has_surface_area\"\n    18 => \"surface_area_from\"\n    19 => \"surface_area_to\"\n    20 => \"surface_area\"\n    21 => \"surface_area_interval\"\n    22 => \"surface_area_interval_from\"\n    23 => \"surface_area_interval_to\"\n    24 => \"needs_escalation\"\n    25 => \"needs_de_escalation\"\n    26 => \"source\"\n    27 => \"references\"\n    28 => \"note\"\n    29 => \"drug_id\"\n  ]\n  #primaryKey: \"_id\"\n  #use_draft: true\n  #oldConnection: null\n  #config: []\n  #connectionForced: false\n  #overrideConnection: false\n  #connection: null\n  #table: null\n  #perPage: 15\n  +incrementing: true\n  +timestamps: true\n  #attributes: []\n  #original: []\n  #relations: []\n  #hidden: []\n  #visible: []\n  #appends: []\n  #guarded: array:1 [\n    0 => \"*\"\n  ]\n  #dates: []\n  #touches: []\n  #observables: []\n  #with: []\n  #morphClass: null\n  +exists: false\n}","is_string":false,"label":"info","time":1426072045.306705},{"message":"overrideConnection is FALSE","is_string":true,"label":"info","time":1426072045.306731},{"message":"Drug {#748\n  #table: \"drugs\"\n  #fillable: array:15 [\n    0 => \"title\"\n    1 => \"show_title_when_searching\"\n    2 => \"displayname\"\n    3 => \"show_displayname_when_searching\"\n    4 => \"atc\"\n    5 => \"unlicensed\"\n    6 => \"with_food\"\n    7 => \"with_food_note\"\n    8 => \"magistral_production\"\n    9 => \"magistral_production_note\"\n    10 => \"iv_as_po\"\n    11 => \"iv_as_enteral\"\n    12 => \"iv_as_po_enteral_note\"\n    13 => \"note\"\n    14 => \"admin_note\"\n  ]\n  #primaryKey: \"_id\"\n  #use_draft: true\n  #oldConnection: null\n  #config: []\n  #connectionForced: \"draft\"\n  #overrideConnection: true\n  #connection: \"draft\"\n  #perPage: 15\n  +incrementing: true\n  +timestamps: true\n  #attributes: []\n  #original: []\n  #relations: []\n  #hidden: []\n  #visible: []\n  #appends: []\n  #guarded: array:1 [\n    0 => \"*\"\n  ]\n  #dates: []\n  #touches: []\n  #observables: []\n  #with: []\n  #morphClass: null\n  +exists: false\n}","is_string":false,"label":"info","time":1426072045.316326},{"message":"Dosage {#749\n  #fillable: array:30 [\n    0 => \"off_label\"\n    1 => \"regimen\"\n    2 => \"has_regimen\"\n    3 => \"default_regimen\"\n    4 => \"adult_dosage\"\n    5 => \"has_age\"\n    6 => \"age\"\n    7 => \"age_interval\"\n    8 => \"age_interval_from\"\n    9 => \"age_interval_to\"\n    10 => \"has_weight\"\n    11 => \"weight_from\"\n    12 => \"weight_to\"\n    13 => \"weight\"\n    14 => \"weight_interval\"\n    15 => \"weight_interval_from\"\n    16 => \"weight_interval_to\"\n    17 => \"has_surface_area\"\n    18 => \"surface_area_from\"\n    19 => \"surface_area_to\"\n    20 => \"surface_area\"\n    21 => \"surface_area_interval\"\n    22 => \"surface_area_interval_from\"\n    23 => \"surface_area_interval_to\"\n    24 => \"needs_escalation\"\n    25 => \"needs_de_escalation\"\n    26 => \"source\"\n    27 => \"references\"\n    28 => \"note\"\n    29 => \"drug_id\"\n  ]\n  #primaryKey: \"_id\"\n  #use_draft: true\n  #oldConnection: null\n  #config: []\n  #connectionForced: false\n  #overrideConnection: false\n  #connection: null\n  #table: null\n  #perPage: 15\n  +incrementing: true\n  +timestamps: true\n  #attributes: []\n  #original: []\n  #relations: []\n  #hidden: []\n  #visible: []\n  #appends: []\n  #guarded: array:1 [\n    0 => \"*\"\n  ]\n  #dates: []\n  #touches: []\n  #observables: []\n  #with: []\n  #morphClass: null\n  +exists: false\n}","is_string":false,"label":"info","time":1426072045.318557},{"message":"getConnectionName: draft","is_string":true,"label":"info","time":1426072045.318584},{"message":"DOES IT WORK? ","is_string":true,"label":"info","time":1426072045.323356},{"message":"false","is_string":false,"label":"info","time":1426072045.323461},{"message":"array:70 [\n  \"_id\" => 1\n  \"atc\" => \"A10BH05\"\n  \"title\" => \"Linagliptin\"\n  \"show_title_when_searching\" => false\n  \"displayname\" => null\n  \"show_displayname_when_searching\" => false\n  \"unlicensed\" => false\n  \"with_food\" => null\n  \"with_food_note\" => null\n  \"magistral_production\" => null\n  \"magistral_production_note\" => null\n  \"iv_as_po\" => false\n  \"iv_as_enteral\" => false\n  \"iv_as_po_enteral_note\" => null\n  \"note\" => null\n  \"admin_note\" => null\n  \"has_active_substances\" => true\n  \"created_at\" => \"2015-02-23 12:17:29\"\n  \"updated_at\" => \"2015-02-23 12:17:29\"\n  \"dosages.0._id\" => \"2\"\n  \"dosages.0.off_label\" => false\n  \"dosages.0.has_regimen\" => true\n  \"dosages.0.regimen\" => null\n  \"dosages.0.default_regimen\" => false\n  \"dosages.0.adult_dosage\" => false\n  \"dosages.0.has_age\" => true\n  \"dosages.0.age_from\" => null\n  \"dosages.0.age_to\" => null\n  \"dosages.0.age_interval\" => true\n  \"dosages.0.age\" => null\n  \"dosages.0.age_interval_from\" => null\n  \"dosages.0.age_interval_to\" => null\n  \"dosages.0.age_interval_unit_from\" => \"years\"\n  \"dosages.0.age_interval_unit_to\" => \"years\"\n  \"dosages.0.age_unit\" => \"years\"\n  \"dosages.0.age_interval_including_value\" => \"to_not_including\"\n  \"dosages.0.age_including_value\" => \"to_including\"\n  \"dosages.0.has_weight\" => false\n  \"dosages.0.weight_from\" => null\n  \"dosages.0.weight_to\" => null\n  \"dosages.0.weight_interval\" => true\n  \"dosages.0.weight\" => null\n  \"dosages.0.weight_interval_from\" => null\n  \"dosages.0.weight_interval_to\" => null\n  \"dosages.0.weight_interval_unit_from\" => \"kilogram\"\n  \"dosages.0.weight_interval_unit_to\" => \"kilogram\"\n  \"dosages.0.weight_unit\" => \"kilogram\"\n  \"dosages.0.weight_interval_including_value\" => \"to_not_including\"\n  \"dosages.0.weight_including_value\" => \"to_including\"\n  \"dosages.0.has_surface_area\" => false\n  \"dosages.0.surface_area_from\" => null\n  \"dosages.0.surface_area_to\" => null\n  \"dosages.0.surface_area_interval\" => true\n  \"dosages.0.surface_area\" => null\n  \"dosages.0.surface_area_interval_from\" => null\n  \"dosages.0.surface_area_interval_to\" => null\n  \"dosages.0.surface_area_interval_unit_from\" => \"m2\"\n  \"dosages.0.surface_area_interval_unit_to\" => \"m2\"\n  \"dosages.0.surface_area_unit\" => \"m2\"\n  \"dosages.0.surface_area_interval_including_value\" => \"to_not_including\"\n  \"dosages.0.surface_area_including_value\" => \"to_including\"\n  \"dosages.0.needs_escalation\" => false\n  \"dosages.0.needs_de_escalation\" => false\n  \"dosages.0.source\" => null\n  \"dosages.0.references\" => null\n  \"dosages.0.note\" => null\n  \"dosages.0.drug_id\" => \"1\"\n  \"dosages.0.route_of_adm_id\" => null\n  \"dosages.0.created_at\" => \"-0001-11-30 00:00:00\"\n  \"dosages.0.updated_at\" => \"-0001-11-30 00:00:00\"\n]","is_string":false,"label":"info","time":1426072045.327764},{"message":"array:70 [\n  \"_id\" => \"1\"\n  \"atc\" => \"A10BH05\"\n  \"title\" => \"Linagliptin\"\n  \"show_title_when_searching\" => false\n  \"displayname\" => null\n  \"show_displayname_when_searching\" => false\n  \"unlicensed\" => false\n  \"with_food\" => null\n  \"with_food_note\" => null\n  \"magistral_production\" => null\n  \"magistral_production_note\" => null\n  \"iv_as_po\" => false\n  \"iv_as_enteral\" => false\n  \"iv_as_po_enteral_note\" => null\n  \"note\" => null\n  \"admin_note\" => null\n  \"has_active_substances\" => false\n  \"created_at\" => \"2015-02-23 12:17:29\"\n  \"updated_at\" => \"2015-02-23 12:17:29\"\n  \"dosages.0._id\" => \"2\"\n  \"dosages.0.off_label\" => false\n  \"dosages.0.has_regimen\" => true\n  \"dosages.0.regimen\" => null\n  \"dosages.0.default_regimen\" => false\n  \"dosages.0.adult_dosage\" => false\n  \"dosages.0.has_age\" => true\n  \"dosages.0.age_from\" => null\n  \"dosages.0.age_to\" => null\n  \"dosages.0.age_interval\" => true\n  \"dosages.0.age\" => null\n  \"dosages.0.age_interval_from\" => null\n  \"dosages.0.age_interval_to\" => null\n  \"dosages.0.age_interval_unit_from\" => \"years\"\n  \"dosages.0.age_interval_unit_to\" => \"years\"\n  \"dosages.0.age_unit\" => \"years\"\n  \"dosages.0.age_interval_including_value\" => \"to_not_including\"\n  \"dosages.0.age_including_value\" => \"to_including\"\n  \"dosages.0.has_weight\" => false\n  \"dosages.0.weight_from\" => null\n  \"dosages.0.weight_to\" => null\n  \"dosages.0.weight_interval\" => true\n  \"dosages.0.weight\" => null\n  \"dosages.0.weight_interval_from\" => null\n  \"dosages.0.weight_interval_to\" => null\n  \"dosages.0.weight_interval_unit_from\" => \"kilogram\"\n  \"dosages.0.weight_interval_unit_to\" => \"kilogram\"\n  \"dosages.0.weight_unit\" => \"kilogram\"\n  \"dosages.0.weight_interval_including_value\" => \"to_not_including\"\n  \"dosages.0.weight_including_value\" => \"to_including\"\n  \"dosages.0.has_surface_area\" => false\n  \"dosages.0.surface_area_from\" => null\n  \"dosages.0.surface_area_to\" => null\n  \"dosages.0.surface_area_interval\" => true\n  \"dosages.0.surface_area\" => null\n  \"dosages.0.surface_area_interval_from\" => null\n  \"dosages.0.surface_area_interval_to\" => null\n  \"dosages.0.surface_area_interval_unit_from\" => \"m2\"\n  \"dosages.0.surface_area_interval_unit_to\" => \"m2\"\n  \"dosages.0.surface_area_unit\" => \"m2\"\n  \"dosages.0.surface_area_interval_including_value\" => \"to_not_including\"\n  \"dosages.0.surface_area_including_value\" => \"to_including\"\n  \"dosages.0.needs_escalation\" => false\n  \"dosages.0.needs_de_escalation\" => false\n  \"dosages.0.source\" => null\n  \"dosages.0.references\" => null\n  \"dosages.0.note\" => null\n  \"dosages.0.drug_id\" => \"1\"\n  \"dosages.0.route_of_adm_id\" => null\n  \"dosages.0.created_at\" => \"-0001-11-30 00:00:00\"\n  \"dosages.0.updated_at\" => \"-0001-11-30 00:00:00\"\n]","is_string":false,"label":"info","time":1426072045.330392},{"message":"array:1 [\n  \"updated\" => array:3 [\n    \"changes\" => array:1 [\n      \"has_active_substances\" => true\n    ]\n    \"live_object\" => Drug {#734\n      #table: \"drugs\"\n      #fillable: array:15 [\n        0 => \"title\"\n        1 => \"show_title_when_searching\"\n        2 => \"displayname\"\n        3 => \"show_displayname_when_searching\"\n        4 => \"atc\"\n        5 => \"unlicensed\"\n        6 => \"with_food\"\n        7 => \"with_food_note\"\n        8 => \"magistral_production\"\n        9 => \"magistral_production_note\"\n        10 => \"iv_as_po\"\n        11 => \"iv_as_enteral\"\n        12 => \"iv_as_po_enteral_note\"\n        13 => \"note\"\n        14 => \"admin_note\"\n      ]\n      #primaryKey: \"_id\"\n      #use_draft: true\n      #oldConnection: null\n      #config: []\n      #connectionForced: false\n      #overrideConnection: false\n      #connection: null\n      #perPage: 15\n      +incrementing: true\n      +timestamps: true\n      #attributes: array:19 [\n        \"_id\" => \"1\"\n        \"atc\" => \"A10BH05\"\n        \"title\" => \"Linagliptin\"\n        \"show_title_when_searching\" => \"0\"\n        \"displayname\" => null\n        \"show_displayname_when_searching\" => \"0\"\n        \"unlicensed\" => \"0\"\n        \"with_food\" => null\n        \"with_food_note\" => null\n        \"magistral_production\" => null\n        \"magistral_production_note\" => null\n        \"iv_as_po\" => \"0\"\n        \"iv_as_enteral\" => \"0\"\n        \"iv_as_po_enteral_note\" => null\n        \"note\" => null\n        \"admin_note\" => null\n        \"has_active_substances\" => \"0\"\n        \"created_at\" => \"2015-02-23 12:17:29\"\n        \"updated_at\" => \"2015-02-23 12:17:29\"\n      ]\n      #original: array:19 [\n        \"_id\" => \"1\"\n        \"atc\" => \"A10BH05\"\n        \"title\" => \"Linagliptin\"\n        \"show_title_when_searching\" => \"0\"\n        \"displayname\" => null\n        \"show_displayname_when_searching\" => \"0\"\n        \"unlicensed\" => \"0\"\n        \"with_food\" => null\n        \"with_food_note\" => null\n        \"magistral_production\" => null\n        \"magistral_production_note\" => null\n        \"iv_as_po\" => \"0\"\n        \"iv_as_enteral\" => \"0\"\n        \"iv_as_po_enteral_note\" => null\n        \"note\" => null\n        \"admin_note\" => null\n        \"has_active_substances\" => \"0\"\n        \"created_at\" => \"2015-02-23 12:17:29\"\n        \"updated_at\" => \"2015-02-23 12:17:29\"\n      ]\n      #relations: array:1 [\n        \"dosages\" => MarkTopper\\SmartEloquent\\Eloquent\\Collection {#756\n          #items: array:1 [\n            0 => Dosage {#753\n              #fillable: array:30 [\n                0 => \"off_label\"\n                1 => \"regimen\"\n                2 => \"has_regimen\"\n                3 => \"default_regimen\"\n                4 => \"adult_dosage\"\n                5 => \"has_age\"\n                6 => \"age\"\n                7 => \"age_interval\"\n                8 => \"age_interval_from\"\n                9 => \"age_interval_to\"\n                10 => \"has_weight\"\n                11 => \"weight_from\"\n                12 => \"weight_to\"\n                13 => \"weight\"\n                14 => \"weight_interval\"\n                15 => \"weight_interval_from\"\n                16 => \"weight_interval_to\"\n                17 => \"has_surface_area\"\n                18 => \"surface_area_from\"\n                19 => \"surface_area_to\"\n                20 => \"surface_area\"\n                21 => \"surface_area_interval\"\n                22 => \"surface_area_interval_from\"\n                23 => \"surface_area_interval_to\"\n                24 => \"needs_escalation\"\n                25 => \"needs_de_escalation\"\n                26 => \"source\"\n                27 => \"references\"\n                28 => \"note\"\n                29 => \"drug_id\"\n              ]\n              #primaryKey: \"_id\"\n              #use_draft: true\n              #oldConnection: null\n              #config: []\n              #connectionForced: false\n              #overrideConnection: false\n              #connection: \"draft\"\n              #table: null\n              #perPage: 15\n              +incrementing: true\n              +timestamps: true\n              #attributes: array:51 [\n                \"_id\" => \"2\"\n                \"off_label\" => \"0\"\n                \"has_regimen\" => \"1\"\n                \"regimen\" => null\n                \"default_regimen\" => \"0\"\n                \"adult_dosage\" => \"0\"\n                \"has_age\" => \"1\"\n                \"age_from\" => null\n                \"age_to\" => null\n                \"age_interval\" => \"1\"\n                \"age\" => null\n                \"age_interval_from\" => null\n                \"age_interval_to\" => null\n                \"age_interval_unit_from\" => \"years\"\n                \"age_interval_unit_to\" => \"years\"\n                \"age_unit\" => \"years\"\n                \"age_interval_including_value\" => \"to_not_including\"\n                \"age_including_value\" => \"to_including\"\n                \"has_weight\" => \"0\"\n                \"weight_from\" => null\n                \"weight_to\" => null\n                \"weight_interval\" => \"1\"\n                \"weight\" => null\n                \"weight_interval_from\" => null\n                \"weight_interval_to\" => null\n                \"weight_interval_unit_from\" => \"kilogram\"\n                \"weight_interval_unit_to\" => \"kilogram\"\n                \"weight_unit\" => \"kilogram\"\n                \"weight_interval_including_value\" => \"to_not_including\"\n                \"weight_including_value\" => \"to_including\"\n                \"has_surface_area\" => \"0\"\n                \"surface_area_from\" => null\n                \"surface_area_to\" => null\n                \"surface_area_interval\" => \"1\"\n                \"surface_area\" => null\n                \"surface_area_interval_from\" => null\n                \"surface_area_interval_to\" => null\n                \"surface_area_interval_unit_from\" => \"m2\"\n                \"surface_area_interval_unit_to\" => \"m2\"\n                \"surface_area_unit\" => \"m2\"\n                \"surface_area_interval_including_value\" => \"to_not_including\"\n                \"surface_area_including_value\" => \"to_including\"\n                \"needs_escalation\" => \"0\"\n                \"needs_de_escalation\" => \"0\"\n                \"source\" => null\n                \"references\" => null\n                \"note\" => null\n                \"drug_id\" => \"1\"\n                \"route_of_adm_id\" => null\n                \"created_at\" => \"0000-00-00 00:00:00\"\n                \"updated_at\" => \"0000-00-00 00:00:00\"\n              ]\n              #original: array:51 [\n                \"_id\" => \"2\"\n                \"off_label\" => \"0\"\n                \"has_regimen\" => \"1\"\n                \"regimen\" => null\n                \"default_regimen\" => \"0\"\n                \"adult_dosage\" => \"0\"\n                \"has_age\" => \"1\"\n                \"age_from\" => null\n                \"age_to\" => null\n                \"age_interval\" => \"1\"\n                \"age\" => null\n                \"age_interval_from\" => null\n                \"age_interval_to\" => null\n                \"age_interval_unit_from\" => \"years\"\n                \"age_interval_unit_to\" => \"years\"\n                \"age_unit\" => \"years\"\n                \"age_interval_including_value\" => \"to_not_including\"\n                \"age_including_value\" => \"to_including\"\n                \"has_weight\" => \"0\"\n                \"weight_from\" => null\n                \"weight_to\" => null\n                \"weight_interval\" => \"1\"\n                \"weight\" => null\n                \"weight_interval_from\" => null\n                \"weight_interval_to\" => null\n                \"weight_interval_unit_from\" => \"kilogram\"\n                \"weight_interval_unit_to\" => \"kilogram\"\n                \"weight_unit\" => \"kilogram\"\n                \"weight_interval_including_value\" => \"to_not_including\"\n                \"weight_including_value\" => \"to_including\"\n                \"has_surface_area\" => \"0\"\n                \"surface_area_from\" => null\n                \"surface_area_to\" => null\n                \"surface_area_interval\" => \"1\"\n                \"surface_area\" => null\n                \"surface_area_interval_from\" => null\n                \"surface_area_interval_to\" => null\n                \"surface_area_interval_unit_from\" => \"m2\"\n                \"surface_area_interval_unit_to\" => \"m2\"\n                \"surface_area_unit\" => \"m2\"\n                \"surface_area_interval_including_value\" => \"to_not_including\"\n                \"surface_area_including_value\" => \"to_including\"\n                \"needs_escalation\" => \"0\"\n                \"needs_de_escalation\" => \"0\"\n                \"source\" => null\n                \"references\" => null\n                \"note\" => null\n                \"drug_id\" => \"1\"\n                \"route_of_adm_id\" => null\n                \"created_at\" => \"0000-00-00 00:00:00\"\n                \"updated_at\" => \"0000-00-00 00:00:00\"\n              ]\n              #relations: []\n              #hidden: []\n              #visible: []\n              #appends: []\n              #guarded: array:1 [\n                0 => \"*\"\n              ]\n              #dates: []\n              #touches: []\n              #observables: []\n              #with: []\n              #morphClass: null\n              +exists: true\n            }\n          ]\n        }\n      ]\n      #hidden: []\n      #visible: []\n      #appends: []\n      #guarded: array:1 [\n        0 => \"*\"\n      ]\n      #dates: []\n      #touches: []\n      #observables: []\n      #with: []\n      #morphClass: null\n      +exists: true\n    }\n    \"draft_object\" => Drug {#751\n      #table: \"drugs\"\n      #fillable: array:15 [\n        0 => \"title\"\n        1 => \"show_title_when_searching\"\n        2 => \"displayname\"\n        3 => \"show_displayname_when_searching\"\n        4 => \"atc\"\n        5 => \"unlicensed\"\n        6 => \"with_food\"\n        7 => \"with_food_note\"\n        8 => \"magistral_production\"\n        9 => \"magistral_production_note\"\n        10 => \"iv_as_po\"\n        11 => \"iv_as_enteral\"\n        12 => \"iv_as_po_enteral_note\"\n        13 => \"note\"\n        14 => \"admin_note\"\n      ]\n      #primaryKey: \"_id\"\n      #use_draft: true\n      #oldConnection: null\n      #config: []\n      #connectionForced: false\n      #overrideConnection: false\n      #connection: \"draft\"\n      #perPage: 15\n      +incrementing: true\n      +timestamps: true\n      #attributes: array:19 [\n        \"_id\" => 1\n        \"atc\" => \"A10BH05\"\n        \"title\" => \"Linagliptin\"\n        \"show_title_when_searching\" => 0\n        \"displayname\" => null\n        \"show_displayname_when_searching\" => 0\n        \"unlicensed\" => 0\n        \"with_food\" => null\n        \"with_food_note\" => null\n        \"magistral_production\" => null\n        \"magistral_production_note\" => null\n        \"iv_as_po\" => 0\n        \"iv_as_enteral\" => 0\n        \"iv_as_po_enteral_note\" => null\n        \"note\" => null\n        \"admin_note\" => null\n        \"has_active_substances\" => 1\n        \"created_at\" => \"2015-02-23 12:17:29\"\n        \"updated_at\" => \"2015-02-23 12:17:29\"\n      ]\n      #original: array:19 [\n        \"_id\" => 1\n        \"atc\" => \"A10BH05\"\n        \"title\" => \"Linagliptin\"\n        \"show_title_when_searching\" => 0\n        \"displayname\" => null\n        \"show_displayname_when_searching\" => 0\n        \"unlicensed\" => 0\n        \"with_food\" => null\n        \"with_food_note\" => null\n        \"magistral_production\" => null\n        \"magistral_production_note\" => null\n        \"iv_as_po\" => 0\n        \"iv_as_enteral\" => 0\n        \"iv_as_po_enteral_note\" => null\n        \"note\" => null\n        \"admin_note\" => null\n        \"has_active_substances\" => 1\n        \"created_at\" => \"2015-02-23 12:17:29\"\n        \"updated_at\" => \"2015-02-23 12:17:29\"\n      ]\n      #relations: array:1 [\n        \"dosages\" => MarkTopper\\SmartEloquent\\Eloquent\\Collection {#766\n          #items: array:1 [\n            0 => Dosage {#763\n              #fillable: array:30 [\n                0 => \"off_label\"\n                1 => \"regimen\"\n                2 => \"has_regimen\"\n                3 => \"default_regimen\"\n                4 => \"adult_dosage\"\n                5 => \"has_age\"\n                6 => \"age\"\n                7 => \"age_interval\"\n                8 => \"age_interval_from\"\n                9 => \"age_interval_to\"\n                10 => \"has_weight\"\n                11 => \"weight_from\"\n                12 => \"weight_to\"\n                13 => \"weight\"\n                14 => \"weight_interval\"\n                15 => \"weight_interval_from\"\n                16 => \"weight_interval_to\"\n                17 => \"has_surface_area\"\n                18 => \"surface_area_from\"\n                19 => \"surface_area_to\"\n                20 => \"surface_area\"\n                21 => \"surface_area_interval\"\n                22 => \"surface_area_interval_from\"\n                23 => \"surface_area_interval_to\"\n                24 => \"needs_escalation\"\n                25 => \"needs_de_escalation\"\n                26 => \"source\"\n                27 => \"references\"\n                28 => \"note\"\n                29 => \"drug_id\"\n              ]\n              #primaryKey: \"_id\"\n              #use_draft: true\n              #oldConnection: null\n              #config: []\n              #connectionForced: false\n              #overrideConnection: false\n              #connection: \"draft\"\n              #table: null\n              #perPage: 15\n              +incrementing: true\n              +timestamps: true\n              #attributes: array:51 [\n                \"_id\" => \"2\"\n                \"off_label\" => \"0\"\n                \"has_regimen\" => \"1\"\n                \"regimen\" => null\n                \"default_regimen\" => \"0\"\n                \"adult_dosage\" => \"0\"\n                \"has_age\" => \"1\"\n                \"age_from\" => null\n                \"age_to\" => null\n                \"age_interval\" => \"1\"\n                \"age\" => null\n                \"age_interval_from\" => null\n                \"age_interval_to\" => null\n                \"age_interval_unit_from\" => \"years\"\n                \"age_interval_unit_to\" => \"years\"\n                \"age_unit\" => \"years\"\n                \"age_interval_including_value\" => \"to_not_including\"\n                \"age_including_value\" => \"to_including\"\n                \"has_weight\" => \"0\"\n                \"weight_from\" => null\n                \"weight_to\" => null\n                \"weight_interval\" => \"1\"\n                \"weight\" => null\n                \"weight_interval_from\" => null\n                \"weight_interval_to\" => null\n                \"weight_interval_unit_from\" => \"kilogram\"\n                \"weight_interval_unit_to\" => \"kilogram\"\n                \"weight_unit\" => \"kilogram\"\n                \"weight_interval_including_value\" => \"to_not_including\"\n                \"weight_including_value\" => \"to_including\"\n                \"has_surface_area\" => \"0\"\n                \"surface_area_from\" => null\n                \"surface_area_to\" => null\n                \"surface_area_interval\" => \"1\"\n                \"surface_area\" => null\n                \"surface_area_interval_from\" => null\n                \"surface_area_interval_to\" => null\n                \"surface_area_interval_unit_from\" => \"m2\"\n                \"surface_area_interval_unit_to\" => \"m2\"\n                \"surface_area_unit\" => \"m2\"\n                \"surface_area_interval_including_value\" => \"to_not_including\"\n                \"surface_area_including_value\" => \"to_including\"\n                \"needs_escalation\" => \"0\"\n                \"needs_de_escalation\" => \"0\"\n                \"source\" => null\n                \"references\" => null\n                \"note\" => null\n                \"drug_id\" => \"1\"\n                \"route_of_adm_id\" => null\n                \"created_at\" => \"0000-00-00 00:00:00\"\n                \"updated_at\" => \"0000-00-00 00:00:00\"\n              ]\n              #original: array:51 [\n                \"_id\" => \"2\"\n                \"off_label\" => \"0\"\n                \"has_regimen\" => \"1\"\n                \"regimen\" => null\n                \"default_regimen\" => \"0\"\n                \"adult_dosage\" => \"0\"\n                \"has_age\" => \"1\"\n                \"age_from\" => null\n                \"age_to\" => null\n                \"age_interval\" => \"1\"\n                \"age\" => null\n                \"age_interval_from\" => null\n                \"age_interval_to\" => null\n                \"age_interval_unit_from\" => \"years\"\n                \"age_interval_unit_to\" => \"years\"\n                \"age_unit\" => \"years\"\n                \"age_interval_including_value\" => \"to_not_including\"\n                \"age_including_value\" => \"to_including\"\n                \"has_weight\" => \"0\"\n                \"weight_from\" => null\n                \"weight_to\" => null\n                \"weight_interval\" => \"1\"\n                \"weight\" => null\n                \"weight_interval_from\" => null\n                \"weight_interval_to\" => null\n                \"weight_interval_unit_from\" => \"kilogram\"\n                \"weight_interval_unit_to\" => \"kilogram\"\n                \"weight_unit\" => \"kilogram\"\n                \"weight_interval_including_value\" => \"to_not_including\"\n                \"weight_including_value\" => \"to_including\"\n                \"has_surface_area\" => \"0\"\n                \"surface_area_from\" => null\n                \"surface_area_to\" => null\n                \"surface_area_interval\" => \"1\"\n                \"surface_area\" => null\n                \"surface_area_interval_from\" => null\n                \"surface_area_interval_to\" => null\n                \"surface_area_interval_unit_from\" => \"m2\"\n                \"surface_area_interval_unit_to\" => \"m2\"\n                \"surface_area_unit\" => \"m2\"\n                \"surface_area_interval_including_value\" => \"to_not_including\"\n                \"surface_area_including_value\" => \"to_including\"\n                \"needs_escalation\" => \"0\"\n                \"needs_de_escalation\" => \"0\"\n                \"source\" => null\n                \"references\" => null\n                \"note\" => null\n                \"drug_id\" => \"1\"\n                \"route_of_adm_id\" => null\n                \"created_at\" => \"0000-00-00 00:00:00\"\n                \"updated_at\" => \"0000-00-00 00:00:00\"\n              ]\n              #relations: []\n              #hidden: []\n              #visible: []\n              #appends: []\n              #guarded: array:1 [\n                0 => \"*\"\n              ]\n              #dates: []\n              #touches: []\n              #observables: []\n              #with: []\n              #morphClass: null\n              +exists: true\n            }\n          ]\n        }\n      ]\n      #hidden: []\n      #visible: []\n      #appends: []\n      #guarded: array:1 [\n        0 => \"*\"\n      ]\n      #dates: []\n      #touches: []\n      #observables: []\n      #with: []\n      #morphClass: null\n      +exists: true\n    }\n  ]\n]","is_string":false,"label":"info","time":1426072045.351121}]},"time":{"start":1426072045.145527,"end":1426072045.360642,"duration":0.2151150703430176,"duration_str":"215.12ms","measures":[{"label":"Booting","start":1426072045.145527,"relative_start":0,"end":1426072045.278481,"relative_end":1426072045.278481,"duration":0.1329541206359863,"duration_str":"132.95ms","params":[],"collector":null},{"label":"Application","start":1426072045.281319,"relative_start":0.1357920169830322,"end":1426072045.353815,"relative_end":1426072045.353815,"duration":0.07249617576599121,"duration_str":"72.5ms","params":[],"collector":null},{"label":"After application","start":1426072045.353845,"relative_start":0.2083179950714111,"end":1426072045.360647,"relative_end":5.006790161132812e-6,"duration":0.006802082061767578,"duration_str":"6.8ms","params":[],"collector":null}]},"memory":{"peak_usage":6815744,"peak_usage_str":"6.5MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"nb_templates":1,"templates":[{"name":"hello (app\/views\/hello.php)","param_count":0,"params":[],"type":"php"}]},"route":{"uri":"GET api\/frontend\/v1\/result","uses":"Closure {#650\n  reflection: \"\"\"\n    Closure [ <user> function {closure} ] {\n      @@ \/home\/vagrant\/web\/bornemedicin_v2_web\/app\/routes.php 138 - 348\n    }\n    \"\"\"\n}","namespace":null,"prefix":"api\/frontend\/v1","where":[],"file":"app\/routes.php:138-348"},"queries":{"nb_statements":1,"nb_failed_statements":0,"accumulated_duration":0.00028,"accumulated_duration_str":"280\u03bcs","statements":[{"sql":"select * from `drugs` where `_id` = '1' limit 1","params":{"0":"1","hints":"Use <code>SELECT *<\/code> only if you need all columns from table<br \/><code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"},"duration":0.00028,"duration_str":"280\u03bcs","stmt_id":null}]},"swiftmailer_mails":{"count":0,"mails":[]},"request":{"format":"html","content_type":"text\/html; charset=UTF-8","status_text":"OK","status_code":"200","request_query":"array:3 [\n  \"atc\" => \"A01AB09\"\n  \"indication_id\" => \"53\"\n  \"patient\" => array:2 [\n    \"age\" => \"3\"\n    \"weight\" => \"2\"\n  ]\n]","request_request":"[]","request_headers":"array:11 [\n  \"content-type\" => array:1 [\n    0 => \"\"\n  ]\n  \"content-length\" => array:1 [\n    0 => \"\"\n  ]\n  \"host\" => array:1 [\n    0 => \"bmv2.mark.novasa.io:8000\"\n  ]\n  \"connection\" => array:1 [\n    0 => \"keep-alive\"\n  ]\n  \"pragma\" => array:1 [\n    0 => \"no-cache\"\n  ]\n  \"cache-control\" => array:1 [\n    0 => \"no-cache\"\n  ]\n  \"accept\" => array:1 [\n    0 => \"text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/webp,*\/*;q=0.8\"\n  ]\n  \"user-agent\" => array:1 [\n    0 => \"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/40.0.2214.115 Safari\/537.36\"\n  ]\n  \"accept-encoding\" => array:1 [\n    0 => \"gzip, deflate, sdch\"\n  ]\n  \"accept-language\" => array:1 [\n    0 => \"en-US,en;q=0.8,da;q=0.6\"\n  ]\n  \"cookie\" => array:1 [\n    0 => \"_ga=GA1.2.532253992.1416323420; laravel_session=eyJpdiI6ImlMZHpyMHJhVjhLdlF0cWhxY3Q3UFE9PSIsInZhbHVlIjoidEg1Smg1Zzc1cXZ3MHdZMUhXOTdQaUR3em9qdnZaeGFsOW5hUFdhQXJVVllKckFaRmFlOUNkZStPQkh3ZWFtTSt1MmhNaWthXC8xWEZPa1wvNzVLQkRndz09IiwibWFjIjoiYjBlY2Q4YmUxNWQ2Yzk4MDM5MDJmN2EyZjEzMGZmMjM4ZTcwMDQwYzQwN2Q1MjkyZDY0YmRjMjI5ZDcwMWM0MyJ9\"\n  ]\n]","request_server":"array:34 [\n  \"APP_ENV\" => \"local\"\n  \"USER\" => \"vagrant\"\n  \"HOME\" => \"\/home\/vagrant\"\n  \"FCGI_ROLE\" => \"RESPONDER\"\n  \"QUERY_STRING\" => \"atc=A01AB09&indication_id=53&patient[age]=3&patient[weight]=2\"\n  \"REQUEST_METHOD\" => \"GET\"\n  \"CONTENT_TYPE\" => \"\"\n  \"CONTENT_LENGTH\" => \"\"\n  \"SCRIPT_FILENAME\" => \"\/home\/vagrant\/web\/bornemedicin_v2_web\/public\/index.php\"\n  \"SCRIPT_NAME\" => \"\/index.php\"\n  \"REQUEST_URI\" => \"\/api\/frontend\/v1\/result?atc=A01AB09&indication_id=53&patient[age]=3&patient[weight]=2\"\n  \"DOCUMENT_URI\" => \"\/index.php\"\n  \"DOCUMENT_ROOT\" => \"\/home\/vagrant\/web\/bornemedicin_v2_web\/public\"\n  \"SERVER_PROTOCOL\" => \"HTTP\/1.1\"\n  \"GATEWAY_INTERFACE\" => \"CGI\/1.1\"\n  \"SERVER_SOFTWARE\" => \"nginx\/1.6.0\"\n  \"REMOTE_ADDR\" => \"10.0.2.201\"\n  \"REMOTE_PORT\" => \"63586\"\n  \"SERVER_ADDR\" => \"192.168.174.128\"\n  \"SERVER_PORT\" => \"80\"\n  \"SERVER_NAME\" => \"bmv2.mark.novasa.io\"\n  \"REDIRECT_STATUS\" => \"200\"\n  \"HTTP_HOST\" => \"bmv2.mark.novasa.io:8000\"\n  \"HTTP_CONNECTION\" => \"keep-alive\"\n  \"HTTP_PRAGMA\" => \"no-cache\"\n  \"HTTP_CACHE_CONTROL\" => \"no-cache\"\n  \"HTTP_ACCEPT\" => \"text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/webp,*\/*;q=0.8\"\n  \"HTTP_USER_AGENT\" => \"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/40.0.2214.115 Safari\/537.36\"\n  \"HTTP_ACCEPT_ENCODING\" => \"gzip, deflate, sdch\"\n  \"HTTP_ACCEPT_LANGUAGE\" => \"en-US,en;q=0.8,da;q=0.6\"\n  \"HTTP_COOKIE\" => \"_ga=GA1.2.532253992.1416323420; laravel_session=eyJpdiI6ImlMZHpyMHJhVjhLdlF0cWhxY3Q3UFE9PSIsInZhbHVlIjoidEg1Smg1Zzc1cXZ3MHdZMUhXOTdQaUR3em9qdnZaeGFsOW5hUFdhQXJVVllKckFaRmFlOUNkZStPQkh3ZWFtTSt1MmhNaWthXC8xWEZPa1wvNzVLQkRndz09IiwibWFjIjoiYjBlY2Q4YmUxNWQ2Yzk4MDM5MDJmN2EyZjEzMGZmMjM4ZTcwMDQwYzQwN2Q1MjkyZDY0YmRjMjI5ZDcwMWM0MyJ9\"\n  \"PHP_SELF\" => \"\/index.php\"\n  \"REQUEST_TIME_FLOAT\" => 1426072045.143129\n  \"REQUEST_TIME\" => 1426072045\n]","request_cookies":"array:2 [\n  \"_ga\" => null\n  \"laravel_session\" => \"91cdd7ac8500e1b988320e73e0e6349ea984064f\"\n]","response_headers":"array:3 [\n  \"cache-control\" => array:1 [\n    0 => \"no-cache\"\n  ]\n  \"date\" => array:1 [\n    0 => \"Wed, 11 Mar 2015 11:07:25 GMT\"\n  ]\n  \"content-type\" => array:1 [\n    0 => \"text\/html; charset=UTF-8\"\n  ]\n]","path_info":"\/api\/frontend\/v1\/result","session_attributes":"array:3 [\n  \"_token\" => \"6MwkGDcJ9Hsft825HnYiwtE9J21hzo2o1HhfoR4d\"\n  \"flash\" => array:2 [\n    \"old\" => []\n    \"new\" => []\n  ]\n  \"PHPDEBUGBAR_STACK_DATA\" => []\n]"}}, "a9fe0da2dab3d4da42328f3a0d383078");

</script>

EDIT: I get this in the console log:

javascript?1426069468:3 -> Uncaught TypeError: Cannot read property 'style' of undefined

EDIT: I have CHMOD'ed the app/storage/ -R to be 777. So it is writeable.

Most helpful comment

I realized that debug bar doesn't work when you don't return view from controller.

Example:

Debug bar works (when view returns):

class AdminController extends BaseController
{
    public function import()
    {
        return view('main');
    }
}

Debug bar doesn't work (when view doesn't return):

class AdminController extends BaseController
{
    public function import()
    {
    }
}

All 7 comments

Did you fix this?

It seemed that it worked, but only on other pages. Could not really figure out why it didn't worked on that page. But I don't need it for that page. So my problem is solved. Might still be a bug or something, not sure.

Just had the same error - happened when I added a resource route, cleared as soon as I removed:

Route::resource('campaigns', 'CampaignsController');

Is there any solution reached?

i don't have any resource type route params and my chmod settings are correct

I also have this issue when I try to forward from one Controller method to another Controller method:

return redirect()->action('App\Http\Controllers\OtherController@postNextStep', ['prop1' => $prop1, 'prop2' => $prop]);

I realized that debug bar doesn't work when you don't return view from controller.

Example:

Debug bar works (when view returns):

class AdminController extends BaseController
{
    public function import()
    {
        return view('main');
    }
}

Debug bar doesn't work (when view doesn't return):

class AdminController extends BaseController
{
    public function import()
    {
    }
}

I had the same issue tried some of your fixes but did not work for me.

Was this page helpful?
0 / 5 - 0 ratings