Page 1 of 1

[solved]Module Manager Help and About links not show content

Posted: Fri Feb 26, 2016 4:17 pm
by paulbaker
When I visit Extensions > Module Manager > Available Modules tab > Help (or About) I see the help page but with just one character, often "h" (or "b" for the About link).

See screenshot:
help.jpg
This happens with:
CGBlog, CGCalendar, ListIt2, CustomContent, in fact every module I tried.

I cleared cache.

Any ideas? A problem with the Forge?

Thanks

----------------------------------------------
Cms Version: 1.11.9
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.3
MenuManager: 1.8.6
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.14.1
Search: 1.7.11
ThemeManager: 1.1.8
TinyMCE: 2.9.12
Showtime: 3.3
CGExtensions: 1.38.1
CGCalendar: 1.13.3
Gallery: 1.6.1
Notifications: 1.1
Statistics: 1.1.3
ListIt2: 1.4
ListIt2GovernorTeam: 1.4
Archiver: 0.2.6

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 32000000
url_rewriting: mod_rewrite
page_extension:
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.5.30
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 32M
session_save_path: /tmp (1777)
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.5.48
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

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

Re: Module Manager Help and About links not showing content

Posted: Fri Feb 26, 2016 5:16 pm
by calguy1000
As always.

Do a system verification, find your error logs, try debug mode, look at page source for obvious errors.

Find the problem, then upgrade!

Re: Module Manager Help and About links not showing content

Posted: Fri Feb 26, 2016 6:44 pm
by paulbaker
You're right, I didn't really investigate properly before posting.... :-[

Here's the HTML source around the single letter:

Code: Select all

<center><h1>Help</h1></center>
<p><b>Module Name</b>:&nbsp;CGCalendar</p>
<p><b>Version</b>:&nbsp;1.14.3</p>
<p><b>XML File</b>:&nbsp;CGCalendar-1.14.3.xml</p>
<hr/>
h
<br />
<br />
<p><a href="http://www.domain.co.uk/admin/moduleinterface.php?mact=ModuleManager,m1_,defaultadmin,0&_sx_=b4751862">&#171; Return to Module Manager</a></p></div><p class="pageback"><a class="pageback" href="index.php?section=extensions&_sx_=b4751862">&#171; Back to Menu</a></p></section></article>
No PHP error messages logged in the admin folder or root.

Did a site verification, here are the results:

Code: Select all

123 Files Not found
Files Not found:
/tmp/cache/SITEDOWN
/tmp/templates_c/index.html
/uploads/index.html

[loads of /install files cut - no install directory]

9 Files failed md5sum check:
/modules/News/News.module.php
/modules/News/lang/en_US.php
/modules/News/method.install.php
/modules/News/lib/class.news_field.php
/modules/News/templates/articlelist.tpl
/modules/News/action.default.php
/modules/News/changelog.inc
/modules/News/index.html
/tmp/cache/index.html
So nothing exciting there either.

And here is the debug code from the same page as my screenshot in the first post:

Code: Select all

Debug: (8.1999999999999E-5) - (usage: 807112) - (peak: 814240) done loading required files
Debug: (0.00087) - (usage: 817400) - (peak: 829520) loading adodb
Debug: (0.003244) - (usage: 891912) - (peak: 915888) loading page functions
Debug: (0.006326) - (usage: 1001824) - (peak: 1060576) loading content functions
Debug: (0.006747) - (usage: 1009016) - (peak: 1060576) loading translation functions
Debug: (0.007231) - (usage: 1018712) - (peak: 1060576) loading php4 entity decode functions
Debug: (0.010278) - (usage: 1212088) - (peak: 1318288) done loading files
Debug: (0.010368) - (usage: 1212480) - (peak: 1318288) Initialize Database
Debug: (0.027042) - (usage: 1786168) - (peak: 1802208) (mysqli): SET NAMES 'utf8'
Debug: (0.027171) - (usage: 1785256) - (peak: 1818848) Done Initializing Database
Debug: (0.027491) - (usage: 1787008) - (peak: 1818848) (mysqli): SELECT version from cms_version LIMIT  1
Debug: (0.027684) - (usage: 1786768) - (peak: 1819048) Initialize Smarty
Debug: (0.047749) - (usage: 2791016) - (peak: 2807440) Loading /home/stedward/public_html/lib/classes/class.Smarty_CMS.php = 1002312 bytes for an approximate total of 1002312
Debug: (0.048789) - (usage: 2857544) - (peak: 2874792) Loading /home/stedward/public_html/lib/classes/class.CMSModuleDbTemplateResource.php = 58080 bytes for an approximate total of 1060392
Debug: (0.04941) - (usage: 2887824) - (peak: 2920976) Loading /home/stedward/public_html/lib/classes/class.CMSPageTemplateResource.php = 29608 bytes for an approximate total of 1090000
Debug: (0.050222) - (usage: 2925008) - (peak: 2949792) Loading /home/stedward/public_html/lib/classes/class.usertagoperations.inc.php = 36056 bytes for an approximate total of 1126056
Debug: (0.050568) - (usage: 2925488) - (peak: 2960632) (mysqli): SELECT * FROM cms_userplugins ORDER BY userplugin_name
Debug: (0.051108) - (usage: 2947128) - (peak: 2972776) Loading /home/stedward/public_html/lib/classes/class.cms_siteprefs.php = 17096 bytes for an approximate total of 1143152
Debug: (0.051949) - (usage: 2947504) - (peak: 2983104) (mysqli): SELECT sitepref_name,sitepref_value FROM cms_siteprefs
Debug: (0.053974) - (usage: 3088056) - (peak: 3263928) Loading /home/stedward/public_html/lib/classes/class.CMSNullTemplateResource.php = 13936 bytes for an approximate total of 1157088
Debug: (0.054052) - (usage: 3087016) - (peak: 3277880) Done Initialiing Smarty
Debug display of 'Loading Modules':(0.054142) - (usage: 3087440) - (peak: 3277880)
Debug: (0.057188) - (usage: 3285608) - (peak: 3452120) Loading /home/stedward/public_html/lib/classes/class.moduleoperations.inc.php = 197080 bytes for an approximate total of 1354168
Debug: (0.057686) - (usage: 3286432) - (peak: 3462920) (mysqli): SELECT * FROM cms_modules ORDER BY module_name
Debug: (0.058167) - (usage: 3324816) - (peak: 3463784) loading module Archiver
Debug: (0.066328) - (usage: 3969728) - (peak: 4079960) Loading /home/stedward/public_html/lib/classes/class.CMSModule.php = 387296 bytes for an approximate total of 1741464
Debug: (0.067353) - (usage: 4076240) - (peak: 4200472) Loading /home/stedward/public_html/lib/classes/class.CmsLangOperations.php = 35488 bytes for an approximate total of 1776952
Debug: (0.068294) - (usage: 4129504) - (peak: 4220536) Loading /home/stedward/public_html/lib/classes/class.CmsNlsOperations.php = 52048 bytes for an approximate total of 1829000
Debug: (0.06919) - (usage: 4163368) - (peak: 4257848) Loading /home/stedward/public_html/lib/classes/class.CmsNls.php = 27280 bytes for an approximate total of 1856280
Debug: (0.069796) - (usage: 4188536) - (peak: 4278960) Loading /home/stedward/public_html/lib/classes/class.cms_userprefs.php = 27912 bytes for an approximate total of 1884192
Debug: (0.111429) - (usage: 4190768) - (peak: 4289296) (mysqli): SELECT preference,value FROM cms_userprefs WHERE user_id = '1'
Debug: (0.118916) - (usage: 4357768) - (peak: 4860824) loading module CGExtensions
Debug: (0.127702) - (usage: 4941224) - (peak: 5015376) Loading /home/stedward/public_html/lib/classes/class.cms_utils.php = 36728 bytes for an approximate total of 1920920
Debug: (0.128124) - (usage: 4941504) - (peak: 5021272) (mysqli): SET @CG_ZEROTIME = NOW() - INTERVAL 150 YEAR,@CG_FUTURETIME = NOW() + INTERVAL 5 YEAR
Debug: (0.129007) - (usage: 4979896) - (peak: 5043008) loading module CGSmartImage
Debug: (0.135703) - (usage: 5246248) - (peak: 5333896) loading module CMSMailer
Debug: (0.137792) - (usage: 5482032) - (peak: 5548264) loading module FileManager
Debug: (0.140209) - (usage: 5668080) - (peak: 5743384) loading module Gallery
Debug: (0.143645) - (usage: 5855248) - (peak: 5946528) loading module ListIt2
Debug: (0.149082) - (usage: 6071840) - (peak: 6352560) loading module ListIt2GovernorTeam
Debug: (0.157654) - (usage: 6373256) - (peak: 6659120) loading module MenuManager
Debug: (0.161571) - (usage: 6570680) - (peak: 6750280) loading module Showtime
Debug: (0.163188) - (usage: 6678040) - (peak: 6819576) loading module Statistics
Debug: (0.177885) - (usage: 7549384) - (peak: 7840144) loading module TinyMCE
Debug display of 'End of Loading Modules':(0.182183) - (usage: 7829192) - (peak: 7924952)
Debug: (0.182915) - (usage: 7854640) - (peak: 7950080) Loading /home/stedward/public_html/lib/classes/class.CmsRegularTaskHandler.php = 24256 bytes for an approximate total of 1945176
Debug: (0.18661) - (usage: 8007352) - (peak: 8079856) Loading /home/stedward/public_html/lib/classes/class.contentoperations.inc.php = 187840 bytes for an approximate total of 2133016
Debug: (0.187771) - (usage: 8046704) - (peak: 8118208) Loading /home/stedward/public_html/lib/classes/class.module_meta.php = 29840 bytes for an approximate total of 2162856
Debug: (0.188876) - (usage: 8150520) - (peak: 8190344) Loading /home/stedward/public_html/modules/ModuleManager/ModuleManager.module.php = 95056 bytes for an approximate total of 2257912
Debug: (0.18981) - (usage: 8193032) - (peak: 8260280) before theme load
Debug: (0.194663) - (usage: 8482112) - (peak: 8604256) Loading /home/stedward/public_html/lib/classes/class.CmsAdminThemeBase.php = 288152 bytes for an approximate total of 2546064
Debug: (0.196916) - (usage: 8557952) - (peak: 8604256) after theme load
Debug: (0.197026) - (usage: 8558696) - (peak: 8604256) before notifications
Debug: (0.198098) - (usage: 8570904) - (peak: 8614616) before populate admin navigation
Debug: (0.198178) - (usage: 8573672) - (peak: 8614616) before menu items
Debug: (0.201443) - (usage: 8676664) - (peak: 8706104) Loading /home/stedward/public_html/lib/classes/class.useroperations.inc.php = 69688 bytes for an approximate total of 2615752
Debug: (0.201966) - (usage: 8679528) - (peak: 8717240) (mysqli): SELECT ug.user_id FROM cms_user_groups ug
                      WHERE ug.user_id = '1' AND ug.group_id = 1 LIMIT  1
Debug: (0.202354) - (usage: 8680976) - (peak: 8719480) (mysqli): SELECT DISTINCT permission_name FROM cms_user_groups ug INNER JOIN cms_group_perms gp ON gp.group_id = ug.group_id INNER JOIN cms_permissions p ON p.permission_id = gp.permission_id INNER JOIN cms_groups gr ON gr.group_id = ug.group_id WHERE ug.user_id = '1' AND gr.active = 1
Debug: (0.204297) - (usage: 8765024) - (peak: 8787800) Loading /home/stedward/public_html/lib/classes/class.globalcontentoperations.inc.php = 85968 bytes for an approximate total of 2701720
Debug: (0.204706) - (usage: 8767120) - (peak: 8802136) (mysqli): SELECT htmlblob_id FROM cms_htmlblobs WHERE owner = '1'
Debug: (0.205063) - (usage: 8768128) - (peak: 8804224) (mysqli): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id = '1'
Debug: (0.205411) - (usage: 8768496) - (peak: 8807944) (mysqli): SELECT group_id FROM cms_user_groups WHERE user_id = '1'
Debug: (0.205725) - (usage: 8767512) - (peak: 8808856) (mysqli): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id IN (-1)
Debug: (0.206144) - (usage: 8769384) - (peak: 8809224) (mysqli): SELECT content_id FROM cms_content WHERE owner_id = '1'
Debug: (0.206686) - (usage: 8776904) - (peak: 8809320) (mysqli): SELECT user_id,content_id FROM cms_additional_users
Debug: (0.209945) - (usage: 8828408) - (peak: 8845184) after menu items
Debug: (0.210402) - (usage: 8831304) - (peak: 8888944) before syste modules
Debug: (0.21099) - (usage: 8841544) - (peak: 8905344) before module menu items
Debug: (0.211411) - (usage: 8855384) - (peak: 8905920) after module menu items
Debug: (0.214439) - (usage: 8897896) - (peak: 8968248) after populate admin navigation
Debug: (0.218007) - (usage: 9096488) - (peak: 9158048) Loading /home/stedward/public_html/lib/classes/class.cms_http_request.php = 161472 bytes for an approximate total of 2863192
Debug display of 'Fetch module_file_tpl:ModuleManager;remotecontent.tpl start':(0.542346) - (usage: 9327984) - (peak: 9392216)
Debug display of 'Fetch module_file_tpl:ModuleManager;remotecontent.tpl end':(0.596054) - (usage: 12072528) - (peak: 12153976)
Thanks for any ideas.

Re: Module Manager Help and About links not showing content

Posted: Fri Feb 26, 2016 9:28 pm
by Jo Morg
IIRC there was a bug on that particular version of CMSMS, although I'm not sure... I would upgrade as soon as possible to at least 1.12 and test again.

Re: Module Manager Help and About links not showing content

Posted: Fri Feb 26, 2016 10:28 pm
by Rolf
Jo Morg wrote:IIRC there was a bug on that particular version of CMSMS, although I'm not sure... I would upgrade as soon as possible to at least 1.12 and test again.
+1

Re: Module Manager Help and About links not showing content

Posted: Fri Feb 26, 2016 10:33 pm
by paulbaker
Thanks guys, I will do that and report back.

Re: Module Manager Help and About links not showing content

Posted: Sun Feb 28, 2016 6:00 pm
by paulbaker
Indeed, upgrading to the latest V1 (1.12.1) resolved this issue.

Thanks again chaps! :D