Problems with News 2.1 and Mod Rewrite

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
pixelpeter
New Member
New Member
Posts: 6
Joined: Wed Sep 20, 2006 8:50 pm

Problems with News 2.1 and Mod Rewrite

Post by pixelpeter »

Running CMSMS 1.0.1 "Oahu"
PHP version  4.3.10
MySQL version 4.0.15
Apache: 2.0.48 (Linux/SuSE), mod_rewite: enabled
News-Module: 2.1
Config: $config['assume_mod_rewrite'] = true;

When mod_rewrite is enabled I cant get the News-Detail Page to work
Link will be:

Code: Select all

http://www.example.com/news/2/79
disabling mod_rewrite and internal pretty urls everything works fine

Code: Select all

$config['assume_mod_rewrite'] = false;
$config['internal_pretty_urls'] = false;
Link will be:

Code: Select all

http://www.example.com/index.php?mact=News,cntnt01,detail,0&cntnt01articleid=2&cntnt01returnid=79
Does anybody know the solution ?
Is there maybe an existing fix ?

Thanx in advance

p.s: Great work, great cms, keep on !!!!!!!!
pixelpeter
New Member
New Member
Posts: 6
Joined: Wed Sep 20, 2006 8:50 pm

Re: Problems with News 2.1 and Mod Rewrite

Post by pixelpeter »

I just upgraded to 1.0.2 but the problem still exists  :(

still getting following error

Code: Select all

string(43) "Smarty error: eval: missing 'var' parameter"
pixelpeter
New Member
New Member
Posts: 6
Joined: Wed Sep 20, 2006 8:50 pm

Re: Problems with News 2.1 and Mod Rewrite

Post by pixelpeter »

well, this seems to be a really schizophrenic posting  :o  ???
... but if anyone is interested in the solution ...
........ here it is.

It's quite Simple !!!
I just deinstalled the addtional module BlankOfTheMonth  ;)

remember:
without mod_rewrite-pretty-urls both module work side-by-side
Bobonov

Re: Problems with News 2.1 and Mod Rewrite

Post by Bobonov »

Did you tried to use either mod_rewrite or pretty_url?
Basically one exclude the other.
As far as i understood  you should use pretty_url if you don't have/cant't activate mod_rewrite on your webserver.
Maybe there is a bug in the core when you enable both and the engine does not manage the situation correctly.
Post Reply

Return to “CMSMS Core”