News page display different on liveand local server

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
the1knight
Forum Members
Forum Members
Posts: 26
Joined: Thu Aug 08, 2013 11:37 am

News page display different on liveand local server

Post 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.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: News page display different on liveand local server

Post 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.
the1knight
Forum Members
Forum Members
Posts: 26
Joined: Thu Aug 08, 2013 11:37 am

Re: News page display different on liveand local server

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News page display different on liveand local server

Post 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...
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: News page display different on liveand local server

Post 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
Post Reply

Return to “CMSMS Core”