Loading...
 
Skip to main content

Architecture / Installation


You are viewing a reply to "no page indicated" on wiki edit

Re:"no page indicated" on wiki edit

I have no idea if this helps, but to do some debugging, I hacked around in tiki-editpage.php. i changed

if(!isset($_REQUEST%22page%22)) {
$smarty->assign('msg',tra("No page indicated (xxx)"));
$smarty->display("styles/$style_base/error.tpl");
die;
} else {
$page = $_REQUEST%22page%22;
$smarty->assign_by_ref('page',$_REQUEST%22page%22);
}


to

if(!isset($_REQUEST%22page%22)) // ltc testing variables, baby
{
if(!isset($_REQUEST%22edit%22)) {
$smarty->assign('msg',tra("No edit set (xxx)"));
$smarty->display("styles/$style_base/error.tpl");
die;
}
$smarty->assign('msg',tra("No page indicated (xxx)"));
$smarty->display("styles/$style_base/error.tpl");
die;
} else {
$page = $_REQUEST%22page%22;
$smarty->assign_by_ref('page',$_REQUEST%22page%22);
}

just to see if the "edit" variable made it through. it did not. i also noticed that all the form variables are going to the server in the format:

Content-Disposition: form-data; name="page"

HomePage

I have no idea if that is normal, but I'm starting to think that Apache isn't passing those variables to the tiki script for some reason.

Can anyone point me in the right direction?