Page 1 of 1

All pages displaying the same content

Posted: Mon May 29, 2006 4:06 pm
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.

Re: All pages displaying the same content

Posted: Mon May 29, 2006 7:22 pm
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

Re: All pages displaying the same content

Posted: Mon May 29, 2006 8:09 pm
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)

Re: All pages displaying the same content

Posted: Tue May 30, 2006 9:17 am
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