[PHP-BUG] Bug #64739 [NEW]: Invalid Title and Author data returned

2013-04-30 Thread php-qa at sebastianmendel dot de
From: php-qa at sebastianmendel dot de
Operating system: Linux
PHP version:  5.4.14
Package:  EXIF related
Bug Type: Bug
Bug description:Invalid Title and Author data returned

Description:

exif_read_data returns invalid Titel and Author data.

ExifTool cli returns valid data.

Test script:
---
php-5.4.14 -r
"var_dump(exif_read_data('http://sebastianmendel.de/php/exif_segmentation_fault/test.jpg'));"


Expected result:

  
  ["Title"]=>
  string(8) "55845364"
  ["Author"]=>
  string(13) "100420.00"
  

Actual result:
--
  
  ["Title"]=>
  string(8) ""
  ["Author"]=>
  string(13) "?"
  

-- 
Edit bug report at https://bugs.php.net/bug.php?id=64739&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64739&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64739&r=trysnapshot53
Try a snapshot (trunk): 
https://bugs.php.net/fix.php?id=64739&r=trysnapshottrunk
Fixed in SVN:   https://bugs.php.net/fix.php?id=64739&r=fixed
Fixed in release:   https://bugs.php.net/fix.php?id=64739&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64739&r=needtrace
Need Reproduce Script:  https://bugs.php.net/fix.php?id=64739&r=needscript
Try newer version:  https://bugs.php.net/fix.php?id=64739&r=oldversion
Not developer issue:https://bugs.php.net/fix.php?id=64739&r=support
Expected behavior:  https://bugs.php.net/fix.php?id=64739&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=64739&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=64739&r=submittedtwice
register_globals:   https://bugs.php.net/fix.php?id=64739&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64739&r=php4
Daylight Savings:   https://bugs.php.net/fix.php?id=64739&r=dst
IIS Stability:  https://bugs.php.net/fix.php?id=64739&r=isapi
Install GNU Sed:https://bugs.php.net/fix.php?id=64739&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64739&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64739&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64739&r=mysqlcfg



#43625 [NEW]: square brackets in form input name are 'dropped'

2007-12-18 Thread php-qa at sebastianmendel dot de
From: php-qa at sebastianmendel dot de
Operating system: Windows XP SP2
PHP version:  5.3CVS-2007-12-18 (CVS)
PHP Bug Type: Unknown/Other Function
Bug description:  square brackets in form input name are 'dropped'

Description:

the input name: "fields[field[test]]" reaches the script as
$_POST["fields"]["field[test"]

Reproduce code:
---








Expected result:

array(1) {
  ["funcs"]=>
  array(1) {
["field[test]"]=>
string(4) "test"
  }
}

Actual result:
--
array(1) {
  ["funcs"]=>
  array(1) {
["field[test"]=>
string(4) "test"
  }
}

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


#43633 [NEW]: backslashes in session save path are not escaped in error message

2007-12-18 Thread php-qa at sebastianmendel dot de
From: php-qa at sebastianmendel dot de
Operating system: Windows
PHP version:  5.3CVS-2007-12-19 (snap)
PHP Bug Type: Session related
Bug description:  backslashes in session save path are not escaped in error 
message

Description:

backslashes in the session.save_path are not properly escaped when printed
out in an error message

Reproduce code:
---
php.ini:

session.save_path = "C:\temp"

continue a session without valid session file

Expected result:

session_start() : open(C:\temp\sess_ifj79uququ2tu2gnhu8ol2cs81, O_RDWR)
failed: Invalid argument (22)

Actual result:
--
session_start() : open(C: emp\sess_ifj79uququ2tu2gnhu8ol2cs81, O_RDWR)
failed: Invalid argument (22)

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


#43625 [Fbk->Opn]: square brackets in form input name are 'dropped'

2008-01-29 Thread php-qa at sebastianmendel dot de
 ID:   43625
 User updated by:  php-qa at sebastianmendel dot de
 Reported By:  php-qa at sebastianmendel dot de
-Status:   Feedback
+Status:   Open
 Bug Type: *Web Server problem
 Operating System: Windows XP SP2
 PHP Version:  5.3CVS-2007-12-18 (CVS)
 New Comment:

Apache mod_php


Previous Comments:


[2008-01-29 00:20:41] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Which SAPI is used?



[2007-12-18 15:26:27] php-qa at sebastianmendel dot de

Description:

the input name: "fields[field[test]]" reaches the script as
$_POST["fields"]["field[test"]

Reproduce code:
---








Expected result:

array(1) {
  ["funcs"]=>
  array(1) {
["field[test]"]=>
string(4) "test"
  }
}

Actual result:
--
array(1) {
  ["funcs"]=>
  array(1) {
["field[test"]=>
string(4) "test"
  }
}





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


[PHP-BUG] Req #52343 [NEW]: add argument_separator as parameter to parse_str/parse_url

2010-07-15 Thread php-qa at sebastianmendel dot de
From: 
Operating system: 
PHP version:  Irrelevant
Package:  URL related
Bug Type: Feature/Change Request
Bug description:add argument_separator as parameter to parse_str/parse_url

Description:

http_build_query() supports defining the argument separator as third
argument



parse_str and parse_url should support this too


-- 
Edit bug report at http://bugs.php.net/bug.php?id=52343&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=52343&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=52343&r=trysnapshot53
Try a snapshot (trunk):  
http://bugs.php.net/fix.php?id=52343&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=52343&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=52343&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=52343&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=52343&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=52343&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=52343&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=52343&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=52343&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=52343&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=52343&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=52343&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=52343&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=52343&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=52343&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=52343&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=52343&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=52343&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=52343&r=mysqlcfg



#41103 [NEW]: mixed upper and lower case in session name crashes

2007-04-16 Thread php-qa at sebastianmendel dot de
From: php-qa at sebastianmendel dot de
Operating system: Windows XP SP2
PHP version:  6CVS-2007-04-16 (snap)
PHP Bug Type: Reproducible crash
Bug description:  mixed upper and lower case in session name crashes

Description:

Apache crashes when using session with mixed upper and lower case chars in
session name

Reproduce code:
---
session_name('phpMyAdmin');
session_start();

Actual result:
--
crash

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


#41104 [NEW]: crash on phpMyAdmin trunk

2007-04-16 Thread php-qa at sebastianmendel dot de
From: php-qa at sebastianmendel dot de
Operating system: Windows XP SP2
PHP version:  6CVS-2007-04-16 (snap)
PHP Bug Type: Reproducible crash
Bug description:  crash on phpMyAdmin trunk

Description:

crash when running phpMyAdmin on line #872 in Config.class.php from trunk
version

 #872 return $cookie_path;

var_dump($cookie_path) says:

 string(33) "/phpMyAdmin-svn/trunk/phpMyAdmin/"

I AM REALLY SORRY! but i do not know how to catch this bug or to provide a
smaller testcase

running in cmd box works fine - an apache or php6apache2_2.dll problem?

Actual result:
--
crash

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


#41103 [Fbk->Csd]: mixed upper and lower case in session name crashes

2007-04-16 Thread php-qa at sebastianmendel dot de
 ID:   41103
 User updated by:  php-qa at sebastianmendel dot de
 Reported By:  php-qa at sebastianmendel dot de
-Status:   Feedback
+Status:   Closed
 Bug Type: Reproducible crash
 Operating System: Windows XP SP2
 PHP Version:  6CVS-2007-04-16 (snap)
 New Comment:

ok thanks, works with
http://snaps.php.net/win32/php6.0-win32-latest.zip

(i tested with Built On: Apr 16, 2007 06:30 GMT)


Previous Comments:


[2007-04-16 13:57:24] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php6.0-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php6.0-win32-latest.zip

Works perfectly fine here.



[2007-04-16 13:51:16] php-qa at sebastianmendel dot de

Description:

Apache crashes when using session with mixed upper and lower case chars
in session name

Reproduce code:
---
session_name('phpMyAdmin');
session_start();

Actual result:
--
crash





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


#41104 [Fbk->Csd]: crash on phpMyAdmin trunk

2007-04-16 Thread php-qa at sebastianmendel dot de
 ID:   41104
 User updated by:  php-qa at sebastianmendel dot de
 Reported By:  php-qa at sebastianmendel dot de
-Status:   Feedback
+Status:   Closed
 Bug Type: Reproducible crash
 Operating System: Windows XP SP2
 PHP Version:  6CVS-2007-04-16 (snap)
 New Comment:

ok thanks, works with
http://snaps.php.net/win32/php6.0-win32-latest.zip

(i tested with Built On: Apr 16, 2007 06:30 GMT)


Previous Comments:


[2007-04-16 14:36:56] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php6.0-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php6.0-win32-latest.zip





[2007-04-16 14:31:28] php-qa at sebastianmendel dot de

Description:

crash when running phpMyAdmin on line #872 in Config.class.php from
trunk version

 #872 return $cookie_path;

var_dump($cookie_path) says:

 string(33) "/phpMyAdmin-svn/trunk/phpMyAdmin/"

I AM REALLY SORRY! but i do not know how to catch this bug or to
provide a smaller testcase

running in cmd box works fine - an apache or php6apache2_2.dll problem?

Actual result:
--
crash





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


#41150 [NEW]: phpinfo() configure option is empty

2007-04-20 Thread php-qa at sebastianmendel dot de
From: php-qa at sebastianmendel dot de
Operating system: Red Hat 7.3
PHP version:  5.2.2RC1
PHP Bug Type: PHP options/info functions
Bug description:  phpinfo() configure option is empty 

Description:

phpinfo() shows only './configure' as Configure Command, but there was
more option

previous installed php5.2-200610021230 displayed configure options
correctly

Reproduce code:
---
phpinfo();

Expected result:

Configure Command'./configure' 'i386-fedora-linux' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--libexecdir=/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc'
'--sharedstatedir=/usr/com' '--localstatedir=/var' '--libdir=/usr/lib'
'--includedir=/usr/include' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-apxs2=/usr/sbin/apxs' '--with-layout=GNU'
'--with-config-file-path=/etc' '--enable-safe-mode'
'--with-exec-dir=/usr/bin' '--with-zlib' '--enable-bcmath' '--with-bz2'
'--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-zlib-dir'
'--enable-mbstring' '--enable-memory-limit'
'--with-mysql=/usr/local/mysql-5.1.11-beta-linux-i686-glibc23'
'--with-mysqli=/usr/local/mysql-5.1.11-beta-linux-i686-glibc23/bin/mysql_config'
'--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mime-magic'
'--enable-exif'

Actual result:
--
Configure Command'./configure'

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


#41150 [Fbk->Opn]: phpinfo() configure option is empty

2007-04-20 Thread php-qa at sebastianmendel dot de
 ID:   41150
 User updated by:  php-qa at sebastianmendel dot de
 Reported By:  php-qa at sebastianmendel dot de
-Status:   Feedback
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: Red Hat 7.3
 PHP Version:  5.2.2RC1
 New Comment:

than tell me what information is required - the page you pointed me too
does not tell me what information is missing and should additionally be
included in bug report.


Previous Comments:


[2007-04-20 16:20:04] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.






[2007-04-20 12:59:06] php-qa at sebastianmendel dot de

Description:

phpinfo() shows only './configure' as Configure Command, but there was
more option

previous installed php5.2-200610021230 displayed configure options
correctly

Reproduce code:
---
phpinfo();

Expected result:

Configure Command'./configure' 'i386-fedora-linux' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--libexecdir=/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc'
'--sharedstatedir=/usr/com' '--localstatedir=/var' '--libdir=/usr/lib'
'--includedir=/usr/include' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-apxs2=/usr/sbin/apxs'
'--with-layout=GNU' '--with-config-file-path=/etc' '--enable-safe-mode'
'--with-exec-dir=/usr/bin' '--with-zlib' '--enable-bcmath' '--with-bz2'
'--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-zlib-dir'
'--enable-mbstring' '--enable-memory-limit'
'--with-mysql=/usr/local/mysql-5.1.11-beta-linux-i686-glibc23'
'--with-mysqli=/usr/local/mysql-5.1.11-beta-linux-i686-glibc23/bin/mysql_config'
'--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mime-magic'
'--enable-exif'

Actual result:
--
Configure Command'./configure'





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


#41150 [Fbk->Opn]: phpinfo() configure option is empty

2007-04-22 Thread php-qa at sebastianmendel dot de
 ID:   41150
 User updated by:  php-qa at sebastianmendel dot de
 Reported By:  php-qa at sebastianmendel dot de
-Status:   Feedback
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: Red Hat 7.3
 PHP Version:  5.2.2RC1
 New Comment:

- open my ssh console
 - login as root
 - (download and extract php 5.2.2RC1 bz2 archive from qa.php.net)
 - run command exactly as provided below
 - than run make (, make test) and make install

this is exactly the same configure command i used before on all other
versions i had previously installed (except of '--enable-exif') of PHP

(my make test report for this has same sender email address as here)


Previous Comments:


[2007-04-22 21:05:22] [EMAIL PROTECTED]

How exactly did you run configure?




[2007-04-21 00:25:34] php-qa at sebastianmendel dot de

than tell me what information is required - the page you pointed me too
does not tell me what information is missing and should additionally be
included in bug report.



[2007-04-20 16:20:04] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.






[2007-04-20 12:59:06] php-qa at sebastianmendel dot de

Description:

phpinfo() shows only './configure' as Configure Command, but there was
more option

previous installed php5.2-200610021230 displayed configure options
correctly

Reproduce code:
---
phpinfo();

Expected result:

Configure Command'./configure' 'i386-fedora-linux' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--libexecdir=/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc'
'--sharedstatedir=/usr/com' '--localstatedir=/var' '--libdir=/usr/lib'
'--includedir=/usr/include' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-apxs2=/usr/sbin/apxs'
'--with-layout=GNU' '--with-config-file-path=/etc' '--enable-safe-mode'
'--with-exec-dir=/usr/bin' '--with-zlib' '--enable-bcmath' '--with-bz2'
'--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-zlib-dir'
'--enable-mbstring' '--enable-memory-limit'
'--with-mysql=/usr/local/mysql-5.1.11-beta-linux-i686-glibc23'
'--with-mysqli=/usr/local/mysql-5.1.11-beta-linux-i686-glibc23/bin/mysql_config'
'--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mime-magic'
'--enable-exif'

Actual result:
--
Configure Command'./configure'





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


#41150 [Opn]: phpinfo() configure option is empty

2007-04-22 Thread php-qa at sebastianmendel dot de
 ID:   41150
 User updated by:  php-qa at sebastianmendel dot de
 Reported By:  php-qa at sebastianmendel dot de
 Status:   Open
 Bug Type: PHP options/info functions
 Operating System: Red Hat 7.3
 PHP Version:  5.2.2RC1
 New Comment:

sorry, below means before


Previous Comments:


[2007-04-23 05:15:13] php-qa at sebastianmendel dot de

- open my ssh console
 - login as root
 - (download and extract php 5.2.2RC1 bz2 archive from qa.php.net)
 - run command exactly as provided below
 - than run make (, make test) and make install

this is exactly the same configure command i used before on all other
versions i had previously installed (except of '--enable-exif') of PHP

(my make test report for this has same sender email address as here)



[2007-04-22 21:05:22] [EMAIL PROTECTED]

How exactly did you run configure?




[2007-04-21 00:25:34] php-qa at sebastianmendel dot de

than tell me what information is required - the page you pointed me too
does not tell me what information is missing and should additionally be
included in bug report.



[2007-04-20 16:20:04] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.






[2007-04-20 12:59:06] php-qa at sebastianmendel dot de

Description:

phpinfo() shows only './configure' as Configure Command, but there was
more option

previous installed php5.2-200610021230 displayed configure options
correctly

Reproduce code:
---
phpinfo();

Expected result:

Configure Command'./configure' 'i386-fedora-linux' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--libexecdir=/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc'
'--sharedstatedir=/usr/com' '--localstatedir=/var' '--libdir=/usr/lib'
'--includedir=/usr/include' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-apxs2=/usr/sbin/apxs'
'--with-layout=GNU' '--with-config-file-path=/etc' '--enable-safe-mode'
'--with-exec-dir=/usr/bin' '--with-zlib' '--enable-bcmath' '--with-bz2'
'--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-zlib-dir'
'--enable-mbstring' '--enable-memory-limit'
'--with-mysql=/usr/local/mysql-5.1.11-beta-linux-i686-glibc23'
'--with-mysqli=/usr/local/mysql-5.1.11-beta-linux-i686-glibc23/bin/mysql_config'
'--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mime-magic'
'--enable-exif'

Actual result:
--
Configure Command'./configure'





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


#41150 [Fbk->Opn]: phpinfo() configure option is empty

2007-04-23 Thread php-qa at sebastianmendel dot de
 ID:   41150
 User updated by:  php-qa at sebastianmendel dot de
 Reported By:  php-qa at sebastianmendel dot de
-Status:   Feedback
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: Red Hat 7.3
 PHP Version:  5.2.2RC1
 New Comment:

can you give some sort of hint where i can/should look, where does PHP
normally stores this information, what sort of functions/libraries are
involved into this or what is changed in the code related to this
feature?


Previous Comments:


[2007-04-23 09:28:16] [EMAIL PROTECTED]

Cannot reproduce.



[2007-04-23 05:16:17] php-qa at sebastianmendel dot de

sorry, below means before



[2007-04-23 05:15:13] php-qa at sebastianmendel dot de

- open my ssh console
 - login as root
 - (download and extract php 5.2.2RC1 bz2 archive from qa.php.net)
 - run command exactly as provided below
 - than run make (, make test) and make install

this is exactly the same configure command i used before on all other
versions i had previously installed (except of '--enable-exif') of PHP

(my make test report for this has same sender email address as here)



[2007-04-22 21:05:22] [EMAIL PROTECTED]

How exactly did you run configure?




[2007-04-21 00:25:34] php-qa at sebastianmendel dot de

than tell me what information is required - the page you pointed me too
does not tell me what information is missing and should additionally be
included in bug report.



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/41150

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


#41150 [Fbk->Opn]: phpinfo() configure option is empty

2007-04-27 Thread php-qa at sebastianmendel dot de
 ID:   41150
 User updated by:  php-qa at sebastianmendel dot de
 Reported By:  php-qa at sebastianmendel dot de
-Status:   Feedback
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: Red Hat 7.3
 PHP Version:  5.2.2RC1
 New Comment:

main/build-defs.h:
#define CONFIGURE_COMMAND " './configure'"

same for 5.2.1 - which i tested again now

but it works with php5.2-200610021230
there the #define CONFIGURE_COMMAND line is fine, having the whole
configure command

php5.2-200610021230 was the last version i had running before upgrading
to 5.2.2RC1


Previous Comments:


[2007-04-23 10:31:11] [EMAIL PROTECTED]

See main/build-defs.h, the very first define.
Shell (/bin/sh) is the only thing that is involved here and if you're
saying it worked for you before, I'd say something has changed in your
system, since there were no changes there for at least several months.

--------

[2007-04-23 09:52:54] php-qa at sebastianmendel dot de

can you give some sort of hint where i can/should look, where does PHP
normally stores this information, what sort of functions/libraries are
involved into this or what is changed in the code related to this
feature?



[2007-04-23 09:28:16] [EMAIL PROTECTED]

Cannot reproduce.

--------

[2007-04-23 05:16:17] php-qa at sebastianmendel dot de

sorry, below means before

--------

[2007-04-23 05:15:13] php-qa at sebastianmendel dot de

- open my ssh console
 - login as root
 - (download and extract php 5.2.2RC1 bz2 archive from qa.php.net)
 - run command exactly as provided below
 - than run make (, make test) and make install

this is exactly the same configure command i used before on all other
versions i had previously installed (except of '--enable-exif') of PHP

(my make test report for this has same sender email address as here)



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/41150

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


#41150 [Fbk->Opn]: phpinfo() configure option is empty

2007-04-27 Thread php-qa at sebastianmendel dot de
 ID:   41150
 User updated by:  php-qa at sebastianmendel dot de
 Reported By:  php-qa at sebastianmendel dot de
-Status:   Feedback
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: Red Hat 7.3
 PHP Version:  5.2.2RC1
 New Comment:

nothing has changed on the system

till now i used php5.2-200610021230 where it worked and work perfectly

now i use 5.2.2RC1 where it does not work anymore - also not with 5.2.1
which i tested too


http://www.kfp-online.de/rpm.txt
http://www.kfp-online.de/php-qa.php


does this help?


Previous Comments:


[2007-04-27 11:05:46] [EMAIL PROTECTED]

What has changed in the system? Where can I reproduce it?



[2007-04-27 10:48:17] php-qa at sebastianmendel dot de

main/build-defs.h:
#define CONFIGURE_COMMAND " './configure'"

same for 5.2.1 - which i tested again now

but it works with php5.2-200610021230
there the #define CONFIGURE_COMMAND line is fine, having the whole
configure command

php5.2-200610021230 was the last version i had running before upgrading
to 5.2.2RC1



[2007-04-23 10:31:11] [EMAIL PROTECTED]

See main/build-defs.h, the very first define.
Shell (/bin/sh) is the only thing that is involved here and if you're
saying it worked for you before, I'd say something has changed in your
system, since there were no changes there for at least several months.

--------

[2007-04-23 09:52:54] php-qa at sebastianmendel dot de

can you give some sort of hint where i can/should look, where does PHP
normally stores this information, what sort of functions/libraries are
involved into this or what is changed in the code related to this
feature?



[2007-04-23 09:28:16] [EMAIL PROTECTED]

Cannot reproduce.



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/41150

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


#41150 [Fbk->Opn]: phpinfo() configure option is empty

2007-04-27 Thread php-qa at sebastianmendel dot de
 ID:   41150
 User updated by:  php-qa at sebastianmendel dot de
 Reported By:  php-qa at sebastianmendel dot de
-Status:   Feedback
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: Red Hat 7.3
 PHP Version:  5.2.2RC1
 New Comment:

did you recieved email?


Previous Comments:


[2007-04-27 11:19:42] [EMAIL PROTECTED]

No, I need to reproduce it myself.



[2007-04-27 11:14:35] php-qa at sebastianmendel dot de

nothing has changed on the system

till now i used php5.2-200610021230 where it worked and work perfectly

now i use 5.2.2RC1 where it does not work anymore - also not with 5.2.1
which i tested too


http://www.kfp-online.de/rpm.txt
http://www.kfp-online.de/php-qa.php


does this help?



[2007-04-27 11:05:46] [EMAIL PROTECTED]

What has changed in the system? Where can I reproduce it?



[2007-04-27 10:48:17] php-qa at sebastianmendel dot de

main/build-defs.h:
#define CONFIGURE_COMMAND " './configure'"

same for 5.2.1 - which i tested again now

but it works with php5.2-200610021230
there the #define CONFIGURE_COMMAND line is fine, having the whole
configure command

php5.2-200610021230 was the last version i had running before upgrading
to 5.2.2RC1



[2007-04-23 10:31:11] [EMAIL PROTECTED]

See main/build-defs.h, the very first define.
Shell (/bin/sh) is the only thing that is involved here and if you're
saying it worked for you before, I'd say something has changed in your
system, since there were no changes there for at least several months.



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/41150

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


#41325 [NEW]: mysqli_affected_rows() returns wrong value if warnings are raised

2007-05-08 Thread php-qa at sebastianmendel dot de
From: php-qa at sebastianmendel dot de
Operating system: Windows / Linux
PHP version:  5.2.2
PHP Bug Type: MySQLi related
Bug description:  mysqli_affected_rows() returns wrong value if warnings are 
raised

Description:

issuing an insert statement that raises warnings mysqli_affected_rows()
returns the warning count instead of inserted rows count

tested with MySQL server 5.0, 5.1 and 5.2 (6.0)

Reproduce code:
---
// open db connection/select db
//$mysqli = mysqli_...
// create table
$sql = 'CREATE TABLE `test` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `int` int(11) NOT NULL,
  `int2` int(11) NOT NULL,
  PRIMARY KEY (`id`)
)';
mysqli_query($mysqli, $sql);
// insert row
$sql = 'INSERT INTO `test` (`int`, `int2`) VALUES ('', '');'
mysqli_query($mysqli, $sql);

echo mysqli_affected_rows($mysqli);

Expected result:

1

Actual result:
--
2

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


#41325 [Fbk->Opn]: mysqli_affected_rows() returns wrong value if warnings are raised

2007-05-08 Thread php-qa at sebastianmendel dot de
 ID:   41325
 User updated by:  php-qa at sebastianmendel dot de
 Reported By:  php-qa at sebastianmendel dot de
-Status:   Feedback
+Status:   Open
 Bug Type: MySQLi related
 Operating System: Windows / Linux
 PHP Version:  5.2.2
 New Comment:

ok, my fault, it is not a really a bug in mysqli_affected_rows() - it
is more a documentation bug

the mysql c api function mysql_affected_rows returns not only for teh
last INSERT, UPDATE, REPLACE or DELETE, but for SELECT too

"returns the number of rows changed (for) UPDATE), deleted (for DELETE,
or inserted (for INSERT. For SELECT  statements, mysql_affected_rows()
works like mysql_num_rows()."

http://dev.mysql.com/doc/refman/5.1/en/mysql-affected-rows.html

and mysqli_affected_rows() does it the same way, of course, but the php
manual does read other

"Returns the number of rows affected by the last INSERT, UPDATE,
REPLACE or DELETE query."

http://php.net/mysqli_affected_rows


Previous Comments:


[2007-05-08 15:28:06] [EMAIL PROTECTED]

Cannot reproduce on Linux with both client & server of version 5.0.26.



[2007-05-08 15:07:07] [EMAIL PROTECTED]

I can't reproduce this with 5.0.27. I get the expected output of 1.

Do you have any other sort of special configuration or setting?

--------

[2007-05-08 14:50:46] php-qa at sebastianmendel dot de

Description:

issuing an insert statement that raises warnings mysqli_affected_rows()
returns the warning count instead of inserted rows count

tested with MySQL server 5.0, 5.1 and 5.2 (6.0)

Reproduce code:
---
// open db connection/select db
//$mysqli = mysqli_...
// create table
$sql = 'CREATE TABLE `test` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `int` int(11) NOT NULL,
  `int2` int(11) NOT NULL,
  PRIMARY KEY (`id`)
)';
mysqli_query($mysqli, $sql);
// insert row
$sql = 'INSERT INTO `test` (`int`, `int2`) VALUES ('', '');'
mysqli_query($mysqli, $sql);

echo mysqli_affected_rows($mysqli);

Expected result:

1

Actual result:
--
2





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