Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/07/2010, 10:09
edsolla
 
Fecha de Ingreso: marzo-2008
Mensajes: 20
Antigüedad: 16 años, 1 mes
Puntos: 0
Problema con las urls de los include

Hola,

Estoy haciendo una aplicacion web, y hasta ahora no me ha dado ningun error, pero ahora me empieza a dar error los include:

Código HTML:
Ver original
  1. Warning: include_once(classes/AccesoBD.php) [function.include-once]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/Psycotrip/classes/Proyecto.php on line 2
  2.  
  3. Warning: include_once() [function.include]: Failed opening 'classes/AccesoBD.php' for inclusion (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/Psycotrip/classes/Proyecto.php on line 2
  4.  
  5. Warning: include_once(classes/Proyecto_Documento.php) [function.include-once]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/Psycotrip/classes/Proyecto.php on line 3
  6.  
  7. Warning: include_once() [function.include]: Failed opening 'classes/Proyecto_Documento.php' for inclusion (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/Psycotrip/classes/Proyecto.php on line 3
  8.  
  9. Warning: include_once(classes/Proyecto_Persona.php) [function.include-once]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/Psycotrip/classes/Proyecto.php on line 4
  10.  
  11. Warning: include_once() [function.include]: Failed opening 'classes/Proyecto_Persona.php' for inclusion (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/Psycotrip/classes/Proyecto.php on line 4
  12.  
  13. Fatal error: Class 'Db' not found in /Applications/XAMPP/xamppfiles/htdocs/Psycotrip/classes/Proyecto.php on line 140

Los archivos estan en varios directorios anidados, la estructura se puede ver en este link

http://www.imaxenes.com/imagen/captura_de_pantalla_2010_07_24_a_las_171aq57dm.png .html

Y yo siempre he puesto las urls de forma completa, por ejemplo si quiero acceder al archivo Proyecto.php, que se encuentra en el directorio classes:

include_once("classes/Proyecto.php");

Nunca me habia dado problemas hasta ahora, no se si hice algo mal. un saludo y gracias!