thanks for your attention Lynne,
yes that's right. in fact I need no permission message with custom message
I created a page named quiz.php. as you know I need create a template for it too.
in this template I need load some data from database so I created subpage. I used plugin at global_start hook location
PHP Code:
ob_start();
require_once('quiz/quiz_detail.php');
$php_include = ob_get_contents();
ob_end_clean();
vB_Template::preRegister('quiz',array('php_include' => $php_include));
I used this code in quiz_detail.php file at 15th line after connecting to database
I think my hook location made this problem. am I right?