Interestingly enough I get similar results on:
page_open(
array("sess" => "Contact_Session",
"auth" => "Contact_Auth",
"perm" => "Contact_Perm",
"user" => "Contact_User"));
$perm->check("author");
.
.
.
When instantiated, the page gives only:
<font color=ff0000><br>
<b>Fatal error</b>: Call to a member function on a non-object in <b>/var/www/html/chent.php</b> on line <b>7</b><br>
</font>
(that would be the entire source from the resulting page.)
I'm using a form (method post) from another page to access this page. Yes, I used the $sess->url() method to compose the action property of the form element. I'm also passing on some values through the url...
The url for the page above that i'm having problems with is http://localhost/mypage.php?myval=1
I wonder if the problem is a byproduct of instatiating the page with some items passed in on the URL and others via HTTP POST. I call this page in a different context and it works.
Very strange.