<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{mso-style-name:msochpdefault;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
span.emailstyle17
{mso-style-name:emailstyle17;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>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. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>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.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>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. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>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?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thanks!<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>RonM2<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>BTW: almost done with a parts/modules html menu for XOT2, will wait for John’s page events to deal with dbase communications.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>From EDIT.PHP:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> }else{ <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> /*<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> * Wiki mode - check to see if template allows anonymous editing.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> */<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> $string_for_flash_xml = $xerte_toolkits_site->users_file_area_short . $row_edit['template_id'] . "-" . $row_username['username'] . "-" . $row_edit['template_name'] . "/data.xml";<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> $buffer = file_get_contents($string_for_flash_xml);<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> if(strpos($buffer,"<span style='background:fuchsia;mso-highlight:fuchsia'>editable=true</span>")==false){<br> <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>echo "<h3><span style='background:yellow;mso-highlight:yellow'>ERROR: Insufficient Editing Privileges</span></h3>\n";<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> /*<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> * Wiki mode not set <span style='background:yellow;mso-highlight:yellow'>???????? WHAT DOES THIS MEAN ??????</span><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> */ <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> <br> }else{<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> /*<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> * Wiki mode set<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> */ <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> <o:p></o:p></span></p></div></body></html>