All pages displaying the same content

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.
Locked
sabernar

All pages displaying the same content

Post by sabernar »

I've created a CMSMS site, but when I create new pages, they all display the same exact content - the content from the home page.

Any ideas?

(I'm running CMSMS v0.13)

MORE INFO:  I don't think that it's just displaying the same content, I think that it's actually displaying the home page no matter what link you click on.  It's almost like it can't find the content for the requested page, so it's just displaying the home page for every link.  All the links are being properly displaying in the menu, and all the content is marked Active.  I've also tried to clear the cache, but that didn't help anything.
Last edited by sabernar on Mon May 29, 2006 5:41 pm, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: All pages displaying the same content

Post by tsw »

In your config.php change

$config['internal_pretty_urls']=false;

and try again

If you would still like to keep clean urls you might consider changing

$config['assume_mod_rewrite'] = true;

AND copying doc/htaccess.txt to .htaccess in your cmsms folder

and could you tell us what server you are on so we could check why internal pretty urls wont work on your setup (which operating system on the server and php / mysql / http server versions). thanks
sabernar

Re: All pages displaying the same content

Post by sabernar »

Thanks.  Changing the internal_pretty_urls to false worked, but when I made the other changes, it broke the site.  It didn't seem to like the RewriteEngine in the .htaccess.

MySQL 4.0.13
PHP 4.4.2
webserver: Apache (customized version, not sure what version number it's based off of)
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: All pages displaying the same content

Post by tsw »

sabernar wrote: It didn't seem to like the RewriteEngine in the .htaccess.
Not all webhosts allow mod_rewrite to be used. (and some have .htaccess files disabled) Youll have to ask your webhosting company for information about that.

not sure why internal pretty urls wont work though...

you can set $config['assume_mod_rewrite'] = false; and remove .htaccess file, but you wont have pretty urls
Locked

Return to “CMSMS Core”