PDA


View Full Version : New Page Error


dsboyce8624
06-19-2005, 07:59 PM
I recently created a Staff page from the hack here.

Works fine for everybody AFAIK except one user who gets this:

Warning: main(./modules/): failed to open stream: Permission denied in \includes\vba_cmps_include_bottom.php on line 335

Fatal error: main(): Failed opening required './modules/' (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\includes\vba_cmps_include_bottom.php on line 335

Ideas?

EDIT: I take that back, had a copuple other non Admin/Mod people test and get the same thing.

Lines 330-340:

$home["$mods[modid]"]['column'] = $mods['modcol'];
$getbgrow = exec_switch_bg();

if ($mods['inctype'] == 0)
{
require_once('./modules/' . $mods['filename']);
}
else
{
if ($mods['identifier'] == 'custompage')
{

Brian
06-20-2005, 01:17 PM
It sounds like one of your modules is trying to include a blank file. Check your modules that are active on that page and be sure that they either have a file or template selected.