Urgent help.. Unable to Expand subpages

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
saitanay
Forum Members
Forum Members
Posts: 44
Joined: Sat Jan 12, 2008 4:56 am

Urgent help.. Unable to Expand subpages

Post 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/
saitanay
Forum Members
Forum Members
Posts: 44
Joined: Sat Jan 12, 2008 4:56 am

Re: Urgent help.. Unable to Expand subpages

Post by saitanay »

i mean i am not able to exxpand the section to view list of subpages..
nivekiam

Re: Urgent help.. Unable to Expand subpages

Post 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?
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

Re: Urgent help.. Unable to Expand subpages

Post 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!
alby

Re: Urgent help.. Unable to Expand subpages

Post 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
alby

Re: Urgent help.. Unable to Expand subpages

Post 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
Astrid

Re: Urgent help.. Unable to Expand subpages

Post 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.
JeremyBASS

Re: Urgent help.. Unable to Expand subpages

Post 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
Last edited by JeremyBASS on Wed Feb 27, 2008 2:27 am, edited 1 time in total.
saitanay
Forum Members
Forum Members
Posts: 44
Joined: Sat Jan 12, 2008 4:56 am

Re: Urgent help.. Unable to Expand subpages

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Urgent help.. Unable to Expand subpages

Post by calguy1000 »

if somebody could come up with a consistent way of reproducing the issue, we could look into it.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
nivekiam

Re: Urgent help.. Unable to Expand subpages

Post 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.
JeremyBASS

Re: Urgent help.. Unable to Expand subpages

Post 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****
Attachments
ScreenHunter_01 Feb. 27 09.29.gif
Last edited by JeremyBASS on Wed Feb 27, 2008 5:28 pm, edited 1 time in total.
saitanay
Forum Members
Forum Members
Posts: 44
Joined: Sat Jan 12, 2008 4:56 am

Re: Urgent help.. Unable to Expand subpages

Post 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
Post Reply

Return to “CMSMS Core”