Bug #16670 Updated: php 4.1.0, cyrus-imapd.2.0.16, c-client compile-error

2002-04-19 Thread achim

 ID:   16670
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: linux / redhat 7.2
 PHP Version:  4.1.2
 New Comment:

Hallo,
Yes i have try RC4. 
I have first compile without all options, was all ok.
At the second i have compile with mysql-support, was all ok.
The next step i have compile with many options but without imap and
imap-ssl, cyrus was enable, all was ok. (sorry a little problem was
with DOM-support, my library was maby to old).
in the next step i have compiled with mysql, openssl, cyrus, imap and
imap-ssl, bull-shit .
Ok. i think the problem is only the c-client.

the biggest crazy step was the follow.
i have compiled php4.0.6 with imap and imap-ssl, the configure say in
this moment (was very good) yoer imap support nothing ssl please remove
or --without-imap-ssl or so.
i have then configure run und after this compile with cyrus, and imap
but without imap-ssl, was very good.

Please look the next, that's crazy !!

I have the compiled php4.1.2 with 
mysql, openssl, cyrus and imap  *** but ***  without imap-ssl.
the configure comes with an error and say

your c-client is compiled with ssl pleas youse
imap-ssl

Thanks a lot for your help

and a nice day

Best reagards
Achim


Previous Comments:


[2002-04-18 16:32:31] [EMAIL PROTECTED]

Did you or did you not try the RC4? 




[2002-04-18 10:31:46] [EMAIL PROTECTED]

Hallo,
yes i have download 4.1.2 and 4.0.6 , configure and compile.
The problem, i think at this moment is the follow.
When i compile php4.0.6 with the same options zhe comes in the
configure-error the meassage your c-client mot support ssl please
remove or recompile them, when i compile without ssl then is all ok. I
think at this moment this was the Problem with php4.1.0 i think at the
same with 4.2.x.
Ok. i must look was is the error in c-client. But i has him compiles
with ssl-support. maby not correct.

Thanks a lot for this moment for
all your help

best reagards
Achim



[2002-04-18 06:22:29] [EMAIL PROTECTED]

Can you try 4.2.0RC4 (from www.php.net/~derick)? And can you try
compiling only --with-cyrus and no other extensions?



[2002-04-18 06:22:15] [EMAIL PROTECTED]

Can you try 4.2.0RC4 (from www.php.net/~derick)? And can you try
compiling only --with-cyrus and no other extensions?



[2002-04-17 16:33:11] [EMAIL PROTECTED]

hallo,

please help, i work many days with the same problem.

I have redhat7.2 system,
with the follows components

cyrus-sasl-1.5.24-23
cyrus-sasl-devel-1.5.24-23
cyrus-sasl-gssapi-1.5.24-23
cyrus-sasl-plain-1.5.24-23
cyrus-sasl-md5-1.5.24-23
imap-devel-2000c-15
and
cyrus-imapd-2.0.16-4

the configure script from php-4.1.0 
is 
./configure \
--with-apxs=/websec/apache/sbin/apxs \
--with-mysql=/usr/local/mysql \
--with-openssl=/usr/local/ssl \
--with-kerberos=/usr/kerberos \
--enable-versioning \
--enable-track-vars \
--with-zlib-dir=/usr/include \
--with-zlib=yes \
--with-jpeg-dir=/usr/include \
--with-tiff-dir=/usr/include \
--with-cyrus \
--with-db \
--with-gdbm=/usr/include \
--with-ndbm=/usr/include \
--with-db3=/usr/include \
--with-db3=/usr/include \
--enable-ftp \
--with-gd=usr/local/src/gd-1.8.4 \
--with-png-dir=/usr/lib \
--with-freetype-dir=/usr \
--with-pspell=/usr \
--with-xpm-dir=/usr \
--with-imap \
--with-imap-ssl=/usr/loca/ssl \
--with-mcrypt=/usr/include \
--with-mm=/usr/local \
--with-gettetxt=/usr/include \
--with-gd  \
--with-ncurses \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets \
--with-config-file-path=/etc

this run's with no problems

the make phu make many problems like this

Making all in cyrus
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/usr/local/src/php-4.1.0/ext/cyrus«
make[3]: Wechsel in das Verzeichnis Verzeichnis
»/usr/local/src/php-4.1.0/ext/cyrus«
/bin/sh /usr/local/src/php-4.1.0/libtool --silent --mode=compile gcc 
-I. -I/usr/local/src/php-4.1.0/ext/cyrus
-I/usr/local/src/php-4.1.0/main -I/usr/local/src/php-4.1.0
-I/websec/apache/include -I/usr/local/src/php-4.1.0/Zend
-I/usr/local/ssl/include -I/usr/local/include
-I/usr/include/freetype2/freetype -I/usr/include/imap
-I/usr/local/mysql/include/mysql -I/usr/include/pspell
-I/usr/local/src/php-4.1.0/ext/xml/expat  -DLINUX=22 -DMOD_SSL=208105
-DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM
-I/usr/local/src/php-4.1.0/TSRM -g -O2 -prefer-pic  -c cyrus.c
cyrus.c: In function `zm_startup_cyrus':
cyrus.c:88

Bug #16670 Updated: php 4.1.0, cyrus-imapd.2.0.16, c-client compile-error

2002-04-19 Thread achim

 ID:   16670
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: linux / redhat 7.2
 PHP Version:  4.1.2
 New Comment:

hallo,
i have compiled php-4.2.0RC4 on a new machine with suse 7.3

i think imap-ssl is ok. but now is the follow error

configure:36521: result: no
configure:36535: error: Sorry, I was not able to diagnose which
libmcrypt version you have installed.

i have installed
libmcrypt-2.4.20
and
mcrypt-2.5.10

with the php-configure script option
--with-mcrypt=/usr/local/include 

the prefix from mcrypt and libcrypt is /usr/local

i have no id but in the php config.log is this message

cannot find -lgssapi_krb5
but on my suse i have no libgssapi_krb5

Thanks a lot for help

Best reagards 
Achim


Previous Comments:


[2002-04-19 10:25:05] [EMAIL PROTECTED]

And what did happen with 4.2.0RC4 ???
And have you always done a clean configure / make
between those different configures?




[2002-04-19 07:39:21] [EMAIL PROTECTED]

Hallo,
Yes i have try RC4. 
I have first compile without all options, was all ok.
At the second i have compile with mysql-support, was all ok.
The next step i have compile with many options but without imap and
imap-ssl, cyrus was enable, all was ok. (sorry a little problem was
with DOM-support, my library was maby to old).
in the next step i have compiled with mysql, openssl, cyrus, imap and
imap-ssl, bull-shit .
Ok. i think the problem is only the c-client.

the biggest crazy step was the follow.
i have compiled php4.0.6 with imap and imap-ssl, the configure say in
this moment (was very good) yoer imap support nothing ssl please remove
or --without-imap-ssl or so.
i have then configure run und after this compile with cyrus, and imap
but without imap-ssl, was very good.

Please look the next, that's crazy !!

I have the compiled php4.1.2 with 
mysql, openssl, cyrus and imap  *** but ***  without imap-ssl.
the configure comes with an error and say

your c-client is compiled with ssl pleas youse
imap-ssl

Thanks a lot for your help

and a nice day

Best reagards
Achim



[2002-04-18 16:32:31] [EMAIL PROTECTED]

Did you or did you not try the RC4? 




[2002-04-18 10:31:46] [EMAIL PROTECTED]

Hallo,
yes i have download 4.1.2 and 4.0.6 , configure and compile.
The problem, i think at this moment is the follow.
When i compile php4.0.6 with the same options zhe comes in the
configure-error the meassage your c-client mot support ssl please
remove or recompile them, when i compile without ssl then is all ok. I
think at this moment this was the Problem with php4.1.0 i think at the
same with 4.2.x.
Ok. i must look was is the error in c-client. But i has him compiles
with ssl-support. maby not correct.

Thanks a lot for this moment for
all your help

best reagards
Achim



[2002-04-18 06:22:29] [EMAIL PROTECTED]

Can you try 4.2.0RC4 (from www.php.net/~derick)? And can you try
compiling only --with-cyrus and no other extensions?



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16670

-- 
Edit this bug report at http://bugs.php.net/?id=16670edit=1




Bug #16670 Updated: php 4.1.0, cyrus-imapd.2.0.16, c-client compile-error

2002-04-18 Thread achim

 ID:   16670
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: linux / redhat 7.2
 PHP Version:  4.1.2
 New Comment:

Hallo,
yes i have download 4.1.2 and 4.0.6 , configure and compile.
The problem, i think at this moment is the follow.
When i compile php4.0.6 with the same options zhe comes in the
configure-error the meassage your c-client mot support ssl please
remove or recompile them, when i compile without ssl then is all ok. I
think at this moment this was the Problem with php4.1.0 i think at the
same with 4.2.x.
Ok. i must look was is the error in c-client. But i has him compiles
with ssl-support. maby not correct.

Thanks a lot for this moment for
all your help

best reagards
Achim


Previous Comments:


[2002-04-18 06:22:29] [EMAIL PROTECTED]

Can you try 4.2.0RC4 (from www.php.net/~derick)? And can you try
compiling only --with-cyrus and no other extensions?



[2002-04-18 06:22:15] [EMAIL PROTECTED]

Can you try 4.2.0RC4 (from www.php.net/~derick)? And can you try
compiling only --with-cyrus and no other extensions?



[2002-04-17 16:33:11] [EMAIL PROTECTED]

hallo,

please help, i work many days with the same problem.

I have redhat7.2 system,
with the follows components

cyrus-sasl-1.5.24-23
cyrus-sasl-devel-1.5.24-23
cyrus-sasl-gssapi-1.5.24-23
cyrus-sasl-plain-1.5.24-23
cyrus-sasl-md5-1.5.24-23
imap-devel-2000c-15
and
cyrus-imapd-2.0.16-4

the configure script from php-4.1.0 
is 
./configure \
--with-apxs=/websec/apache/sbin/apxs \
--with-mysql=/usr/local/mysql \
--with-openssl=/usr/local/ssl \
--with-kerberos=/usr/kerberos \
--enable-versioning \
--enable-track-vars \
--with-zlib-dir=/usr/include \
--with-zlib=yes \
--with-jpeg-dir=/usr/include \
--with-tiff-dir=/usr/include \
--with-cyrus \
--with-db \
--with-gdbm=/usr/include \
--with-ndbm=/usr/include \
--with-db3=/usr/include \
--with-db3=/usr/include \
--enable-ftp \
--with-gd=usr/local/src/gd-1.8.4 \
--with-png-dir=/usr/lib \
--with-freetype-dir=/usr \
--with-pspell=/usr \
--with-xpm-dir=/usr \
--with-imap \
--with-imap-ssl=/usr/loca/ssl \
--with-mcrypt=/usr/include \
--with-mm=/usr/local \
--with-gettetxt=/usr/include \
--with-gd  \
--with-ncurses \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets \
--with-config-file-path=/etc

this run's with no problems

the make phu make many problems like this

Making all in cyrus
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/usr/local/src/php-4.1.0/ext/cyrus«
make[3]: Wechsel in das Verzeichnis Verzeichnis
»/usr/local/src/php-4.1.0/ext/cyrus«
/bin/sh /usr/local/src/php-4.1.0/libtool --silent --mode=compile gcc 
-I. -I/usr/local/src/php-4.1.0/ext/cyrus
-I/usr/local/src/php-4.1.0/main -I/usr/local/src/php-4.1.0
-I/websec/apache/include -I/usr/local/src/php-4.1.0/Zend
-I/usr/local/ssl/include -I/usr/local/include
-I/usr/include/freetype2/freetype -I/usr/include/imap
-I/usr/local/mysql/include/mysql -I/usr/include/pspell
-I/usr/local/src/php-4.1.0/ext/xml/expat  -DLINUX=22 -DMOD_SSL=208105
-DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM
-I/usr/local/src/php-4.1.0/TSRM -g -O2 -prefer-pic  -c cyrus.c
cyrus.c: In function `zm_startup_cyrus':
cyrus.c:88: `IMCLIENT_CONN_NOSYNCLITERAL' undeclared (first use in this
function)
cyrus.c:88: (Each undeclared identifier is reported only once
cyrus.c:88: for each function it appears in.)
cyrus.c:88: `CONST_CS_' undeclared (first use in this function)
cyrus.c: In function `zif_cyrus_authenticate':
cyrus.c:271: warning: assignment makes pointer from integer without a
cast
cyrus.c:275: warning: assignment makes pointer from integer without a
cast
cyrus.c:293: warning: comparison between pointer and integer
cyrus.c:302: warning: comparison between pointer and integer
cyrus.c: In function `zif_cyrus_query':
cyrus.c:467: void value not ignored as it ought to be
make[3]: *** [cyrus.lo] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
»/usr/local/src/php-4.1.0/ext/cyrus«
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/usr/local/src/php-4.1.0/ext/cyrus«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/usr/local/src/php-4.1.0/ext«
make: *** [all-recursive] Fehler 1

please help me, please 


Best reagards

and a lot of thanks

Achim




-- 
Edit this bug report at http://bugs.php.net/?id=16670edit=1




Bug #16670: php 4.1.0, cyrus-imapd.2.0.16, c-client compile-error

2002-04-17 Thread achim

From: [EMAIL PROTECTED]
Operating system: linux / redhat 7.2
PHP version:  4.1.2
PHP Bug Type: Compile Failure
Bug description:  php 4.1.0, cyrus-imapd.2.0.16, c-client compile-error

hallo,

please help, i work many days with the same problem.

I have redhat7.2 system,
with the follows components

cyrus-sasl-1.5.24-23
cyrus-sasl-devel-1.5.24-23
cyrus-sasl-gssapi-1.5.24-23
cyrus-sasl-plain-1.5.24-23
cyrus-sasl-md5-1.5.24-23
imap-devel-2000c-15
and
cyrus-imapd-2.0.16-4

the configure script from php-4.1.0 
is 
./configure \
--with-apxs=/websec/apache/sbin/apxs \
--with-mysql=/usr/local/mysql \
--with-openssl=/usr/local/ssl \
--with-kerberos=/usr/kerberos \
--enable-versioning \
--enable-track-vars \
--with-zlib-dir=/usr/include \
--with-zlib=yes \
--with-jpeg-dir=/usr/include \
--with-tiff-dir=/usr/include \
--with-cyrus \
--with-db \
--with-gdbm=/usr/include \
--with-ndbm=/usr/include \
--with-db3=/usr/include \
--with-db3=/usr/include \
--enable-ftp \
--with-gd=usr/local/src/gd-1.8.4 \
--with-png-dir=/usr/lib \
--with-freetype-dir=/usr \
--with-pspell=/usr \
--with-xpm-dir=/usr \
--with-imap \
--with-imap-ssl=/usr/loca/ssl \
--with-mcrypt=/usr/include \
--with-mm=/usr/local \
--with-gettetxt=/usr/include \
--with-gd  \
--with-ncurses \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets \
--with-config-file-path=/etc

this run's with no problems

the make phu make many problems like this

Making all in cyrus
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/usr/local/src/php-4.1.0/ext/cyrus«
make[3]: Wechsel in das Verzeichnis Verzeichnis
»/usr/local/src/php-4.1.0/ext/cyrus«
/bin/sh /usr/local/src/php-4.1.0/libtool --silent --mode=compile gcc  -I.
-I/usr/local/src/php-4.1.0/ext/cyrus -I/usr/local/src/php-4.1.0/main
-I/usr/local/src/php-4.1.0 -I/websec/apache/include
-I/usr/local/src/php-4.1.0/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/usr/include/freetype2/freetype -I/usr/include/imap
-I/usr/local/mysql/include/mysql -I/usr/include/pspell
-I/usr/local/src/php-4.1.0/ext/xml/expat  -DLINUX=22 -DMOD_SSL=208105
-DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM
-I/usr/local/src/php-4.1.0/TSRM -g -O2 -prefer-pic  -c cyrus.c
cyrus.c: In function `zm_startup_cyrus':
cyrus.c:88: `IMCLIENT_CONN_NOSYNCLITERAL' undeclared (first use in this
function)
cyrus.c:88: (Each undeclared identifier is reported only once
cyrus.c:88: for each function it appears in.)
cyrus.c:88: `CONST_CS_' undeclared (first use in this function)
cyrus.c: In function `zif_cyrus_authenticate':
cyrus.c:271: warning: assignment makes pointer from integer without a
cast
cyrus.c:275: warning: assignment makes pointer from integer without a
cast
cyrus.c:293: warning: comparison between pointer and integer
cyrus.c:302: warning: comparison between pointer and integer
cyrus.c: In function `zif_cyrus_query':
cyrus.c:467: void value not ignored as it ought to be
make[3]: *** [cyrus.lo] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
»/usr/local/src/php-4.1.0/ext/cyrus«
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/usr/local/src/php-4.1.0/ext/cyrus«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/usr/local/src/php-4.1.0/ext«
make: *** [all-recursive] Fehler 1

please help me, please 


Best reagards

and a lot of thanks

Achim
-- 
Edit bug report at http://bugs.php.net/?id=16670edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16670r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16670r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16670r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16670r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16670r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16670r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16670r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16670r=submittedtwice




Bug #15983 Updated: session variables lost between pages

2002-04-12 Thread achim

 ID:   15983
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Session related
 Operating System: Debian/Linux mips platform
 PHP Version:  4.1.2
 New Comment:

what about this workaround:

--- page #1 ---
session_start();
$_SESSION[test] = some value;
---

--- page #2 ---
session_start();
print $_SESSION[test];
---

this works well for us.

/achim


Previous Comments:


[2002-04-05 03:50:23] [EMAIL PROTECTED]

Even in PHP 4.2.0RC1 the bug is still there.

Nothing is changed.

Best regards,

Soeren,



[2002-04-02 09:48:13] [EMAIL PROTECTED]

Could you try 4.2.0RC1?
Please visit http://qa.php.net/ for it.



[2002-03-18 11:16:41] [EMAIL PROTECTED]

Here is part of what is going wrong. PHP starts out with each session
variable appearing as a global and also in $_SESSION. Initially these
are linked by reference (not clear how) and contain the same data. On
my pages this linkage appears to get broken so the contents
$GLOBALS['S'] and $_SESSION['S'] are not the same. $GLOBALS contains
the latest data, $_SESSION contains the data as of the start of the
page. Consequently changes to the $_SESSION variable are not being
saved between pages.

My work around is to use the following at the end of each page for $S:

if ( !($_SESSION['S'] === $S) )
$_SESSION['S'] = $S;

This updates the contents of the $_SESSION variable if it is not longer
the same as the global.

Based on a comment from one of the developers, the problem may relate
to having a global declaration for a session variable that appears
outside a function scope. I have these declarations on each of my pages
because PHP used to require them.



[2002-03-12 20:52:42] [EMAIL PROTECTED]

I've had the same issue (see bug 15822, which was marked as a
duplicate, though nobody saw fit to tell me what it was a duplicate
of).

Anyone have a work-around?



[2002-03-10 09:14:31] [EMAIL PROTECTED]

The session variables are lost between pages.

For example:
session1.php:
?
session_start();
$test = Hello world;
session_register(test);
?

session2.php:
?
session_start();
echo $test;
?

The output on page two is the empty string.

A look at the sess_* in /tmp show that it contain the variable and the
value after a request on session1.php.

After a request on session2.php the file is empty.

This error shows up in php 4.1.1 and 4.1.2.

In version 4.0.6 everything works as it is suppose to.

uname --all:
Linux indy01 2.4.16 #1 Sun Dec 16 16:38:44 CET 2001 mips unknown

gcc --version:
2.95.4




-- 
Edit this bug report at http://bugs.php.net/?id=15983edit=1




Bug #8545 Updated: Session variables not carried forward in Netscape Client

2002-04-11 Thread achim

 ID:   8545
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Session related
 Operating System: Linux RH 6.2
 PHP Version:  4.1.1
 New Comment:

same for me:

php 4.1.1
apache 1.3.20

session.use_cookies = enabled/disabled
session.save_handler = files / user
session.use_trans_sid = enabled / disabled

makes no difference

just upgraded to 4.1.2 and everythings fine.

/achim


Previous Comments:


[2002-04-10 03:55:42] [EMAIL PROTECTED]

I am having the same problem...I am running apache 1.3.24 win32 in
win2k AS...with php 4.1.1



[2002-03-07 14:52:53] [EMAIL PROTECTED]

PS apache is running standalone, not xinetd.



[2002-03-07 14:49:43] [EMAIL PROTECTED]

I get these results with RH7.0,Apache 1.3.22,PHP 4.1.1 (php.ini
display_errors=on, register_globals= off) Netscape 4.75
(cookies,javascript on OR off) on my development workstation:

(first.php)
Use of undefined constant test - assumed 'test' in
/var/www/hoecoop/html/auth/first.php on line 3
Click here to goto next page 


Warning: Undefined variable: test in
/var/www/hoecoop/html/auth/second.php on line 3
Click here to goto first page 

Help !!!



[2002-03-04 00:00:02] [EMAIL PROTECTED]

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.



[2002-02-03 19:58:19] [EMAIL PROTECTED]

To reporter: Is this bug still in PHP 4.1.1?



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/8545

-- 
Edit this bug report at http://bugs.php.net/?id=8545edit=1