SimpleDesk

SimpleDesk! => SimpleDesk Tracker => Topic started by: tfs on September 01, 2011, 08:32:54 PM

Title: r537: Undefined index: label
Post by: tfs on September 01, 2011, 08:32:54 PM
Error has been popping up a few times today in the error log.  We're finally live today after 18 months of work.  I wish I could have done it before Gruffen left.  :(

https://www.x.com/index.php?action=admin;area=helpdesk_options;f7c4e27=a943979a1aaddcbdbaa5e73c1bfc7586
8: Undefined index: label
File: /x/Themes/default/languages/Help.english.php (generic_menu_dropdown_above sub template - eval?)
Line: 327
Title: Re: r537: Undefined index: label
Post by: Spoogs on September 01, 2011, 11:55:15 PM
Disable template evaulation if it is enabled... clear the error log and see if the error returns... I'm not having this error at all.
Admin/Configuration/Server Settings/General... make sure the option to disable template evaluation is checked
Title: Re: r537: Undefined index: label
Post by: tfs on September 04, 2011, 01:17:34 PM
I ended up completely reinstalling (for other reasons) and imported the SQL database back in, after switching to a different SQL server also, and this is no longer happening.
Title: Re: r537: Undefined index: label
Post by: tfs on September 06, 2011, 03:34:58 AM
A bunch of these were back again today.  I disabled template evaluation and will wait to see if it happens again.
Title: Re: r537: Undefined index: label
Post by: Labradoodle-360 on November 29, 2011, 04:48:33 PM
Are you encountering these in the latest Github dev rev?
Title: Re: r537: Undefined index: label
Post by: tfs on November 29, 2011, 07:06:22 PM
You're going to have to define "latest" as I'm thinking that I can't see whatever is the latest.  Ever since we lost sequential version numbers I've been loathe to get involved because nobody knows what version is what.
Title: Re: r537: Undefined index: label
Post by: SleePy on November 29, 2015, 07:11:39 PM
I can't reproduce this, if you can open a new ticket.
Title: Re: [Wont Fix] r537: Undefined index: label
Post by: tfs on November 29, 2015, 09:46:23 PM
Funny that I haven't gotten this for a very long time... perhaps years, and then suddenly I got a rash of them two days ago. Presumably because I haven't been digging around the admin area for a long time because there's been no need. But in my log I now see this...

https://www.domain.tld/helpdesk/index.php?action=admin;area=helpdesk_options;sa=tally;aab84b5=7288af14de9e17f5779eb1757eb145e9
8: Undefined index: label
File: /xxx/helpdesk/Themes/default/GenericMenu.template.php
Line: 327

There was a whole list of them, as I perused the admin area... all on line 327 of GenericMenu.template.php

sa=display
sa=posting
sa=admin
sa=standalone
sa=actionlog
sa=notifications
sa=tally

<a class="firstlevel" href="', isset($tab['url']) ? $tab['url'] : $menu_context['base_url'] . ';area=' . $menu_context['current_area'] . ';sa=' . $sa, $menu_context['extra_parameters'], isset($tab['add_params']) ? $tab['add_params'] : '', '"><span class="firstlevel">', $tab['label'], '</span></a>
Title: Re: r537: Undefined index: label
Post by: SleePy on November 29, 2015, 11:39:27 PM
Ok, tracked and will investigate
Title: Re: r537: Undefined index: label
Post by: SleePy on December 11, 2015, 01:17:24 AM
I still can't replicate this.  Are you running the latest 2.1 from git or the beta?
Title: Re: r537: Undefined index: label
Post by: wintstar on December 11, 2015, 02:41:03 AM
   I can not confirm the bug from @tfs. In the error log  has this bug not reported with the latest version from SMF 2.1 *.