Page 1 of 1

Problems with News 2.1 and Mod Rewrite

Posted: Wed Sep 20, 2006 9:00 pm
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 !!!!!!!!

Re: Problems with News 2.1 and Mod Rewrite

Posted: Fri Sep 22, 2006 3:57 am
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"

Re: Problems with News 2.1 and Mod Rewrite

Posted: Fri Sep 22, 2006 3:43 pm
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

Re: Problems with News 2.1 and Mod Rewrite

Posted: Sun Sep 24, 2006 10:08 am
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.