Page 1 of 1

Urgent help.. Unable to Expand subpages

Posted: Wed Feb 13, 2008 11:11 am
by saitanay
unable to expand subpages in pages admin

getting this error in a new window in browser

Code: Select all

<neha.byethost13.com>

Error: the XML response that was returned from the server is invalid.
Received:
  <?xml version="1.0" encoding="utf-8" ?><xjx><cmd n="as" t="contentlist" p="innerHTML"><![CDATA[<div class="pageoverflow"><p class="pageoptions"><a href="addcontent.php" class="pageoptions"><img src="themes/default/images/icons/system/newobject.gif" class="systemicon" alt="Add New Content" title="Add New Content" /></a> <a class="pageoptions" href="addcontent.php">Add New Content</a>   <a href="listcontent.php?error=jsdisabled" class="pageoptions" onclick="xajax_reorder_display_list();return false;"><img src="themes/default/images/icons/system/reorder.gif" class="systemicon" alt="Reorder Pages" title="Reorder Pages" /></a> <a href="listcontent.php?error=jsdisabled" class="pageoptions" onclick="xajax_reorder_display_list();return false;">Reorder Pages</a></p></div><form action="multicontent.php" method="post"><table cellspacing="0" class="pagetable">
<thead><tr>
<th> </th><th> </th><th class="pagew25">Page</th>
<th>Template</th>
<th>Type</th>
<th>Owner</th>
<th class="pagepos">Active</th>
<th class="pagepos">Default</th>
<th class="move">Move</th>
<th class="pagepos invisible">Order</th>
<th class="pageicon"> </th>
<th class="pageicon"> </th>
<th class="pageicon"> </th>
<th class="checkbox"> </th>
</tr>
</thead><tbody><tr id="tr_15" class="row1" onmouseover="this.className='row1hover';" onmouseout="this.className='row1';">
<td></td><td>1</td>
<td><a href="editcontent.php?content_id=15&page=" title="Movies & Theatres (home)">Movies & Theatres</a></td>
<td><a href="edittemplate.php?template_id=18&from=content">Top simple navigation + left subnavigation + 1 column</a></td>
<td>Content</td>
<td>admin</td>
<td class="pagepos"><img src="themes/default/images/icons/system/true.gif" class="systemicon" alt="True" title="True" /></td>
<td class="pagepos"><img src="themes/default/images/icons/system/true.gif" class="systemicon" alt="True" title="True" /></td>
<td class="move"><a onclick="xajax_content_move(15, -1, 'down'); return false;" href="listcontent.php?direction=down&content_id=15&parent_id=-1&page="><img src="themes/default/images/icons/system/arrow-d.gif" class="systemicon" alt="Down" title="Down" /></a></td><td class="invisible" style="text-align: center;"><input type="text" name="order-15" value="1" class="order" /> </td>
<td class="pagepos"><a href="http://neha.byethost13.com/" rel="external"><img src="themes/default/images/icons/system/view.gif" class="systemicon" alt="View" title="View" /></a></td>
<td class="pagepos"><a href="editcontent.php?content_id=15"><img src="themes/default/

Re: Urgent help.. Unable to Expand subpages

Posted: Wed Feb 13, 2008 11:14 am
by saitanay
i mean i am not able to exxpand the section to view list of subpages..

Re: Urgent help.. Unable to Expand subpages

Posted: Wed Feb 13, 2008 3:59 pm
by nivekiam
You don't really give much information to go on.

Is this a new install?

Did this work before?

What version of CMSms?

Have you installed any new modules?

Have you made any changes to CMSms?

Have you verified you meet all the requirements of CMSms?

Re: Urgent help.. Unable to Expand subpages

Posted: Thu Feb 14, 2008 8:04 am
by sarah_h
Yes, I get this too. But only after I upgraded cmsms 1.2.3 to cmsms 1.2.3 MLE. But what I found was that:

1. I only get the error in IE7 FF2 is ok
2. if I click back after the error then go back to pages the section will be expanded and the same for others like contract section etc.

That's all I know sorry! I never found out why. One thing that Alby mentioned was that make sure none of you're page aliases contain the ' (single quote)

I can see where he's coming from there but sadly, my page aliases were ok, no ' or " or anything suspisious!

Re: Urgent help.. Unable to Expand subpages

Posted: Thu Feb 14, 2008 9:24 am
by alby
sarah_h wrote: Yes, I get this too. But only after I upgraded cmsms 1.2.3 to cmsms 1.2.3 MLE. But what I found was that:
I don't think that has saitanay MLE because missing parameter hl=

However, I see that there is a problem of escape in javascript because if I add (') in title page:
Templates and stylesheets => Templates' and stylesheets

I have this code not escaped:

....
Alby

Re: Urgent help.. Unable to Expand subpages

Posted: Thu Feb 14, 2008 9:50 am
by alby
alby wrote: However, I see that there is a problem of escape in javascript because if I add (') in title page:
CMSMS 1.2.3, admin/listcontent.php:

row #711:
$thelist .= "".($one->DefaultContent()?$image_true:"Id()."" onclick="if(confirm('".lang("confirmdefault", cms_htmlentities($one->mName))."')) xajax_content_setdefault(".$one->Id().");return false;">".$image_set_true."")."\n";
row #782:
                    $thelist .= "Id()."" onclick="if (confirm('".lang('deleteconfirm', cms_htmlentities($one->mName))."')) xajax_content_delete(".$one->Id()."); return false;">";
Alby

Re: Urgent help.. Unable to Expand subpages

Posted: Thu Feb 21, 2008 6:18 pm
by Astrid
I get the same problem (in CMSM 1.2.3)

It occured when I tried to learn how to create a new module using the example from http://wiki.cmsmadesimple.org/index.php ... e_Tutorial
and then tried to expand it to have an Admin Panel.

When I follow the text and install the module with these functions added to the Catlist.module.php file:
1)

Code: Select all

function HasAdmin() {return true;}	
function GetAdminDescription() {return 'admindescription';}
there is no problem.

But when I add the functions like this:
2)

Code: Select all

function HasAdmin() {return true;}
function GetAdminDescription() {return $this->Lang('admindescription');}

and put in my language file

Code: Select all

$lang['admindescription'] = 'admindescription';
then I get the error when expanding subpages in pages admin.

In the second case there is a space before the doctype in the HTML generated by .../admin/listcontent.php. The rest of the files is the same.

I hope somebody understands what goes wrong here.

Re: Urgent help.. Unable to Expand subpages

Posted: Wed Feb 27, 2008 2:14 am
by JeremyBASS
Has any body figured this out yet?... i get the same issue...
blaa blaa... and for the life of me can't find the problem.... would just replacing the file with the same file from a freshly downloaded package work?... hell i'll just try...


****Update... that didn't work... i've looked up and down and people are having the basicly samething happen... XML problem... or whitespace... or i don't know ...  :-\ hopfuly someone gets it soon... lol

Re: Urgent help.. Unable to Expand subpages

Posted: Wed Feb 27, 2008 4:44 pm
by saitanay
come on developers.. u gotta watch out.. there is a new competition for CMSMS. its called MODX. its also simple like CMSMS. But I love CMSMS and would like that it stays on top. (ofcourse not considering the heavy CMSes)

CMSMS should develop more modules and provide updates for old ones more regularly..

and someone please figure out the XML response problem

Re: Urgent help.. Unable to Expand subpages

Posted: Wed Feb 27, 2008 4:50 pm
by calguy1000
if somebody could come up with a consistent way of reproducing the issue, we could look into it.

Re: Urgent help.. Unable to Expand subpages

Posted: Wed Feb 27, 2008 4:58 pm
by nivekiam
How To Submit a Question So You'll Actually Get Help

Again
You don't really give much information to go on.

Is this a new install?

Did this work before?

What version of CMSms?

Have you installed any new modules?

Have you made any changes to CMSms?

Have you verified you meet all the requirements of CMSms?
Same goes for everyone else following in with the "me too".  I'm not sure where Astrid is coming from, looks like he's customizing something and then getting this problem.

JeremyBASS, like you, provides no information to go on.

Check your HTTP error logs and provide a link to phpinfo if you need further help.

To expand on calguy1000's statement, if it can't be reproduced it's hard to get fixed.  If you don't provide information it's very difficult to troubleshoot.

Re: Urgent help.. Unable to Expand subpages

Posted: Wed Feb 27, 2008 5:11 pm
by JeremyBASS
Hello Calgay.... I am getting the error on the reg... one thing I was reading was the AJAX was out of date?   Have not fully looked into all that but wouldn't that may-be stem the issue?  just some thoughts... :)

nivekiam ...
Sorry I was commenting not complaining as this is on the back burner for me at the moment....
So new install? No un and runner for over a mouth...
Version?1.2.3
what installed? http://forum.cmsmadesimple.org/index.php/topic,19791.msg97248.html#msg97248 on the 24 of the month
Changes? nothing to the installed code minus what has been outlined here on the 24 of the month including updates
is it set up right? yes... it was working up until the last round of installs outlined in the link above....

Hope thats a little more help...  If you need more and I can help, I'd be happy to. Laters


*** though a pic may say more****

Re: Urgent help.. Unable to Expand subpages

Posted: Wed Feb 27, 2008 9:43 pm
by saitanay
i can give my site address and admin password if you want.. provided you wont screw my site trying to fix the error