Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ViewOnline on 1.9. Invalid document ID
#2
Thanks, but this did not solve a problem for me...

if I put the echo in every condition block to see what triggers the error, the first condition triggers the error...

----
if (!isset($documentid) || !is_numeric($documentid) || intval($documentid)<1) {
echo "1 -".$documentid;
UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_doc_id"))),getMLText("invalid_doc_id"));
}
----

because
$documentid is empty in my case for any document...

any suggestion where to look would be appreciated...

(((
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: