Petit nouveau ! |
3 Messages
10 févr. 2011, 12:19
merci de vos réponse
voici le cas du site que j'ai passer sur mon pc perso
voici l'include de ma page d'index qui marchait avant le transfert du site (ligne 108)
voici l'erreur renvoyer dans le navigateur
Code : Tout sélectionner
Warning: include(originaux/menu.html) [function.include]: failed to open stream: Permission denied in /var/www/pedagogia/info_site_08.php on line 108
Warning: include() [function.include]: Failed opening 'originaux/menu.html' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/pedagogia/info_site_08.php on line 108
hors le dossier est bien pressent avec les droits lecture ecriture
Code : Tout sélectionner
pat@dell:~$ ls -l /var/www/pedagogia
total 116
-rwxrwxrwx 1 pat pat 8918 2008-02-29 23:53 com_bureau_07.PHP
-rwxrwxrwx 1 pat pat 3168 2008-02-29 23:38 com_bureau_08.php
-rwxrwxrwx 1 pat pat 2377 2008-02-29 22:30 igaleri_b.php
drwxrwxrwx 16 www-data www-data 4096 2011-01-16 16:52 igalerie
-rwxrwxrwx 1 pat pat 6703 2011-02-10 08:29 index.php
-rwxrwxrwx 1 pat pat 6661 2008-03-01 22:34 index.php~
-rwxrwxrwx 1 pat pat 4060 2008-02-29 23:21 info_site_07.php
-rwxrwxrwx 1 pat pat 5347 2011-02-10 10:43 info_site_08.php
-rwxrwxrwx 1 www-data www-data 45466 2008-03-01 20:40 localhost.sql.zip
-rwxrwxrwx 1 pat pat 3450 2008-03-01 21:48 mode.php
drwxrwxrwx 2 pat pat 4096 2011-02-10 08:33 originaux
-rwxrwxrwx 1 pat pat 7862 2008-02-29 22:27 serv_ftp.php
l'entête de ma page
Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title>info_site_08</title>
<link href="originaux/stle menu.css" rel="stylesheet" type="text/css" />
exemple d'un lien vers une autres page à partir de mon menu
donc sauf erreur ce lien est bien relatif
le navigateur me renvoie
Code : Tout sélectionner
Not Found
The requested URL /info_site_07.php was not found on this server.
Apache/2.2.12 (Ubuntu) Server at 127.0.0.1 Port 80[/code
le serveur est ok il me semble
[code]* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Thu Feb 10 10:50:20 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Thu Feb 10 10:50:21 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
[ OK ]
voici les infos qu'il me semblait devoir vous fournir
cordialement et encore merci