20
I've just been in the same problem because of site configuration.
The problems lies in some modules that incorrectly (IMHO) uses PHP_SELF, and shoud use REQUEST_URI, both http vars.
So for module news change:
/modules/news/include/storyform.inc.php
second line:
$sform = new XoopsThemeForm(_NW_SUBMITNEWS, "storyform", xoops_getenv('PHP_SELF'));
change to:
$sform = new XoopsThemeForm(_NW_SUBMITNEWS, "storyform", xoops_getenv('REQUEST_URI'));
and for admin to change a post:
/modules/news/admin/storyform.inc.php
change:
if(!isset($submit_page)){
$submit_page = $HTTP_SERVER_VARS['PHP_SELF'];
if(strpos($submit_page,"?")) $submit_page = substr($submit_page,0,strpos($submit_page,"?"));
}
to:
if(!isset($submit_page)){
$submit_page = $HTTP_SERVER_VARS['REQUEST_URI'];
if(strpos($submit_page,"?")) $submit_page = substr($submit_page,0,strpos($submit_page,"?"));
}
Hope it helps..
I hope XOOPS team developers notice this post! ;)