gracias por la respuesta solrag lo entiendo, convertire en clases todos los ficheros, es que era un proyecto que empece a hacerlo usando loadVars y sin clases de php y actualmente estoy migrando todas las conexiones con amfphp
lo que no entiendo es porque hay otros requires que si funcionan dentro del mismo fichero, tengo 2 requires que cargan 2 ficheros php sin ser clases y que se encargan de realizar la conexion con la bdd y decodificar la sesion y funcionan perfectamente pero lo raro es que a partir de esos 2 los siguientes que se encuentran dentro de sentencias if no funcionan eso es lo que me hizo confundirme, te pongo un trocito del codigo para que lo veas, los 2 requires que funcionan estan al principio y los que fallan los veras al final del codigo, por si te apetece explicar porque sucede, saludos y gracias por la respuesta.
Código PHP :
class impSelecDocs{
function imprimir($cd,$idrE_php,$documentosArr){
$s = $this->_getC();
   $s.= $cd;
         require '../../dc/sesionDecode.php';
            $sesion = decode($s);
            if($sesion == true){
                         require '../../dc/dc.php';
   $dS = explode(";", $documentosArr);
//COMPROBADOR DE LOS DOCUMENTOS SELECCIONADOS
$todaDoc = false;
if($dS[0] == "TD"){
   $todaDoc = true;
}
function existe($doc, $dS){
   $succes = false;
   for ($n=0; $n < count($dS); $n++) {
      if($dS[$n] == $doc){
         $succes = true;
         break;
      }else{
         $succes = false;
      }
      }
   if($succes){
      return true;
   }else{
      return false;
   }
   }
//---------------------------------------------------Una tabla más completa
function ImprovedTable($header1,$datax){
global $pdfTags;
$B = '';
$B2 = 'B';
$n = 7;
$w = array(74,14,74,14,14);
for($i=0;$i < count($header1);$i++){
   $pdfTags->SetFont('Arial','B',7);
$pdfTags->Cell($w[$i],3,$header1[$i],1,0,'C');
}
$pdfTags->Ln();
foreach ($datax as $rowx) {
   if($B == 'B'){$B = '';$B2 = 'B';$n = 7;}else{$B = 'B';$B2 = '';$n = 7;}
   $pdfTags->SetFont('Arial',$B,$n);
for($e=0;$e < count($header1);$e++){
   
$pdfTags->Cell($w[$e],4,$rowx[$e],'LR'.$B2);
}
$pdfTags->Ln();
}
$pdfTags->Cell(array_sum($w),0,'','T');
}
//-------------------------------------------------CONSULTAS
$cons = "SELECT razon,dir,cp,loc,ger1 FROM clientes where id='$idrE_php'";
$res = mysql_query($cons);
while ($row = mysql_fetch_row($res)){
   $NombreEmpresa = $row[0];
   $direccionEmpresa = $row[1];
   $cp = $row[2];
   $loc = $row[3];
   $gerente = $row[4];
}
//----------------------------------------------RECUPERAR FECHA
 $timer = time();
 $dia = date('d',$timer);
 $mes = date('m',$timer);
 $año = date('Y',$timer);
//----------------------------------------------CARGA DE LAS LIBRERIAS FPDF
//define the Paragraph String ~~ Required by Multicell Class
define('PARAGRAPH_STRING', '~~~');
//Tag Based Multicell Class
require("../../fpdf/multicelltag/class.multicelltag.php");
$pdfTags = new fpdf_multicelltag();
$pdfTags->Open();
$pdfTags->AliasNbPages(); 
$pdfTags->SetTextColor(0,0,0);
$pdfTags->SetFillColor(254,255,245);
$pdfTags->SetLeftMargin(15); 
$pdfTags->SetStyle("p","arial","",13,"0,0,0");
$pdfTags->SetStyle("p2","arial","",15,"0,0,0");
$pdfTags->SetStyle("pb","arial","B",8,"0,0,0");
$pdfTags->SetStyle("negSub","arial","BU",8,"0,0,0");
$pdfTags->SetStyle("t1","arial","B",10,"80,80,260");//azul
$pdfTags->SetStyle("t3","times","B",14,"203,0,48");
$pdfTags->SetStyle("t4","arial","B",10,"0,0,0");
$pdfTags->SetStyle("hh","times","B",11,"255,189,12");
$pdfTags->SetStyle("ss","arial","",7,"203,0,48");
$pdfTags->SetStyle("font","helvetica","",10,"0,0,255");
$pdfTags->SetStyle("style","helvetica","BI",10,"0,0,220");
$pdfTags->SetStyle("size","times","BI",13,"0,0,120");
$pdfTags->SetStyle("color","times","BI",13,"0,255,255");
$pdfTags->SetFont('Arial','',8);
$pdfTags->SetAutoPageBreak(true, 1);
   
//--------------------------------------------------------------------------------DOCUMENTO DE SEGURIDAD
if(existe('DS', $dS) || $todaDoc){
//$fecha = date('dmY',$timer);
//Class Extention for header and footer
//require_once("header_footer.inc");
//$pdfTags->SetMargins(20, 20, 20);
//$pdfTags->SetFont('Arial','B',11); 
//$pdfTags->MultiCell(0,4,"",0,1,'L',false);
//$pdfTags->Ln();
require 'impSelecDocs/01_docSeg.php';
}
//-----------------------------------------------------------------------------------------INDICE DE LOS ANEXOS
if(existe('IA', $dS) || $todaDoc){
   require 'impSelecDocs/02_Indice.php';
}
//-----------------------------------------------------------------------------------------ANEXO A
if(existe('AA', $dS) || $todaDoc){
   require 'impSelecDocs/03_AnexoA.php';
}
//-----------------------------------------------------------------------------------------ANEXO B
if(existe('AB', $dS) || $todaDoc){
   require 'impSelecDocs/04_AnexoB.php';
}
//-----------------------------------------------------------------------------------------ANEXO C
continua el codigo....
}//End Session
}//End class