#31218 [NEW]: foreach() problem

2004-12-20 Thread ych at tcte dot com dot cn
From: ych at tcte dot com dot cn
Operating system: linux
PHP version:  4.3.10
PHP Bug Type: Reproducible crash
Bug description:  foreach() problem

Description:

while use phpmyadmin2.6.0-pl3 with php-4.3.10, phpmyadmin say Illegal
offset type in /phpmyadmin-2.6.0-pl3/libraries/grab_globals.lib.php on
line 54
, their is no problem with 4.3.9 or 5.0.3.

grab_globals.lib.php:
53:foreach ($server_vars as $current) {
54:if (isset($_SERVER[$current])) {
55:$$current = $_SERVER[$current];
56:} elseif (!isset($$current)) {
57:$$current = '';
58:}
59:}

I think maybe something wrong with foreach(), it has been changed in
php-4.3.10(I see it in ChangeLog)


-- 
Edit bug report at http://bugs.php.net/?id=31218edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31218r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31218r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31218r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=31218r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=31218r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=31218r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=31218r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=31218r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31218r=support
Expected behavior:   http://bugs.php.net/fix.php?id=31218r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=31218r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=31218r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=31218r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31218r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=31218r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=31218r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31218r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31218r=float
No Zend Extensions:  http://bugs.php.net/fix.php?id=31218r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31218r=mysqlcfg


#29625 [Fbk-Opn]: configure file problem

2004-08-17 Thread ych at tcte dot com dot cn
 ID:   29625
 User updated by:  ych at tcte dot com dot cn
 Reported By:  ych at tcte dot com dot cn
-Status:   Feedback
+Status:   Open
 Bug Type: *Configuration Issues
 Operating System: linux
 PHP Version:  4.3.8
 New Comment:

while configure --enable-xslt --with-xslt-sablot=/usr/local/sablot
--with-sablot-js=/usr/local/js,
an error will said:
 -ljs, command not find.


Previous Comments:


[2004-08-17 15:15:58] [EMAIL PROTECTED]

So, does it cause any problems for you?
It works perfectly for me and others.



[2004-08-12 03:17:44] ych at tcte dot com dot cn

Description:

in configure file line 86047, missing quotation mark for variable
PHP_SABLOT_JS_LIBS 

Reproduce code:
---
  *)
  LIBS=-ljs $LIBS
   ;;
  esac
  fi
PHP_SABLOT_JS_LIBS=-L$PHP_SABLOT_JS_DIR/lib -ljs

else
  echo $ac_tno 16
LDFLAGS=$save_old_LDFLAGS
ext_shared=$save_ext_shared
unset ac_cv_func_js







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


#29625 [NEW]: configure file problem

2004-08-11 Thread ych at tcte dot com dot cn
From: ych at tcte dot com dot cn
Operating system: linux
PHP version:  4.3.8
PHP Bug Type: *Configuration Issues
Bug description:  configure file problem

Description:

in configure file line 86047, missing quotation mark for variable
PHP_SABLOT_JS_LIBS 

Reproduce code:
---
  *)
  LIBS=-ljs $LIBS
   ;;
  esac
  fi
PHP_SABLOT_JS_LIBS=-L$PHP_SABLOT_JS_DIR/lib -ljs

else
  echo $ac_tno 16
LDFLAGS=$save_old_LDFLAGS
ext_shared=$save_ext_shared
unset ac_cv_func_js



-- 
Edit bug report at http://bugs.php.net/?id=29625edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29625r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29625r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=29625r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=29625r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29625r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=29625r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=29625r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=29625r=support
Expected behavior:  http://bugs.php.net/fix.php?id=29625r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=29625r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=29625r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=29625r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29625r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=29625r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=29625r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=29625r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29625r=float