PDA

Visualizza versione completa : non vede i link???


ravint
02-12-2002, 22.18.00
non ricordo piu' cosa vuol dire quando uno script php fa cosi...:wall:

Warning: Failed opening '/home/sites/site/webdatabase.php' for inclusion (include_path='.:/usr/lib/php') in /home/sites/site/web/adminpage/login.php on line 3

Warning: Failed opening '/home/sites/site/webpre.php' for inclusion (include_path='.:/usr/lib/php') in /home/sites/site/web/adminpage/login.php on line 4

Warning: Failed opening '/home/sites/site/webuser.php' for inclusion (include_path='.:/usr/lib/php') in /home/sites/site/web/adminpage/login.php on line 5

Fatal error: Call to undefined function: user_isloggedin() in /home/sites/site/web/adminpage/login.php on line 7

quipo.it
03-12-2002, 09.05.48
vuol dire che hai impostato male il path degli includes... dai un'occhiata a php.ini, e aggiungi le dir che pensi di usare, oppure puoi fare lo stesso via ini_set()

spiderman1
03-12-2002, 09.16.49
Originariamente inviato da ravint
non ricordo piu' cosa vuol dire quando uno script php fa cosi...:wall:

Warning: Failed opening '/home/sites/site/webdatabase.php' for inclusion (include_path='.:/usr/lib/php') in /home/sites/site/web/adminpage/login.php on line 3

Warning: Failed opening '/home/sites/site/webpre.php' for inclusion (include_path='.:/usr/lib/php') in /home/sites/site/web/adminpage/login.php on line 4

Warning: Failed opening '/home/sites/site/webuser.php' for inclusion (include_path='.:/usr/lib/php') in /home/sites/site/web/adminpage/login.php on line 5

Fatal error: Call to undefined function: user_isloggedin() in /home/sites/site/web/adminpage/login.php on line 7
Prova con un "find / -name php.info -print" per essere sicuro di avere un solo file php.ini . Altrimenti guarda a questo indirizzo
http://www.toutestfacile.com/php/errormsgs/standard_include.php

ravint
03-12-2002, 19.58.06
ma tutti gli script sono nella stessa directory quindi dovrebbe esseere cosi:

include($DOCUMENT_ROOT.'database.php');
include($DOCUMENT_ROOT.'pre.php');
include($DOCUMENT_ROOT.'user.php');

che ne dici???

ciao
Massimo
***************

ravint
03-12-2002, 21.29.49
ok ci sono riuscito

grazie
ciao
Massimo :p