5 Feb 13:58
[ videodb-Bugs-3484626 ] Notice: Undefined variable: permissions in functions.php
<SourceForge.net>
2012-02-05 12:58:33 GMT
2012-02-05 12:58:33 GMT
Bugs item #3484626, was opened at 2012-02-05 04:58 Message generated for change (Tracker Item Submitted) made by johnguy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=586362&aid=3484626&group_id=88349 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: John Guy (johnguy) Assigned to: Nobody/Anonymous (nobody) Summary: Notice: Undefined variable: permissions in functions.php Initial Comment: Hi I was making some changes to my local copy of your site (version 3.1.0) and I turned on error reporting, I got an unexpected messages from the functions.php file... Notice: Undefined variable: permissions in C:\xampp\htdocs\froggit.local\core\functions.php on line 737 I have checked the code and it appears to be the line... $permissions |= $_SESSION['vdb']['permissions']['all']; I understand that this line is checking that the permissions are either correct for the user or set as 'all'. however I can not find any other reference in the sites code to a variable called $permissions so how is this variable being populated? Is it safe to comment out the references to $permissions in the functions.php file to stop the warnings or am I missing something? Thanks for your help I am new to php coding and want to understand how this works, :0) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=586362&aid=3484626&group_id=88349 ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2
RSS Feed