Mijae
Thu 14th Aug '03, 12:15am
I have a gallery.php script inside my /forum/ folder which calls vB3's permissions to show page. In my forum templates I have a link to it, and if users click it from there they can view the gallery with no problems, but if I come from some other URL I get this:
vBulletin Message
Unable to add cookies, header already sent.
I have this code in my little script:
<?php
define('THIS_SCRIPT', 'gallery');
require_once('./global.php');
if ($bbuserinfo['usergroupid'] == '1' or $bbuserinfo['usergroupid'] == '3')
{
eval(print_standard_error('nopermission_gallery')) ;
}
?>
What can be wrong?
vBulletin Message
Unable to add cookies, header already sent.
I have this code in my little script:
<?php
define('THIS_SCRIPT', 'gallery');
require_once('./global.php');
if ($bbuserinfo['usergroupid'] == '1' or $bbuserinfo['usergroupid'] == '3')
{
eval(print_standard_error('nopermission_gallery')) ;
}
?>
What can be wrong?