Hi.
I have experienced on severeral on my sites, that after upgrade to cms ms 2.x the news module does not publish articles anymore. The article shows in the back-end but not in the front-end
Further info:
Current PHP Version (phpversion) Success 5.5.30
md5 function (md5_function) Success On (True)
JSON functions (json_function) Success On (True)
GD version (gd_version) Success 2
tempnam function (tempnam_function) Success On (True)
Magic quotes in runtime (magic_quotes_runtime) Success Off (False)
Is E_STRICT disabled in error_reporting (E_STRICT) Success
Is E_DEPRECATED disabled in error_reporting (E_DEPRECATED) Success
Testing for time difference in the file system (test_file_timedifference) Success No time difference found
Testing for time difference in the database (test_db_timedifference) Success No time difference found
Checking if the HTTPD process can create a file inside of a directory it created (create_dir_and_file) Success 1
PHP Effective Memory Limit (memory_limit) Success 128M
Maximum Execution Time (max_execution_time) Caution 30 ?
PHP register_globals (register_globals) Success Off (False)
PHP output_buffering (output_buffering) Success 4096
disable_functions in PHP (disable_functions) Success
PHP Open Basedir (open_basedir) Success
Test for remote URL (test_remote_url) Success Success
fsockopen: Connection ok! Success
fopen: Connection ok! Success
File uploads (file_uploads) Success On (True)
Maximum Post Size (post_max_size) Caution 8M ?
Maximum Upload Size (upload_max_filesize) Caution 2M ?
Session Save Path (session_save_path) Success /tmp (0700)
Sessions are allowed to use Cookies (session_use_cookies) Success On (True)
Basic XML (expat) support (xml_function) Success On (True)
Checking for the XMLReader class (xmlreader_class) Success On (True)
Test ini_set (check_ini_set) Success On (True)
Test for the curl library (curl) Success On
Test curl version (curlversion) Success version 7.36.0, minimum recommended version is 7.19.7
Server Information
Server Software (server_software) apache/2.4.12 (unix) openssl/1.0.1e-fips mod_bwlimited/1.4
Server API (server_api) litespeed
Server Operating System (server_os) linux 2.6.32-531.23.3.lve1.2.66.el6.x86_64 on x86_64
Server Database (server_db_type) mysql (mysqli)
Server Database Version (server_db_version) Success 5.5.44
Check database access levels (server_db_grants) Success found a "grant all" statement that appears to be suitable
Any idea what the problem might be ?
Regards
Eddie
[solved]Newsmodule doesn't publish new articles in front-end
[solved]Newsmodule doesn't publish new articles in front-end
Last edited by eddie67 on Thu Jan 07, 2016 4:12 pm, edited 2 times in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: News module does not publish new articles in front-end
works for me, I just tested.
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.
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.
Re: News module does not publish new articles in front-end
So, if it does not work on a fresh install, where do I look ?
Eddie
Eddie
Re: News module does not publish new articles in front-end
I can see the News articles, browser caching at your end?The fresh install is located at ...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: News module does not publish new articles in front-end
Oh, must be the Varnish at my host. I have even disabled it.
So a fresh install is working. I will edit my post..
But what or where do I search to find this problem om my upgraded sites?
The site(s) worked in 1.1.12, and after upgrade everything is working except the front-end News articles.
Thanks
Eddie
So a fresh install is working. I will edit my post..
But what or where do I search to find this problem om my upgraded sites?
The site(s) worked in 1.1.12, and after upgrade everything is working except the front-end News articles.
Thanks
Eddie
Re: News module does not publish new articles in front-end
My first guess is change template names. Check template names in the News admin and the one you use in your {News ...} tags.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: News module does not publish new articles in front-end
Thank you for your help.
Regards
Eddie
Regards
Eddie
Last edited by eddie67 on Thu Jan 07, 2016 4:13 pm, edited 1 time in total.
Re: News module does not publish new articles in front-end
So, after more digging this is the actual problem:
The server-time was not set to my country, so the articles was published 7 hours later (USA vs Europe).
THERE IS AN ISSUE HERE:
On this particular VPS, there is a cmsms 1.x site finansavisen.hegnar.no, where news are posted correctly.
On the same VPS, the new site at glimrende.xyz is cmsms 2.1
Both has the line $config['timezone'] = 'Europe/Oslo'; In their config.php.
The 1.x site is apparantly reading the config.php timezone and using this time, whereas the 2.x does not.
The solution for me was to change servertime at my VPS. But what about shared hosting where you can not choose?
Perhaps this will be to some help for others if you have the same issue.
Regards
Eddie
The server-time was not set to my country, so the articles was published 7 hours later (USA vs Europe).
THERE IS AN ISSUE HERE:
On this particular VPS, there is a cmsms 1.x site finansavisen.hegnar.no, where news are posted correctly.
On the same VPS, the new site at glimrende.xyz is cmsms 2.1
Both has the line $config['timezone'] = 'Europe/Oslo'; In their config.php.
The 1.x site is apparantly reading the config.php timezone and using this time, whereas the 2.x does not.
The solution for me was to change servertime at my VPS. But what about shared hosting where you can not choose?
Perhaps this will be to some help for others if you have the same issue.
Regards
Eddie