[SOLVED] News Module not sorting by end time
Posted: Fri May 16, 2014 1:56 am
Hi everyone,
I recently upgraded my site to php 5.4 and upgraded CMSMS to 1.11.10. My News module was updated as well and I noticed that this caused one of my news feeds to disappear. After some troubleshooting I realized it was the parameter sortby="end_time" that was preventing the feed from showing. I went through and made sure every article in the category and child categories had end dates, but it still refuses to show a feed when I add sortby="end_time".
Here is the code that doesn't work:
Here is my system info:
----------------------------------------------
Cms Version: 1.11.10
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.4
MenuManager: 1.8.6
ModuleManager: 1.5.5
News: 2.14.2
Printing: 1.0.4
Search: 1.7.11
ThemeManager: 1.1.8
Captcha: 0.4.6
FrontEndUsers: 1.23.3
SelfRegistration: 1.6.16
Jobs: 1.0
NMS: 1.0.3
TinyMCE: 2.9.12
CGExtensions: 1.38.8
ECB: 1.5
MysqlDump: 1.2.4
FileBackup: 0.5
FormBuilder: 0.7.3
CGSimpleSmarty: 1.7.2
CMSPrinting: 1.0.5
MicroTiny: 1.2.6
CustomContent: 1.8.3
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 64000000
url_rewriting: none
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.4.28
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 256M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
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 (mysql)
Server Db Version: 5.5.33
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found
----------------------------------------------
Can anybody point me in the right direction? Would be much appreciated.
I recently upgraded my site to php 5.4 and upgraded CMSMS to 1.11.10. My News module was updated as well and I noticed that this caused one of my news feeds to disappear. After some troubleshooting I realized it was the parameter sortby="end_time" that was preventing the feed from showing. I went through and made sure every article in the category and child categories had end dates, but it still refuses to show a feed when I add sortby="end_time".
Here is the code that doesn't work:
Code: Select all
{cms_module module="News" sortby="end_time" sortasc="true" number="5" summarytemplate="new-events-frontpage" category="events*" detailtemplate="events-detail-template" detailpage="event-details"}
----------------------------------------------
Cms Version: 1.11.10
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.4
MenuManager: 1.8.6
ModuleManager: 1.5.5
News: 2.14.2
Printing: 1.0.4
Search: 1.7.11
ThemeManager: 1.1.8
Captcha: 0.4.6
FrontEndUsers: 1.23.3
SelfRegistration: 1.6.16
Jobs: 1.0
NMS: 1.0.3
TinyMCE: 2.9.12
CGExtensions: 1.38.8
ECB: 1.5
MysqlDump: 1.2.4
FileBackup: 0.5
FormBuilder: 0.7.3
CGSimpleSmarty: 1.7.2
CMSPrinting: 1.0.5
MicroTiny: 1.2.6
CustomContent: 1.8.3
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 64000000
url_rewriting: none
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.4.28
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 256M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
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 (mysql)
Server Db Version: 5.5.33
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found
----------------------------------------------
Can anybody point me in the right direction? Would be much appreciated.