Page 1 of 1

News page display different on liveand local server

Posted: Sun Aug 25, 2013 8:07 pm
by the1knight
Basically I have same version of cmsms installed locally and on live server. Version 1.11.7.
Both servers have identical content. Yet News page displays differently and also leaks content to 1 of 2 categories.
cmsnews1_livesite.png
cmsnews1_localsite.png
Category 1 is "Events" and category 2 is "Gigs".
I've set everything up on localhost then copied and pasted it to live server (for technical reasons). I know news page should display links for the user to click on, however on the live server it is displaying the list of gigs on the news page when it shouldn't. I've double checked and cross referenced everything comparing both back ends side by side and can't find anything different.

Can anyone shed any light on what might be wrong? I've enclosed images below.

Re: News page display different on liveand local server

Posted: Mon Aug 26, 2013 7:27 am
by velden
If using pretty urls: disable url_rewriting in config.php and rename .htaccess.

For testing purposes of course, but then you've a hint where to look.

Re: News page display different on liveand local server

Posted: Mon Aug 26, 2013 9:23 pm
by the1knight
velden wrote:If using pretty urls: disable url_rewriting in config.php and rename .htaccess.

For testing purposes of course, but then you've a hint where to look.

Just tried that, no difference.
I cleared the cache after disabling of course.

Re: News page display different on liveand local server

Posted: Tue Aug 27, 2013 7:14 pm
by Dr.CSS
When you have a live site and a production/ copy site it is best to export/import the DB so both have exactly the same content/templates/style sheets, make sure all files, images, etc. in uploads are the same, it looks like you have 2 different News templates in use...

EDIT: This is done when you first set up the live site from the production...

Re: News page display different on liveand local server

Posted: Tue Aug 27, 2013 7:22 pm
by velden
Dr.CSS wrote:When you have a live site and a production/ copy site it is best to export/import the DB so both have exactly the same content/templates/style sheets...
I disagree. This advice should not be given without mentioning the possible consequences regarding like:

- admin log entries getting lost
- using cmsms 'analytics' modules? info lost
- Self registration FEU: lost
- Forms that store data in other module/database: lost
- etc. etc