Page 1 of 1

Minor bug with 1.11.5 and 1.11.6 [SOLVED]

Posted: Wed Apr 24, 2013 12:39 pm
by atdesign
Expand All Sections, Collapse All Sections and Move buttons only work once per page load on Pages in the Admin. I can click on any any of these and it will work the first time but if I click on any of them again, it does not. I noticed that the change does happen if I refresh the page.

I had this problem with 1.11.5 as well. I'm using the OneEleven theme.

----------------------------------------------

Cms Version: 1.11.6

Installed Modules:

CMSMailer: 5.2.1
CMSPrinting: 1.0.4
FileManager: 1.4.3
MenuManager: 1.8.5
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.12.12
Search: 1.7.8
ThemeManager: 1.1.8
CGExtensions: 1.32.5
CGSimpleSmarty: 1.6.1
FormBuilder: 0.7.3
FormBrowser: 0.4.2
SiteMapMadeSimple: 1.2.7
CGGoogleMaps: 2.4.5
ListIt2: 1.3.2
ListIt2Events: 1.3.2


Config Information:

php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 10000000
url_rewriting: mod_rewrite
page_extension: .php
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.15
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 99M
max_execution_time: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 20M
upload_max_filesize: 10M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.55
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages


----------------------------------------------

Re: Minor bug with 1.11.5 and 1.11.6

Posted: Wed Apr 24, 2013 2:34 pm
by Rolf
I have tried it but it works for me...

Rolf

Re: Minor bug with 1.11.5 and 1.11.6

Posted: Wed Apr 24, 2013 6:16 pm
by velden
I only know that when you use a 'move arrow' you have to wait till the 'nice' fade effect has finished before you can move (reorder) a page again.

Re: Minor bug with 1.11.5 and 1.11.6

Posted: Wed Apr 24, 2013 8:50 pm
by paulbaker
Works OK for me too on 1.11.5. Clicking expand all sections expands all child pages and collapse collapses them, then expand works OK again.

Re: Minor bug with 1.11.5 and 1.11.6

Posted: Thu Apr 25, 2013 8:53 pm
by atdesign
Thanks for the input guys. After further testing in other browsers, I can say it is not browser related. I did a checksum and nothing was missing. This is really unusual.

When I click on one of the page functions, I get the spinning mouse wheel like it's waiting for something to happen.

Re: Minor bug with 1.11.5 and 1.11.6

Posted: Sat May 04, 2013 4:49 am
by Wishbone
I'm looking at this for him. It seems to be an issue with his server and xajax. It's performing the task (set default, move up, expand all), but it's not reloading the content list. If I refresh, I can see the change.

I'm pretty sure that the server is generating some error, but I have no idea how to debug this.

Re: Minor bug with 1.11.5 and 1.11.6

Posted: Sat May 04, 2013 8:48 am
by velden
I'd suggest Firefox with Firebug. Enable the 'Net' tab and you'll see POST requests sent, and the servers response.

Re: Minor bug with 1.11.5 and 1.11.6

Posted: Sat May 04, 2013 10:13 pm
by Wishbone
Just tried that.. I see that the response contains the HTML to replace the current HTML, but it's still not refreshing. The odd thing is that "Collapse pages" works, but expand doesn't (without a refresh), even though the calls look identical.

Re: Minor bug with 1.11.5 and 1.11.6

Posted: Sat May 04, 2013 10:41 pm
by calguy1000
If the ajax call is working, but returning invalid html due to a warning or a notice then that would cause the issue.

The key to the solution is to finding the error message.

Re: Minor bug with 1.11.5 and 1.11.6

Posted: Sun May 05, 2013 1:54 am
by Wishbone
Thanks.. The XML response was malformed.. There seems to have been some non-safe invisible control character in a page's title. I re-typed it, and everything works fine. Explains why 'collapse' works... The title doesn't exist in the XML.

Thanks for everyone's help