[Obm] Re: OBM Questions

Bruno LEVEQUE bruno.leveque@net6d.com
Wed, 25 Feb 2004 09:40:47 +0100 (CET)


Bonjour,

J'utilise Mozilla 1.5b (moteur gecko/20030827), firebird 0.7 (moteur gecko/20031007) sous linux.
php : 4.3.2

Je me tiens à votre disposition.


Voici toute ma conf php (résultat de phpinfo, avec des données censurées [...]) au cas où

System 	Linux 2.4.23 #3 Mon Jan 26 11:38:28 CET 2004 i686
Build Date 	Oct 15 2003 22:45:30
Configure Command 	'./configure' '--prefix=/usr' '--with-pgsql=[...]postgres7.3.4' '--with-apxs=/usr/sbin/apxs' '--with-gd' '--with-zlib=/usr' '--enable-dio'
Server API 	Apache
Virtual Directory Support 	disabled
Configuration File (php.ini) Path 	/etc/apache/php.ini
PHP API 	20020918
PHP Extension 	20020429
Zend Extension 	20021010
Debug Build 	no
Thread Safety 	disabled
Registered PHP Streams 	php, http, ftp, compress.zlib

allow_call_time_pass_reference	Off	Off
allow_url_fopen	On	On
always_populate_raw_post_data	Off	Off
arg_separator.input	&	&
arg_separator.output	&	&
asp_tags	Off	Off
auto_append_file	no value	no value
auto_prepend_file	no value	no value
browscap	no value	no value
default_charset	no value	no value
default_mimetype	text/html	text/html
define_syslog_variables	Off	Off
disable_classes	no value	no value
disable_functions	no value	no value
display_errors	Off	Off
display_startup_errors	Off	Off
doc_root	no value	no value
docref_ext	no value	no value
docref_root	no value	no value
enable_dl	On	On
error_append_string	no value	no value
error_log	no value	no value
error_prepend_string	no value	no value
error_reporting	2047	2047
expose_php	On	On
extension_dir	/usr/lib/php/extensions/	/usr/lib/php/extensions/
file_uploads	On	On
gpc_order	GPC	GPC
highlight.bg	#FFFFFF	#FFFFFF
highlight.comment	#FF8000	#FF8000
highlight.default	#0000BB	#0000BB
highlight.html	#000000	#000000
highlight.keyword	#007700	#007700
highlight.string	#DD0000	#DD0000
html_errors	On	On
ignore_repeated_errors	Off	Off
ignore_repeated_source	Off	Off
ignore_user_abort	Off	Off
implicit_flush	Off	Off
include_path	.:/php/includes:[...]/obm-0.7.5/obminclude	.:/php/includes:[...]/obm-0.7.5/obminclude
log_errors	On	On
log_errors_max_len	1024	1024
magic_quotes_gpc	Off	Off
magic_quotes_runtime	Off	Off
magic_quotes_sybase	Off	Off
max_execution_time	30	30
max_input_time	60	60
open_basedir	no value	no value
output_buffering	4096	4096
output_handler	no value	no value
post_max_size	8M	8M
precision	14	14
register_argc_argv	Off	Off
register_globals	Off	Off
report_memleaks	On	On
safe_mode	Off	Off
safe_mode_exec_dir	no value	no value
safe_mode_gid	Off	Off
safe_mode_include_dir	no value	no value
sendmail_from	me@localhost.com	me@localhost.com
sendmail_path	/usr/sbin/sendmail -t -i 	/usr/sbin/sendmail -t -i
serialize_precision	100	100
short_open_tag	On	On
SMTP	localhost	localhost
smtp_port	25	25
sql.safe_mode	Off	Off
track_errors	Off	Off
unserialize_callback_func	no value	no value
upload_max_filesize	2M	2M
upload_tmp_dir	no value	no value
user_dir	no value	no value
variables_order	GPCS	GPCS
xmlrpc_error_number	0	0
xmlrpc_errors	Off	Off
y2k_compliance	On	On

APACHE_INCLUDE 	no value
APACHE_TARGET 	no value
Apache Version 	Apache/1.3.27
Apache Release 	10327100
Apache API Version 	19990320
Hostname:Port 	[...]:80
User/Group 	nobody(99)/98
Max Requests 	Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts 	Connection: 300 - Keep-Alive: 15
Server Root 	/usr
Loaded Modules 	mod_php4, mod_setenvif, mod_so, mod_unique_id, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_dbm, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_define, mod_env, mod_vhost_alias, http_core

child_terminate	0	0
engine	1	1
last_modified	0	0
xbithack	0	0


AUTH_TYPE 	Basic
DOCUMENT_ROOT 	[...]/nagios/share
HTTP_ACCEPT 	text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
HTTP_ACCEPT_CHARSET 	ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING 	gzip,deflate
HTTP_ACCEPT_LANGUAGE 	en-us,en;q=0.5
HTTP_CONNECTION 	keep-alive
HTTP_COOKIE 	MGWSESSION=af9e458ce7c03a62fa8fbe35f7db24f5
HTTP_HOST 	[...]:5682
HTTP_KEEP_ALIVE 	300
HTTP_USER_AGENT 	Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
OBM_INCLUDE_VAR 	[...]/obm-0.7.5/obminclude
PATH 	/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
REMOTE_ADDR 	[...]
REMOTE_PORT 	34604
REMOTE_USER 	[...]
SCRIPT_FILENAME 	[...]/pv.php
SERVER_ADDR 	[...]
SERVER_ADMIN 	root@midas.slackware.lan
SERVER_NAME 	[...]
SERVER_PORT 	80
SERVER_SIGNATURE 	<ADDRESS>Apache/1.3.27 Server at [...] Port 80</ADDRESS>
SERVER_SOFTWARE 	Apache/1.3.27 (Unix) PHP/4.3.2
UNIQUE_ID 	QDxdEsColrEAAAFfBNY
GATEWAY_INTERFACE 	CGI/1.1
SERVER_PROTOCOL 	HTTP/1.1
REQUEST_METHOD 	GET
QUERY_STRING 	no value
REQUEST_URI 	[...]/pv.php
SCRIPT_NAME 	[...]/pv.php

HTTP Headers Information
HTTP Request Headers
HTTP Request 	GET [...]/pv.php HTTP/1.1
Accept 	text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Charset 	ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding 	gzip,deflate
Accept-Language 	en-us,en;q=0.5
Authorization 	Basic YnJ1bm86RT1tY14y
Connection 	keep-alive
Cookie 	MGWSESSION=af9e458ce7c03a62fa8fbe35f7db24f5
Host 	moissac:5682
Keep-Alive 	300
User-Agent 	Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
HTTP Response Headers
X-Powered-By 	PHP/4.3.2
Keep-Alive 	timeout=15, max=95
Connection 	Keep-Alive
Transfer-Encoding 	chunked
Content-Type 	text/html

ctype
ctype functions 	enabled

dio
dio support 	enabled

gd
GD Support 	enabled
GD Version 	bundled (2.0.12 compatible)
GIF Read Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
XBM Support 	enabled

mysql
MySQL Support	enabled
Active Persistent Links 	0
Active Links 	0
Client API version 	3.23.49
MYSQL_MODULE_TYPE 	builtin
MYSQL_SOCKET 	/tmp/mysql.sock
MYSQL_INCLUDE 	no value
MYSQL_LIBS 	no value

Directive	Local Value	Master Value
mysql.allow_persistent	On	On
mysql.connect_timeout	-1	-1
mysql.default_host	no value	no value
mysql.default_password	no value	no value
mysql.default_port	no value	no value
mysql.default_socket	no value	no value
mysql.default_user	no value	no value
mysql.max_links	Unlimited	Unlimited
mysql.max_persistent	Unlimited	Unlimited
mysql.trace_mode	Off	Off

overload
User-Space Object Overloading Support 	enabled

pcre
PCRE (Perl Compatible Regular Expressions) Support 	enabled
PCRE Library Version 	3.92 11-Sep-2002

pgsql
PostgreSQL Support	enabled
PostgreSQL(libpq) Version 	7.3.4
Multibyte character support 	disabled
SSL support 	enabled
Active Persistent Links 	1
Active Links 	1

Directive	Local Value	Master Value
pgsql.allow_persistent	On	On
pgsql.auto_reset_persistent	Off	Off
pgsql.ignore_notice	Off	Off
pgsql.log_notice	Off	Off
pgsql.max_links	Unlimited	Unlimited
pgsql.max_persistent	Unlimited	Unlimited

posix
Revision 	$Revision: 1.51.2.2 $

session
Session Support 	enabled
Registered save handlers 	files user

Directive	Local Value	Master Value
session.auto_start	Off	Off
session.bug_compat_42	Off	Off
session.bug_compat_warn	On	On
session.cache_expire	180	180
session.cache_limiter	nocache	nocache
session.cookie_domain	no value	no value
session.cookie_lifetime	0	0
session.cookie_path	/	/
session.cookie_secure	Off	Off
session.entropy_file	no value	no value
session.entropy_length	0	0
session.gc_divisor	100	100
session.gc_maxlifetime	1440	1440
session.gc_probability	1	1
session.name	PHPSESSID	PHPSESSID
session.referer_check	no value	no value
session.save_handler	files	files
session.save_path	/tmp	/tmp
session.serialize_handler	php	php
session.use_cookies	On	On
session.use_only_cookies	Off	Off
session.use_trans_sid	Off	Off

standard
Regex Library 	Bundled library enabled
Dynamic Library Support 	enabled
Path to sendmail 	/usr/sbin/sendmail -t -i

Directive	Local Value	Master Value
assert.active	1	1
assert.bail	0	0
assert.callback	no value	no value
assert.quiet_eval	0	0
assert.warning	1	1
auto_detect_line_endings	0	0
default_socket_timeout	60	60
safe_mode_allowed_env_vars	PHP_	PHP_
safe_mode_protected_env_vars	LD_LIBRARY_PATH	LD_LIBRARY_PATH
url_rewriter.tags	a=href,area=href,frame=src,input=src,form=fakeentry	a=href,area=href,frame=src,input=src,form=fakeentry
user_agent	no value	no value

tokenizer
Tokenizer Support 	enabled

xml
XML Support 	active
XML Namespace Support 	active
EXPAT Version 	1.95.2

zlib
ZLib Support 	enabled
Compiled Version 	1.1.4
Linked Version 	1.1.4

Directive	Local Value	Master Value
zlib.output_compression	Off	Off
zlib.output_compression_level	-1	-1
zlib.output_handler	no value	no value

Additional Modules
Module Name

Environment
Variable	Value
CONSOLE 	/dev/console
TERM 	linux
INIT_VERSION 	sysvinit-2.84
PATH 	/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
RUNLEVEL 	4
PWD 	/
PREVLEVEL 	N
HOME 	/
SHLVL 	2
BOOT_IMAGE 	linux
_ 	/usr/sbin/httpd

PHP Variables
Variable	Value
_REQUEST["MGWSESSION"]	af9e458ce7c03a62fa8fbe35f7db24f5
_COOKIE["MGWSESSION"]	af9e458ce7c03a62fa8fbe35f7db24f5
_SERVER["AUTH_TYPE"]	Basic
_SERVER["DOCUMENT_ROOT"]	[...]/nagios/share
_SERVER["HTTP_ACCEPT"]	text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
_SERVER["HTTP_ACCEPT_CHARSET"]	ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_ACCEPT_ENCODING"]	gzip,deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"]	en-us,en;q=0.5
_SERVER["HTTP_CONNECTION"]	keep-alive
_SERVER["HTTP_COOKIE"]	MGWSESSION=af9e458ce7c03a62fa8fbe35f7db24f5
_SERVER["HTTP_HOST"]	[...]:5682
_SERVER["HTTP_KEEP_ALIVE"]	300
_SERVER["HTTP_USER_AGENT"]	Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
_SERVER["OBM_INCLUDE_VAR"]	[...]/obm-0.7.5/obminclude
_SERVER["PATH"]	/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
_SERVER["REMOTE_ADDR"]	[...]
_SERVER["REMOTE_PORT"]	34604
_SERVER["REMOTE_USER"]	[...]
_SERVER["SCRIPT_FILENAME"]	[...]/pv.php
_SERVER["SERVER_ADDR"]	[...]
_SERVER["SERVER_ADMIN"]	root@midas.slackware.lan
_SERVER["SERVER_NAME"]	[...]
_SERVER["SERVER_PORT"]	80
_SERVER["SERVER_SIGNATURE"]	<ADDRESS>Apache/1.3.27 Server at [...] Port 80</ADDRESS>
_SERVER["SERVER_SOFTWARE"]	Apache/1.3.27 (Unix) PHP/4.3.2
_SERVER["UNIQUE_ID"]	QDxdEsColrEAAAFfBNY
_SERVER["GATEWAY_INTERFACE"]	CGI/1.1
_SERVER["SERVER_PROTOCOL"]	HTTP/1.1
_SERVER["REQUEST_METHOD"]	GET
_SERVER["QUERY_STRING"]	no value
_SERVER["REQUEST_URI"]	[...]/pv.php
_SERVER["SCRIPT_NAME"]	[...]/pv.php
_SERVER["PATH_TRANSLATED"]	[...]/pv.php
_SERVER["PHP_SELF"]	[...]/pv.php
_SERVER["PHP_AUTH_USER"]	[...]
_SERVER["PHP_AUTH_PW"]	[...]


Tout fonctionne très bien avec d'autres produits.

Pour postgres, je travaille 24/24 sous unix/linux, donc je con,nais le problème de la casse et de plus je participe aussi activement que possible au développement de postgres, donc ... .


On Wed, 25 Feb 2004, Pierre Baudracco wrote:

> A tout hasard, quel navigateur (+version) utilisez vous ?
> Vous semblez etre plusieurs a avoir ce probleme sans que nous arrivions a la
> reproduire.
> Et versions de php ?
> Sinon Les login postgres sont sensibles a la casse.
>
> La 0.8 sera entierement compatible postgres.
>
> Cordialement,
>
> Quoting Bruno LEVEQUE <bruno.leveque@net6d.com>:
>
> > Hélas, oui.
> >
> > Mais lorsque je regarde la console javascript, je ne vois rien paraître.
> >
> > > est-ce que le javascript est activé dans votre navigateur ?
> > >
> > > > Je suis en train de tester obm et je me trouve confronté à un soucis.
> > > > J'arrive bien sur la page de login, je saisis uadmin et padmin (par
> > exemple),
> > > > je valide, et là je reviens à la page d'accueil (j'ai déjà vu ça dans la
> > > > mailing liste).
> > > > Après avoir cherché un peu, j'ai analysé les trames et j'ai constaté que
> > la
> > > > variable password n'était pas renseignée alors que la variable login
> > l'est.
> > > >
> > > > Est-ce normal ?
> > > >
> > > > Comment faire pour entrer ?
> > > >
> > > >
> > > > Configuration :
> > > >
> > > > Linux Slackware
> > > > postgresql 7.3.5
> > > >
> > > >
> > > > Ci dessous les warnings et messages obtenus dans apache/error_log
> > > > (Désolé je camoufle le nom de ma machine et les chemins)
> > > >
> > > > [Wed Feb 18 12:42:05 2004] [error] PHP Notice:  Undefined index:  uid in
> > > > [...]/obm-0.7.5/obminclude/phplib/auth.inc on line 227
> > > > [Wed Feb 18 12:42:05 2004] [error] PHP Notice:  Undefined variable:
> > > > form_action in [...]/obm-0.7.5/obminclude/auth/crloginform.ihtml on line
> > 48
> > > >
> > > > Les erreurs suivantes ne me gènent pas, je sais d'où elles viennent ;)
> > > >
> > > > [Wed Feb 18 12:42:06 2004] [error] [client [...]] File does not exist:
> > > > [...]/images/bouton_login.gif
> > > > [Wed Feb 18 12:42:06 2004] [error] [client [...]] File does not exist:
> > > > [...]/images/accueil_obm.png
> > > > ...
>
>
> --
> Pierre Baudracco - Aliacom - 05 62 19 24 91 - www.aliacom.fr
>

Cordialement,



Bruno LEVEQUE
System Engineer
SARL NET6D
bruno.leveque@net6d.com
http://www.net6d.com