News module not loading articles when categories are used
Posted: Tue Feb 02, 2010 7:38 pm
Hello all
My first post. Firstly, thanks to everyone involved with CMSms. I've already created a couple of sites with it and there are more in progress...
I hope someone can help with the following problem. I recently created a site directly on the server as it was a brand new site/domain. I now need to work on some additions and alterations so have copied the CMSms installation and database to my Mac and have set it up there using MAMP and DynDNS so that I can just transfer the database to the server when I'm happy with everything. (I've edited config.php so that all paths relate to my local machine and not the server, and have cleared the cache.) Everything works fine apart from that no news is shown (the site has four categories of news, out of which selected articles are shown on the home page). No news is loaded into either the home page, or the three other pages which should contain news articles.
I experimented by reducing the tag in one of the pages (as shown below) simply to {news}. This resulted in ALL news showing, as would be expected. I then introduced the other variables in turn with no problem and found that when I introduced category, no news at all is displayed.
Example: {news category="leading" number="4" moretext="Read more »"}
I checked the source code of the page as generated by the browser
so it knows to load the category called 'leading' etc. I then checked the news module in the backend to make sure that the categories are still named correctly and that all articles are allocated to the correct category. I then created a test category and allocated some articles to that: still nothing shows up.
Does anyone have any ideas as to what is wrong? Bear in mind that everything works fine on the actual 'live' site on the server, so it's probably (hopefully!) something simple that needs to be adjusted in my testing environment...
System info below: I hope that's enough to go on.
Thanks in advance
Paul
CMS Version
1.6.6
Installed Modules
CMSMailer
1.73.14
FileManager
1.0.1
MenuManager
1.6.2
ModuleManager
1.3.1
News
2.10.3
nuSOAP
1.0.1
Printing
1.0.4
Search
1.6.1
ThemeManager
1.1.1
TinyMCE
2.5.5
Album
0.9.3
Cataloger
0.7.6
Statistics
0.9.9
DownCnt
1.0.0
FrontEndUsers
1.6.11
CustomContent
1.5.3
PHP Information:
Current PHP Version (phpversion):
5.2.3
Server Information:
Server API (server_api):
apache2handler
Server Database (server_db_type):
MySQL (mysql)
Server Database Version (server_db_version):
5.0.41
Server Software (server_software):
Apache
Server Operating System (server_os):
Darwin 9.8.0 On i386
My first post. Firstly, thanks to everyone involved with CMSms. I've already created a couple of sites with it and there are more in progress...
I hope someone can help with the following problem. I recently created a site directly on the server as it was a brand new site/domain. I now need to work on some additions and alterations so have copied the CMSms installation and database to my Mac and have set it up there using MAMP and DynDNS so that I can just transfer the database to the server when I'm happy with everything. (I've edited config.php so that all paths relate to my local machine and not the server, and have cleared the cache.) Everything works fine apart from that no news is shown (the site has four categories of news, out of which selected articles are shown on the home page). No news is loaded into either the home page, or the three other pages which should contain news articles.
I experimented by reducing the tag in one of the pages (as shown below) simply to {news}. This resulted in ALL news showing, as would be expected. I then introduced the other variables in turn with no problem and found that when I introduced category, no news at all is displayed.
Example: {news category="leading" number="4" moretext="Read more »"}
I checked the source code of the page as generated by the browser
so it knows to load the category called 'leading' etc. I then checked the news module in the backend to make sure that the categories are still named correctly and that all articles are allocated to the correct category. I then created a test category and allocated some articles to that: still nothing shows up.
Does anyone have any ideas as to what is wrong? Bear in mind that everything works fine on the actual 'live' site on the server, so it's probably (hopefully!) something simple that needs to be adjusted in my testing environment...
System info below: I hope that's enough to go on.
Thanks in advance
Paul
CMS Version
1.6.6
Installed Modules
CMSMailer
1.73.14
FileManager
1.0.1
MenuManager
1.6.2
ModuleManager
1.3.1
News
2.10.3
nuSOAP
1.0.1
Printing
1.0.4
Search
1.6.1
ThemeManager
1.1.1
TinyMCE
2.5.5
Album
0.9.3
Cataloger
0.7.6
Statistics
0.9.9
DownCnt
1.0.0
FrontEndUsers
1.6.11
CustomContent
1.5.3
PHP Information:
Current PHP Version (phpversion):
5.2.3
Server Information:
Server API (server_api):
apache2handler
Server Database (server_db_type):
MySQL (mysql)
Server Database Version (server_db_version):
5.0.41
Server Software (server_software):
Apache
Server Operating System (server_os):
Darwin 9.8.0 On i386