[Xerte] Re: ERROR: insufficient editing privileges

Pat L (pgogy) xerte at pgogywebstuff.com
Wed Dec 11 22:40:34 GMT 2013


sometimes it just happens when sessions die
logging out and back in refreshes a session


On Wed, Dec 11, 2013 at 10:22 PM, KnowledgeWare
<knowledgeware at kccsoft.com>wrote:

> I’m still on XOT 1.8 (trying to move to 2) and running into intermittent
> ‘ERROR: Insufficient Editing Priviliges’ issues when trying to edit a LO.
>
>
>
> This error message is in ‘EDIT.PHP’ and the trigger is on Line 234 as
> below in pink/yellow. It appears that the LO I’m trying to edit does not
> have ‘Editable=True’ set, however this problem is intermittent and only
> appears occaisonally.
>
>
>
> For instance, this morning I logged in as per usual and got the error
> (windows did multiple updates last night, not sure if that had any effect).
> Then I logged in as another user and it went away, when I logged in as the
> original user it was OK and the error did not appear.
>
>
>
> I’m not good with PHP, can anyone tell me in plain language what this
> error is telling me, and when it happens how I might be able to overcome it?
>
>
>
> Thanks!
>
> RonM2
>
> BTW: almost done with a parts/modules html menu for XOT2, will wait for
> John’s page events to deal with dbase communications.
>
>
>
> From EDIT.PHP:
>
>
>
>                                 }else{
>
>                                                 /*
>
>                                                 * Wiki mode - check to see
> if template allows anonymous editing.
>
>                                                 */
>
>
>
>                                                 $string_for_flash_xml =
> $xerte_toolkits_site->users_file_area_short . $row_edit['template_id'] .
> "-" . $row_username['username'] . "-" . $row_edit['template_name'] .
> "/data.xml";
>
>
>
>                                                 $buffer =
> file_get_contents($string_for_flash_xml);
>
>
>
>                                                 if(strpos($buffer,"
> editable=true")==false){
>
>
> echo "<h3>ERROR: Insufficient Editing Privileges</h3>\n";
>
>
>
>
>                                                                 /*
>
>                                                                 * Wiki
> mode not set        ????????  WHAT DOES THIS MEAN  ??????
>
>
> */
>
>
>                                                 }else{
>
>                                                                 /*
>
>                                                                 * Wiki
> mode set
>
>
> */
>
>
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20131211/2ccd9f52/attachment.html>


More information about the Xerte mailing list