[PHP-BUG] Bug #64209 [NEW]: mysqli.insert-id return autoincrement not insert id

2013-02-14 Thread grek at pogodzinach dot net
From: grek at pogodzinach dot net
Operating system: ubuntu
PHP version:  5.4.11
Package:  PHAR related
Bug Type: Bug
Bug description:mysqli.insert-id return autoincrement not insert id

Description:

Hy 
mysqli.insert-id  = this is error / bug or 

please rename funcion mysqli.insert-id to mysqli.autoincrement-value

or add to mysqli.insert-id return primary row value 

- this func return 0 when primary value dont have auto increment 

Test script:
---
any , always ! 

Expected result:

return real insert id = primary rov value


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



Bug #61539 [Nab]: g...@pogodzinach.net

2012-03-28 Thread grek at pogodzinach dot net
Edit report at https://bugs.php.net/bug.php?id=61539&edit=1

 ID: 61539
 User updated by:grek at pogodzinach dot net
 Reported by:grek at pogodzinach dot net
-Summary:compresed webphar problem
+Summary:g...@pogodzinach.net
 Status: Not a bug
 Type:   Bug
 Package:PHAR related
 Operating System:   ubuntu
 PHP Version:5.3.10
 Block user comment: N
 Private report: N

 New Comment:

hm this is default ubuntu apache and php configuration (instalation from repo) 
in other server (hostforweb centros vps) same situation : 

see here : http://projektmatura.pl/media3GZ.phar/js/ckeditor/ckeditor.js 

so how to repair it ?


Previous Comments:

[2012-03-28 21:15:55] cataphr...@php.net

Seems to me the webserver is not even invoking the PHP processor. This is a 
misconfiguration of your http daemon (e.g. Apache), not a PHP issue.


[2012-03-28 09:38:39] grek at pogodzinach dot net

Description:

Hy when i make phar witch compression and web acces (webphar) i dont have acces 
to uncompreseed files. 

example : 
/test.phar/test/base.css -> in webbrowser i get compresed content

"Őhttps://bugs.php.net/bug.php?id=61539&edit=1


[PHP-BUG] Bug #61539 [NEW]: compresed webphar problem

2012-03-28 Thread grek at pogodzinach dot net
From: 
Operating system: ubuntu
PHP version:  5.3.10
Package:  PHAR related
Bug Type: Bug
Bug description:compresed webphar problem 

Description:

Hy when i make phar witch compression and web acces (webphar) i dont have
acces to uncompreseed files. 

example : 
/test.phar/test/base.css -> in webbrowser i get compresed content

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



Bug #61496 [Fbk->Opn]: PHP 5.3.6-13ubuntu3.6 with Suhosin-Patch , Xdebug

2012-03-24 Thread grek at pogodzinach dot net
Edit report at https://bugs.php.net/bug.php?id=61496&edit=1

 ID: 61496
 User updated by:grek at pogodzinach dot net
 Reported by:grek at pogodzinach dot net
 Summary:PHP 5.3.6-13ubuntu3.6 with Suhosin-Patch , Xdebug
-Status: Feedback
+Status: Open
 Type:   Bug
 Package:PHAR related
 Operating System:   ubuntu
 PHP Version:5.3.10
 Block user comment: N
 Private report: N

 New Comment:

When i remove xcache phar work fine, 
but when i install xcache sitation is same (i install and uninstall from repo 
apt-get), so is not possible to use phar in serwer with xcache ? (i try add bug 
to xcache bugs (http://xcache.lighttpd.net/) but i cant )


Previous Comments:

[2012-03-24 14:10:35] paj...@php.net

Please try again using no xdebug, xcache or suhosin patches or extension.


[2012-03-24 13:36:18] grek at pogodzinach dot net

Description:

Hy i have problem with phar (webphar)

when i go first time to browser  /dcms3.phar/examle.jpg i see image i click 
refresh

i see Fatal error: Uncaught exception 'PharException?' with message 
'HALT_COMPILER(); must be declared in a phar' in 
/home/grek/public_html/projektMatura/dcms3.phar on line 8 PharException?: 
HALT_COMPILER(); must be declared in a phar in 
/home/grek/public_html/projektMatura/dcms3.phar on line 8 Call Stack: 0. 
644720 1. {main}() /home/grek/public_html/projektMatura/dcms3.phar:0 0.0001 
645432 2. Phar::webPhar() /home/grek/public_html/projektMatura/dcms3.phar:8

- when i uninstall php5-xcache problem gone,

i use ubuntu

PHP 5.3.6-13ubuntu3.6 with Suhosin-Patch (cli) (built: Feb 11 2012 03:26:01) 
Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 
1998-2011 Zend Technologies

with XCache v1.3.2, Copyright (c) 2005-2011, by mOo with Xdebug v2.1.0, 
Copyright (c) 2002-2010, by Derick Rethans

i found suoshin problem so add

suhosin.executor.include.whitelist="phar" to php.ini but problem is connected 
to xcache i try few times - always same sitation - when xache is installed 
first page show image (or any other file requestet with webphar acces example  
localhost://pharfile.phar/locationinsidephaer/somefile) next refresh fatal error


Expected result:

i think is big problem i dont find any infio about it, is hard to use phar if 
they in some servers run in other not (xcache is popular i think)







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


[PHP-BUG] Bug #61496 [NEW]: PHP 5.3.6-13ubuntu3.6 with Suhosin-Patch , Xdebug

2012-03-24 Thread grek at pogodzinach dot net
From: 
Operating system: ubuntu
PHP version:  5.3.10
Package:  PHAR related
Bug Type: Bug
Bug description:PHP 5.3.6-13ubuntu3.6 with Suhosin-Patch , Xdebug

Description:

Hy i have problem with phar (webphar)

when i go first time to browser  /dcms3.phar/examle.jpg i see image i click
refresh

i see Fatal error: Uncaught exception 'PharException?' with message
'HALT_COMPILER(); must be declared in a phar' in
/home/grek/public_html/projektMatura/dcms3.phar on line 8 PharException?:
HALT_COMPILER(); must be declared in a phar in
/home/grek/public_html/projektMatura/dcms3.phar on line 8 Call Stack:
0. 644720 1. {main}() /home/grek/public_html/projektMatura/dcms3.phar:0
0.0001 645432 2. Phar::webPhar()
/home/grek/public_html/projektMatura/dcms3.phar:8

- when i uninstall php5-xcache problem gone,

i use ubuntu

PHP 5.3.6-13ubuntu3.6 with Suhosin-Patch (cli) (built: Feb 11 2012
03:26:01) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0,
Copyright (c) 1998-2011 Zend Technologies

with XCache v1.3.2, Copyright (c) 2005-2011, by mOo with Xdebug v2.1.0,
Copyright (c) 2002-2010, by Derick Rethans

i found suoshin problem so add

suhosin.executor.include.whitelist="phar" to php.ini but problem is
connected to xcache i try few times - always same sitation - when xache is
installed first page show image (or any other file requestet with webphar
acces example  localhost://pharfile.phar/locationinsidephaer/somefile) next
refresh fatal error


Expected result:

i think is big problem i dont find any infio about it, is hard to use phar
if they in some servers run in other not (xcache is popular i think)


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