Reorder page gives xml error
Posted: Thu Nov 06, 2008 10:20 am
I have 3 sites updated to 1.4.1, all hosted on the same server...
2 of them have problems when rearranging pages (the drag-drop ajax thing)
with one of these last 2, it's tricky > I can rearrange without problems, client can't
with one of these last 2, it's "complete" > nor I nor my client can rearrange.
Starting with the last one:
I tried (after going through the forum, but none worked)
• reuploading admin folder
• deleting *.nls.php language files in admin (http://forum.cmsmadesimple.org/index.ph ... 324.0.html)
• reuploading lib folder (ajax)
• reuploading listcontent.php
• reinstall leaving the db untouched during install (http://forum.cmsmadesimple.org/index.ph ... #msg120871)
• checksum gives md5sum check warnings for mostly lang files
this error comes up: (cut it shorter)
2 of them have problems when rearranging pages (the drag-drop ajax thing)
with one of these last 2, it's tricky > I can rearrange without problems, client can't
with one of these last 2, it's "complete" > nor I nor my client can rearrange.
Starting with the last one:
I tried (after going through the forum, but none worked)
• reuploading admin folder
• deleting *.nls.php language files in admin (http://forum.cmsmadesimple.org/index.ph ... 324.0.html)
• reuploading lib folder (ajax)
• reuploading listcontent.php
• reinstall leaving the db untouched during install (http://forum.cmsmadesimple.org/index.ph ... #msg120871)
• checksum gives md5sum check warnings for mostly lang files
this error comes up: (cut it shorter)
Code: Select all
The page at http://www.gelepeper.nl says:Error: the XML response that was returned from the server is invalid.
Received:
<br />
<b>Notice</b>: Trying to get property of non-object in <b>/home/xxx/public_html/admin/listcontent.php</b> on line <b>417</b><br />
<br />
<b>Notice</b>: Trying to get property of non-object in <b>/home/xxx/public_html/admin/listcontent.php</b> on line <b>418</b><br />
<br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/admin/listcontent.php:417) in <b>/home/xxx/public_html/lib/xajax/xajax.inc.php</b> on line <b>678</b><br />
<?xml version="1.0" encoding="utf-8" ?><xjx><cmd n="as" t="contentlist" p="innerHTML"><![CDATA[ <form action="/admin/listcontent.php" method="POST" onsubmit="document.getElementById('parent0ListOrder').value = Sortable.serialize('parent0');document.getElementById('parent73ListOrder').value = Sortable.serialize('parent73');document.getElementById('parent94ListOrder').value = Sortable.serialize('parent94');document.getElementById('parent91ListOrder').value = Sortable.serialize('parent91');document.getElementById('parent34ListOrder').value = Sortable.serialize('parent34');document.getElementById('parent59ListOrder').value = Sortable.serialize('parent59');document.getElementById('parent63ListOrder').value = Sortable.serialize('parent63');document.getElementById('parent52ListOrder').value = Sortable.serialize('parent52');document.getElementById('parentListOrder').value = Sortable.serialize('parent');document.getElementById('parent101ListOrder').value = Sortable.serialize('parent101');xajax_reorder_process(xajax.getFormValues('sortableListForm'));return false;" name="sortableListForm" id="sortableListForm">
<input type="submit" value="Submit" class="button" />
<input type="button" value="Cancel" class="button" onclick="xajax_content_list_ajax(); return false;" />
<ul id="parent0" class="sortableList">
......My menuand so on......
</ul> <input type="hidden" name="parent0ListOrder" id="parent0ListOrder" size="60">
<input type="hidden" name="parent73ListOrder" id="parent73ListOrder" size="60">
<input type="hidden" name="parent94ListOrder" id="parent94ListOrder" size="60">
<input type="hidden" name="parent91ListOrder" id="parent91ListOrder" size="60">
<input type="hidden" name="parent34ListOrder" id="parent34ListOrder" size="60">
<input type="hidden" name="parent59ListOrder" id="parent59ListOrder" size="60">
<input type="hidden" name="parent63ListOrder" id="parent63ListOrder" size="60">
<input type="hidden" name="parent52ListOrder" id="parent52ListOrder" size="60">
<input type="hidden" name="parentListOrder" id="parentListOrder" size="60">
<input type="hidden" name="parent101ListOrder" id="parent101ListOrder" size="60">
<input type="hidden" name="sortableListsSubmitted" value="true" />
<input type="submit" value="Submit" class="button" />
<input type="button" value="Cancel" class="button" onclick="xajax_content_list_ajax(); return false;" />
</form>
]]></cmd><cmd n="js"><![CDATA[ Sortable.create('parent0',{tag:'li'});
Sortable.create('parent73',{tag:'li'});
Sortable.create('parent94',{tag:'li'});
Sortable.create('parent91',{tag:'li'});
Sortable.create('parent34',{tag:'li'});
Sortable.create('parent59',{tag:'li'});
Sortable.create('parent63',{tag:'li'});
Sortable.create('parent52',{tag:'li'});
Sortable.create('parent',{tag:'li'});
Sortable.create('parent101',{tag:'li'});
]]></cmd></xjx>