Page 1 of 1

News articles not displaying

Posted: Wed Dec 16, 2020 4:47 pm
by adikat
I've added an article to the News module in the Marketing category. I created a News page and added the necessary code. When I go to the page, it displays the categories but does not show the actual articles; even after selecting a category.

URL: https://adikat.ie/index.php/about-adika ... g-articles

News page

Code: Select all

{News number='3' detailpage='buddy010-newsDetail' category="Marketing" }
Site Admin > Setting News Module. I set the Default page to the News Page.

Is there something that I missed?

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

Cms Version: 2.2.15

Installed Modules:

AdminSearch: 1.0.5
CMSContentManager: 1.1.9
CMSMailer: 6.2.14
Captcha: 1.0
CmsJobManager: 0.1.3
DesignManager: 1.1.9
FileManager: 1.6.12
FilePicker: 1.0.5
FormBuilder: 1.1
Gallery: 2.4.2
MenuManager: 1.50.3
MicroTiny: 2.2.5
ModuleManager: 2.1.8
Navigator: 1.0.9
News: 2.51.11
Search: 1.52
SitemapMgr: 1.6.1

Config Information:

url_rewriting: internal
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Dublin
permissive_smarty: false

Php Information:

phpversion: 7.2.34
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
max_execution_time: 120
register_globals: Off (False)
output_buffering: 0
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:

allow_browser_cache: On (True)
browser_cache_expiry: 60
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: On (True)
auto_clear_cache_age: On (True)
Server Information:

Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 5.4.32-grsec-grsec-plus+ On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.7.29
Server Db Grants: Could not find a suitable "GRANT ALL" permission, this does not necessarily lead to problems... But if you have problems installing/removing modules or adding and deleting items/pages this could be the cause!


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

Re: News articles not displaying

Posted: Thu Dec 17, 2020 1:06 pm
by adikat
Closing this request. The articles are showing up today. It must be a cache issue.

Re: News articles not displaying

Posted: Fri Dec 18, 2020 4:29 pm
by DIGI3
Sounds like it might be a server time difference issue. Try posting an article, and, if it doesn't show up, try editing it so the post time is a few hours earlier. If it shows up when set far enough back, then that's likely the issue.

See https://cmscanbesimple.org/blog/server-time-difference for tests/fixes.

Re: News articles not displaying

Posted: Sat Dec 26, 2020 6:22 pm
by adikat
Thanks DIG13, that worked. I had to set the post date to -8 hours. then the news showed up.