PDA

View Full Version : I need help, problems >_<


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?

Scott MacVicar
Thu 14th Aug '03, 12:25am
space between closing bracket and ; is probably being echo'd.

Mijae
Thu 14th Aug '03, 12:50am
Um, I dont know why it showed up with so many spaces between, but in my file they are together.