Forums / Cotonti / Support / url mod_rewrite page_add bug

question about page_add bug solving with mod_rewrite enabled

donP
#22197 2010-01-20 09:40
# Gökhan YILDIZ :
RewriteRule ^(articles|news|videos|bla|bla2|bla3)/([a-z-]+)/add$ page.php?m=add

Nothing to do with this and nothing also with Trustmaster one...

The only way I find was putting
page	id=*	{page_url_structure()}
page	al=*	{page_url_structure()}    /*because page	al=*|id=*	{page_url_structure()} doesn't work  :/ */

in datas/ultrans.dat instead of
page	*	{page_url_structure()}

so the page.php?m=add&c=... hasn't rewritten anymore, BUT... there still a problem: in this way the page has successfully added to the database, but a user with category-related admin rights receives a 930 redirect error message saying the operation isn't allowed... this error doesn't happen when a level 1 users inserts a new page (and that page goes to validation queue)...

what's the matter? :/

Added 8 days later:

Noone here to answer this? :(
in [color=#729FCF][b]BLUES[/b][/color] I trust

Dit bericht is bewerkt door donP (2010-01-28 16:45, 15 jaren ago)