1
mudikins
mod_rewrite incompatibility...
  • 2005/12/19 8:31

  • mudikins

  • Just popping in

  • Posts: 7

  • Since: 2005/11/29


I used mod_rewrite to direct /sports to /modules/news/index.php set to a certain category. This mostly works, but it is not loading the language file. After extensive tracing, I found out that kernel/module.php loads the language file for 'system' rather than 'news' when accessed through /sports. The PHP code through here is fairly dense, and I have not been able to find the problem in an initial run-through of the code, so I am hoping someone has an answer already :)

Thanks.

XOOPS 2.2.3 and News 1.44, by the way.

2
mudikins
Re: mod_rewrite incompatibility...
  • 2005/12/19 8:53

  • mudikins

  • Just popping in

  • Posts: 7

  • Since: 2005/11/29


OK, nevermind, I got it working by hacking kernel/module.php. I adapted it from an post on the forums that appears to target 2.0 series XOOPS, because the code was in a completely different place, but I got it working.

Login

Who's Online

305 user(s) are online (203 user(s) are browsing Support Forums)


Members: 0


Guests: 305


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits