merci pour l'aide:
un script simple marche
Dans le navigateur j'ai ca comme erreur:
Notice: Undefined offset: 3 in /var/www/html/degroup-brest.inc.php on line 150
Notice: Undefined offset: 1 in /var/www/html/degroup-brest.inc.php on line 153
dans le log d'apache j'ai:
[client ] PHP Notice: Undefined variable: page in /var/www/html/index.php on line 2
[client] PHP Notice: Undefined variable: chat in /var/www/html/index.php on line 7
[client ] PHP Notice: Undefined offset: 3 in /var/www/html/stats.inc.php on line 43
[client ] PHP Notice: Undefined offset: 1 in /var/www/html/stats.inc.php on line 46
[Sun Nov 13 16:58:07 2005] [error] [client 127.0.0.1] File does not exist: /var/www/html/ap2_snmp
[Sun Nov 13 16:58:37 2005] [error] [client 127.0.0.1] File does not exist: /var/www/html/ap2_snmp
le probleme est revenu !
Dans webmin quand je veut mettre a jours les stats awstats, j'ai cette erreur:
Update for config "/etc/awstats/awstats.websat.be.conf" With data in log file "/var/log/httpd/access_log"... Phase 1 : First bypass old records, searching new record... Direct access after last parsed record (after line 2080) AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log. Your log file /var/log/httpd/access_log must have a bad format or LogFormat parameter setup does not match this format. Your AWStats LogFormat parameter is: 1 This means each line in your web server log file need to have "combined log format" like this: 111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] "GET / HTTP/1.1" 200 1234 "http://www.fromserver.com/from.htm" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" And this is an example of records AWStats found in your log file (the record number 50 in your log): 127.0.0.1 - - [13/Nov/2005:12:57:07 +0100] "GET /ap2_snmp/status " 404 611 "-" "-" Setup ('/etc/awstats/awstats.websat.be.conf' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory).
J'ai choisi via, quand le fait startx j'ai ca comme erreur:
serveur:~# startx
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
X: warning; process set to priority -1 instead of requested priority 0
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to submit@bugs.debian.org.
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
xinit: unable to connect to X server
xinit: No such process (errno 3): Server error.
serveur:~#
Sinon la commande X-version donne:
serveur:~# X -version
XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-14sarge1 20050901212727 fjp@localhost.localdomain)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.8-16.0508-2 i686 [ELF]
Build Date: 02 September 2005
This version of XFree86 has been extensively modified by the Debian
Project, and is not supported by the XFree86 Project, Inc., in any
way. Bugs should be reported to the Debian Bug Tracking System; see
<URL: http://www.debian.org/Bugs/Reporting(...) >.
We strongly encourage the use of the "reportbug" package and command
to ensure that bug reports contain as much useful information as
possible.
Before filing a bug report, you may want to consult the Debian X FAQ:
XHTML version: file:///usr/share/doc/xfree86-common/FAQ.xhtml
plain text version: file:///usr/share/doc/xfree86-common/FAQ.gz
Module Loader present
OS Kernel: Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Thu May 19 17:40:50 JST 2005
serveur:~#
[^] # Re: ET si ?
Posté par websat . En réponse au message Creation de vhosts avec apache + mandriva 2006. Évalué à 1.
[^] # Re: ET si ?
Posté par websat . En réponse au message Creation de vhosts avec apache + mandriva 2006. Évalué à 1.
Dans le fichier /etc/host j'ai:
127.0.0.1 serveur localhost
[^] # Re: ET si ?
Posté par websat . En réponse au message Creation de vhosts avec apache + mandriva 2006. Évalué à 1.
NameVirtualHost *:80
<VirtualHost *:80>
ServerName websat.be
DocumentRoot /var/www/html
</virtualHost>
<VirtualHost *:80>
ServerName www.websat.be
DocumentRoot /var/www/html
</virtualHost>
<VirtualHost *:80>
ServerName test.websat.be
DocumentRoot /var/www/test
</virtualHost>
Mais ca ne marche pas mieux !
[^] # Re: phpinfo()
Posté par websat . En réponse au message scripts php qui ne marche apres install mandriva 2006. Évalué à 1.
[^] # Re: phpinfo()
Posté par websat . En réponse au message scripts php qui ne marche apres install mandriva 2006. Évalué à 1.
http://www.websat.be/info.php
[^] # Re: Pfff
Posté par websat . En réponse au message scripts php qui ne marche apres install mandriva 2006. Évalué à 1.
un script simple marche
Dans le navigateur j'ai ca comme erreur:
Notice: Undefined offset: 3 in /var/www/html/degroup-brest.inc.php on line 150
Notice: Undefined offset: 1 in /var/www/html/degroup-brest.inc.php on line 153
dans le log d'apache j'ai:
[client ] PHP Notice: Undefined variable: page in /var/www/html/index.php on line 2
[client] PHP Notice: Undefined variable: chat in /var/www/html/index.php on line 7
[client ] PHP Notice: Undefined offset: 3 in /var/www/html/stats.inc.php on line 43
[client ] PHP Notice: Undefined offset: 1 in /var/www/html/stats.inc.php on line 46
[Sun Nov 13 16:58:07 2005] [error] [client 127.0.0.1] File does not exist: /var/www/html/ap2_snmp
[Sun Nov 13 16:58:37 2005] [error] [client 127.0.0.1] File does not exist: /var/www/html/ap2_snmp
voila
[^] # Re: Log ?
Posté par websat . En réponse au message scripts php qui ne marche apres install mandriva 2006. Évalué à 1.
Apres avoir reglé display_errors=on j'ai:
Notice: Undefined offset: 3 in /var/www/html/degroup-brest.inc.php on line 150
Notice: Undefined offset: 1 in /var/www/html/degroup-brest.inc.php on line 153
[^] # Re: Orthographe! (dans ta conf)
Posté par websat . En réponse au message Probleme avec awstats et access_log d'apache. Évalué à 1.
Dans webmin quand je veut mettre a jours les stats awstats, j'ai cette erreur:
Update for config "/etc/awstats/awstats.websat.be.conf" With data in log file "/var/log/httpd/access_log"... Phase 1 : First bypass old records, searching new record... Direct access after last parsed record (after line 2080) AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log. Your log file /var/log/httpd/access_log must have a bad format or LogFormat parameter setup does not match this format. Your AWStats LogFormat parameter is: 1 This means each line in your web server log file need to have "combined log format" like this: 111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] "GET / HTTP/1.1" 200 1234 "http://www.fromserver.com/from.htm" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" And this is an example of records AWStats found in your log file (the record number 50 in your log): 127.0.0.1 - - [13/Nov/2005:12:57:07 +0100] "GET /ap2_snmp/status " 404 611 "-" "-" Setup ('/etc/awstats/awstats.websat.be.conf' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory).
[^] # Re: Orthographe! (dans ta conf)
Posté par websat . En réponse au message Probleme avec awstats et access_log d'apache. Évalué à 1.
[^] # Re: Probleme de memoire
Posté par websat . En réponse au message Probleme de memoire et de config webmin sous mandriva 2006. Évalué à 1.
[^] # Re: Version
Posté par websat . En réponse au message Comment configurer le serverx pour cg VIA UniChrome sur debian sarge. Évalué à 1.
[^] # Re: Version
Posté par websat . En réponse au message Comment configurer le serverx pour cg VIA UniChrome sur debian sarge. Évalué à 1.
serveur:~# startx
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
X: warning; process set to priority -1 instead of requested priority 0
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to submit@bugs.debian.org.
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
xinit: unable to connect to X server
xinit: No such process (errno 3): Server error.
serveur:~#
Sinon la commande X-version donne:
serveur:~# X -version
XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-14sarge1 20050901212727 fjp@localhost.localdomain)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.8-16.0508-2 i686 [ELF]
Build Date: 02 September 2005
This version of XFree86 has been extensively modified by the Debian
Project, and is not supported by the XFree86 Project, Inc., in any
way. Bugs should be reported to the Debian Bug Tracking System; see
<URL: http://www.debian.org/Bugs/Reporting(...) >.
We strongly encourage the use of the "reportbug" package and command
to ensure that bug reports contain as much useful information as
possible.
Before filing a bug report, you may want to consult the Debian X FAQ:
XHTML version: file:///usr/share/doc/xfree86-common/FAQ.xhtml
plain text version: file:///usr/share/doc/xfree86-common/FAQ.gz
Module Loader present
OS Kernel: Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Thu May 19 17:40:50 JST 2005
serveur:~#