#41862 [Bgs]: Errorhandler doesn't work

2007-07-01 Thread thomas at thoftware dot de
 ID:   41862
 User updated by:  thomas at thoftware dot de
 Reported By:  thomas at thoftware dot de
 Status:   Bogus
 Bug Type: Scripting Engine problem
 Operating System: Windows XP
 PHP Version:  4.4.7
 New Comment:

Something I found even earlier is: "The following error types cannot be
handled with a user defined function: E_ERROR, E_PARSE, E_CORE_ERROR,
E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, and most of E_STRICT
raised in the file where set_error_handler() is called.". Is that what
you mean I should have read? Please note, that that isn't the problem.

I don't want these error types to be handled. I simply want the whole
construct to run and not to crash. The above script works fine in these
2 versions:

Reproduce code 2 (works):
---
  function foo($foo) {
return($foo);
  }
  error_reporting(E_ALL);
  require_once(foo('foo'));

Reproduce code 3 (works):
---
  function ehandler($e,$t,$f,$l,$c) {
echo $t;
  }
  set_error_handler('ehandler');
  error_reporting(E_ALL);
  require_once('foo');

(Where 'fine' means, it shows the error an stops.)

Can you pleease explain to me, why the first version crashes
without any message?


Previous Comments:


[2007-07-02 06:29:19] thomas at thoftware dot de

Neither with require_once(), require(), include() nor with
set_error_handler() anything about the above behaviour is explained. I
checked it four times. Can you please simply give me a direct link to
that part of the documentation where it is mentioned? Or am I supposed
to read the comlplete documentation as in that way you always have the
chance that somewhere there might be some well hidden information about
it?



[2007-07-02 01:34:29] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.



[2007-06-30 21:29:30] thomas at thoftware dot de

Description:

Setting an Errorhandler with set_error_handler() and then calling
require() with a Function as Argument doesn't produce the expected
Result.

Reproduce code:
---
  function ehandler($e,$t,$f,$l,$c) {
echo $t;
  }
  function foo($foo) {
return($foo);
  }
  set_error_handler('ehandler');
  error_reporting(E_ALL);
  require_once(foo('foo'));


Expected result:

Some Errormessage like this:

main(foo) [function.main]: failed to open stream: No such file or
directory
Fatal error: main() [function.require]: Failed opening required 'foo'
(include_path='.;c:\php4\pear') in foo.php on line x

Actual result:
--
Nothing (infinite loop?). PHP crashes.

Using no Errorhandler or giving 'foo' directly to require_once() works.





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


#41862 [Bgs]: Errorhandler doesn't work

2007-07-01 Thread thomas at thoftware dot de
 ID:   41862
 User updated by:  thomas at thoftware dot de
 Reported By:  thomas at thoftware dot de
 Status:   Bogus
 Bug Type: Scripting Engine problem
 Operating System: Windows XP
 PHP Version:  4.4.7
 New Comment:

Neither with require_once(), require(), include() nor with
set_error_handler() anything about the above behaviour is explained. I
checked it four times. Can you please simply give me a direct link to
that part of the documentation where it is mentioned? Or am I supposed
to read the comlplete documentation as in that way you always have the
chance that somewhere there might be some well hidden information about
it?


Previous Comments:


[2007-07-02 01:34:29] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.



[2007-06-30 21:29:30] thomas at thoftware dot de

Description:

Setting an Errorhandler with set_error_handler() and then calling
require() with a Function as Argument doesn't produce the expected
Result.

Reproduce code:
---
  function ehandler($e,$t,$f,$l,$c) {
echo $t;
  }
  function foo($foo) {
return($foo);
  }
  set_error_handler('ehandler');
  error_reporting(E_ALL);
  require_once(foo('foo'));


Expected result:

Some Errormessage like this:

main(foo) [function.main]: failed to open stream: No such file or
directory
Fatal error: main() [function.require]: Failed opening required 'foo'
(include_path='.;c:\php4\pear') in foo.php on line x

Actual result:
--
Nothing (infinite loop?). PHP crashes.

Using no Errorhandler or giving 'foo' directly to require_once() works.





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


#41676 [Csd]: PDO Startup Error

2007-07-01 Thread alison dot holloway at oracle dot com
 ID:   41676
 User updated by:  alison dot holloway at oracle dot com
 Reported By:  alison dot holloway at oracle dot com
 Status:   Closed
 Bug Type: PDO related
 Operating System: Windows XP SP2
 PHP Version:  5.2.3
 Assigned To:  jmertic
 New Comment:

I checked the latest PHP build (200707020030), and now the PDO driver
for Oracle 10g and above client installs, and does not throw errors on
startup. My test connection to Oracle works as well.


Previous Comments:


[2007-06-29 06:12:13] alison dot holloway at oracle dot com

Apart from the text change, has the .dll change been made so that both
.dlls aren't installed for the different options?

I will retest when the next release is made available.



[2007-06-28 20:12:02] [EMAIL PROTECTED]

Assuming this is fixed now.



[2007-06-28 13:16:04] [EMAIL PROTECTED]

Checked into CVS the change for the textual description in the
installer for pdo_oci8 and pdo_oci as described below. The Wix UI
doesn't have a good way to make features mutually exclusive, so I've put
notes in the right pane when selecting the extension to pick the right
one.




[2007-06-28 04:44:58] alison dot holloway at oracle dot com

My suggestion is to change the installer so that the following occurs.

Under PDO extensions, have two options for the Oracle PDO drivers:

1. Oracle8i/Oracle9i Client
   This installs php_pdo_oci8.dll

2. Oracle10g Client and above
   This installs php_pdo_oci.dll

The PDO library is based on the Oracle Client, not the Oracle Database,
so I think it's important to state that in the install notes in the
right hand pane when selecting the option. 

Each option should be mutually exclusive. So you can't install both.
This will cause problems.

The current two installs seem to do the same thing, install the
php_pdo_oci8.dll and php_pdo_oci.dll files. It doesn't make sense.

As for the errors that are currently happening, I haven't done any
further investigation, but I'd suggest getting the install right now,
then fixing the dll loading issues.



[2007-06-26 11:09:44] [EMAIL PROTECTED]

So what do you propose, Alison?



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

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


#41868 [NEW]: Error with multiple instances of same named parameter

2007-07-01 Thread nick+phpbugs at ag dot arizona dot edu
From: nick+phpbugs at ag dot arizona dot edu
Operating system: Linux
PHP version:  5.2.3
PHP Bug Type: PDO related
Bug description:  Error with multiple instances of same named parameter

Description:

A named parameter should be able to be included more than once in a query,
but bound only once.  Instead, when code like the given is executed, the
following error is produced:

Warning: PDOStatement::execute() [function.PDOStatement-execute]:
SQLSTATE[HY093]: Invalid parameter number: number of bound variables does
not match number of tokens in /home/njm/public_html/test.php on line 7

Reproduce code:
---
$db = new PDO('mysql:host=localhost;dbname=test', 'test', 'whatever');
$db->exec('CREATE TABLE foo (a INT, b INT)');
$sth = $db->prepare('INSERT INTO foo (a, b) VALUES (:value, :value)');
$sth->bindParam(':value', 10);
$sth->execute();


Expected result:

A row inserted into foo where a = b = 10.


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


#41862 [Opn->Bgs]: Errorhandler doesn't work

2007-07-01 Thread johannes
 ID:   41862
 Updated by:   [EMAIL PROTECTED]
 Reported By:  thomas at thoftware dot de
-Status:   Open
+Status:   Bogus
 Bug Type: Scripting Engine problem
 Operating System: Windows XP
 PHP Version:  4.4.7
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.


Previous Comments:


[2007-06-30 21:29:30] thomas at thoftware dot de

Description:

Setting an Errorhandler with set_error_handler() and then calling
require() with a Function as Argument doesn't produce the expected
Result.

Reproduce code:
---
  function ehandler($e,$t,$f,$l,$c) {
echo $t;
  }
  function foo($foo) {
return($foo);
  }
  set_error_handler('ehandler');
  error_reporting(E_ALL);
  require_once(foo('foo'));


Expected result:

Some Errormessage like this:

main(foo) [function.main]: failed to open stream: No such file or
directory
Fatal error: main() [function.require]: Failed opening required 'foo'
(include_path='.;c:\php4\pear') in foo.php on line x

Actual result:
--
Nothing (infinite loop?). PHP crashes.

Using no Errorhandler or giving 'foo' directly to require_once() works.





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


#41867 [Opn]: getName is broken

2007-07-01 Thread moshe at varien dot com
 ID:   41867
 User updated by:  moshe at varien dot com
 Reported By:  moshe at varien dot com
 Status:   Open
 Bug Type: SimpleXML related
 Operating System: Linux
 PHP Version:  5.2.3
 New Comment:

Found a workaround:

$a = new SimplexmlElement(""); 
echo $a->b->c->c->getName();

Eeww...


Previous Comments:


[2007-07-01 22:37:10] moshe at varien dot com

Description:

getName() returns name of the parent node instead of supplied one

Reproduce code:
---
$a = new SimplexmlElement(""); 
echo $a->b->c->getName();

Expected result:

"c"

Actual result:
--
"b"





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


#41867 [NEW]: getName is broken

2007-07-01 Thread moshe at varien dot com
From: moshe at varien dot com
Operating system: Linux
PHP version:  5.2.3
PHP Bug Type: SimpleXML related
Bug description:  getName is broken

Description:

getName() returns name of the parent node instead of supplied one

Reproduce code:
---
$a = new SimplexmlElement(""); 
echo $a->b->c->getName();

Expected result:

"c"

Actual result:
--
"b"

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


#41865 [Opn->Csd]: fputcsv(): 2nd parameter is not optional

2007-07-01 Thread sniper
 ID:   41865
 Updated by:   [EMAIL PROTECTED]
 Reported By:  machour at gmail dot com
-Status:   Open
+Status:   Closed
 Bug Type: Reproducible crash
 Operating System: Linux
 PHP Version:  5.2.3
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Nice catch. :)


Previous Comments:


[2007-07-01 21:20:52] machour at gmail dot com

Description:

Hi,

The $fields parameter should be made mandatory on fputcsv() for two
reason:
  1. Calling fputcsv($fp) doesn't make sense (to me at least)
  2. Calling fputcsv($fp) segfaults

Please change the C source to look like
 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra|ss",
instead of 
 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ass",

(/ext/standard/file.c:1999 in HEAD)






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


#39163 [Com]: Invalid API call from php5isapi.dll causing IIS7 Application Pool failure.

2007-07-01 Thread jetbackwards at gmail dot com
 ID:   39163
 Comment by:   jetbackwards at gmail dot com
 Reported By:  tony dot stone at gmail dot com
 Status:   Open
 Bug Type: IIS related
 Operating System: Windows Vista RC 1 Build 5600
 PHP Version:  5.1.6
 New Comment:

I get exactly the same error running IIS7 on 32-bitVista Home Premium
with PHP 5.2.3 on an AMD Athalon x64 3500+. I've been through what seems
like every tutorial on trying to get it to work but still get a "503:
Service Unavailable" error when accessing ANY webpage that I am hosting.
The application eventlog gives the error:

'Failed to find the RegisterModule entrypoint in the module DLL
C:\Inetpub\Modules\PHP5\php5isapi.dll.  The data is the error.'

from IIS-W3SVC-WP.

As a consequence my DefaultAppPool shuts itself down - apparently a
standard procedure it takes if it encounters errors.


Previous Comments:


[2007-05-09 15:05:44] FreakTrap at gmail dot com

sneakers05's modification of the Application Pool's 32-bit setting also
corrected the problem I was having with the php5isapi.dll.

For those of us getting the 'Calling LoadLibraryEx on ISAPI filter
"C:\PHP\php5isapi.dll" failed' error after an attempted manual install:

1) *Start with a fresh IIS installation with both ISAPI filters and
extensions enabled.
2) Under the main settings [at the very top of your IIS Manager's
hierarchy view, above Application Pools], add the following in this
order:
2.1) an ISAPI Filter for php5isapi.dll
2.2) a ISAPI and CGI Restriction entry for php5isapi.dll
2.3) a Handler Mapping for php5isapi.dll
3) Go to the application Pools section.
4) Right-click on Default Application Pool and select Advanced
Settings.
5) Set the second option [Enable 32-Bit...] to True.

Now everything should work...

* Also, it is important that your 'Default Website' not have any unique
settings from the top-level configurations.  This was causing my ISS to
exhibit some pretty strange behavior, which is why I recommend that you
first delete your default website and create a new one.



[2007-05-04 10:02:55] gruddzr at yahoo dot com

i also have the same problem, using vista premium here



[2007-04-13 23:14:50] sneakers05 at optusnet dot com dot au

I had similar probs running php4isapi.dll with IIS7 on Vista x64
Ultimate. Moving to php5 isn't an option for me because I'm developing
for a particular machine running php4. 

I can't get the isapi version of php running, but after a bit (lot!) of
messing around have got the php.exe version working sweet. :)

Here's what I did:
1. Remove all ISAPI filters for PHP.
2. Ensure you have a handler mapping for PHP as follows:
*.php
c:\php\php.exe (or whatever path you are using)
3. Under Application Pools in IIS Manager, right clicked DefaultAppPool
and went to Advanced Settings. Ensure "Enable 32-bit applications" is
set to True. I also set Process Orphaning:Enabled to True, even though I
have *no* idea what it is for!
4. Ensured php.ini was in my c:\windows folder and the
cgi.force_redirect is set to 0 and uncommented.

I also did the following which may or may not be required:
1. Right clicked the PHP folder and selected Properties, Security.
2. Clicked on Advanced, Edit, Add.. and for the object name to select,
entered: IUSR.
3. Clicked OK and gave IUSR full control to the folder.
4. Repeated steps 2 and 3 but for IIS_IUSRS.
5. Applied the changes and clicked on OK to exit the PHP folder
properties window.

I also did the following which probably isn't needed:
1. Copied php4ts.dll into my c:\windows\system32 folder
2. Stood on one foot while chanting to the rain gods and focussing my
mental energy on my "power animal" - the llama. :)

Hope this helps others, even if it doesn't resolve the isapi side of
things!

-Damo



[2007-03-27 15:00:43] loz_hurst at hotail dot com

I am having this issue on 32-bit vista on a 32bit processor, so it may
not be a 64bit issue.



[2007-03-19 22:21:54] dontmsgme at gmail dot com

I am also having this issue.  I have tried BillS' installation method
as well as FastCGI with no luck.  I am thinking it might be related to
the 64bit OS.  I see that someone else tried 32 bit application
compatibility with no luck.

Is anyone having this problem NOT on a 64bit OS?



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

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


#41787 [Opn->Bgs]: not view the correct code in the browser

2007-07-01 Thread sniper
 ID:   41787
 Updated by:   [EMAIL PROTECTED]
 Reported By:  d58m at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Apache2 related
 Operating System: windows 2000 Professional
 PHP Version:  5.2.4
 New Comment:

This is not the place to report bugs in PECL extensions. Report them at
http://pecl.php.net/bugs/


Previous Comments:


[2007-07-01 20:39:01] d58m at hotmail dot com

I suggest you don't accept all and chose the bare minimum you need.

php_iisfunc.dll, php_sam.dll and php_threads.dll appear to be causing
breakages and should probably be removed from the installer until they
are sorted.
--
My teacher webpage developer show how to pick the appropriate windows 
php software to be installed in windows and apache software too. Then 
he show me how to installed PhP software and apache software in windows
so therefore, I knew it was not installation errors. 

Up to then I was searching the web and read books and came up short
because your software is developing so fast I was making errors
installing the software and there was no help on your website for
beginners only professions who are using server. 

When will you be up dating these dll files to remove the bugs?
php_iisfunc.dll, php_sam.dll and php_threads.dll



[2007-07-01 17:22:37] [EMAIL PROTECTED]

I suggest you don't accept all and chose the bare minimum you need.

php_iisfunc.dll, php_sam.dll and php_threads.dll appear to be causing
breakages and should probably be removed from the installer until they
are sorted.



[2007-07-01 13:41:39] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.





[2007-07-01 13:34:42] d58m at hotmail dot com

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.

Please can you sent me the your installation process for php ver 5.2.4
for windows professional 2ooo so that I can check against me
installation:
   apache_2.2.4-win32-x86-no_ssl lasted version.
1. Double click on PHP-5.2-Windows-installer-latest.
2. I accept the the terms in the licence Agreement.
3. C:\Program Files\PhP\
4. Apache 2.2x module
5. C\Apache Software foundation\Apache2.2\Conf\
6. Choose Items to install select all.
7. Install button clicked ok.
8. No installing errors.



[2007-07-01 13:02:45] [EMAIL PROTECTED]

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.



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

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


#41865 [NEW]: fputcsv() segfaults

2007-07-01 Thread machour at gmail dot com
From: machour at gmail dot com
Operating system: Linux
PHP version:  5.2.3
PHP Bug Type: Reproducible crash
Bug description:  fputcsv() segfaults

Description:

Hi,

The $fields parameter should be made mandatory on fputcsv() for two
reason:
  1. Calling fputcsv($fp) doesn't make sense (to me at least)
  2. Calling fputcsv($fp) segfaults

Please change the C source to look like
 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra|ss",
instead of 
 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ass",

(/ext/standard/file.c:1999 in HEAD)


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


#41787 [Bgs->Opn]: not view the correct code in the browser

2007-07-01 Thread d58m at hotmail dot com
 ID:   41787
 User updated by:  d58m at hotmail dot com
 Reported By:  d58m at hotmail dot com
-Status:   Bogus
+Status:   Open
 Bug Type: Apache2 related
 Operating System: windows 2000 Professional
 PHP Version:  5.2.4
 New Comment:

I suggest you don't accept all and chose the bare minimum you need.

php_iisfunc.dll, php_sam.dll and php_threads.dll appear to be causing
breakages and should probably be removed from the installer until they
are sorted.
--
My teacher webpage developer show how to pick the appropriate windows 
php software to be installed in windows and apache software too. Then 
he show me how to installed PhP software and apache software in windows
so therefore, I knew it was not installation errors. 

Up to then I was searching the web and read books and came up short
because your software is developing so fast I was making errors
installing the software and there was no help on your website for
beginners only professions who are using server. 

When will you be up dating these dll files to remove the bugs?
php_iisfunc.dll, php_sam.dll and php_threads.dll


Previous Comments:


[2007-07-01 17:22:37] [EMAIL PROTECTED]

I suggest you don't accept all and chose the bare minimum you need.

php_iisfunc.dll, php_sam.dll and php_threads.dll appear to be causing
breakages and should probably be removed from the installer until they
are sorted.



[2007-07-01 13:41:39] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.





[2007-07-01 13:34:42] d58m at hotmail dot com

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.

Please can you sent me the your installation process for php ver 5.2.4
for windows professional 2ooo so that I can check against me
installation:
   apache_2.2.4-win32-x86-no_ssl lasted version.
1. Double click on PHP-5.2-Windows-installer-latest.
2. I accept the the terms in the licence Agreement.
3. C:\Program Files\PhP\
4. Apache 2.2x module
5. C\Apache Software foundation\Apache2.2\Conf\
6. Choose Items to install select all.
7. Install button clicked ok.
8. No installing errors.



[2007-07-01 13:02:45] [EMAIL PROTECTED]

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.



[2007-07-01 11:22:36] d58m at hotmail dot com

I am working my way through a book called PHP 5 in easy steps
ISBN 1-84078-282-x very basic, my webpage teacher recommended.
--
I have typed this programme and get an error: The page cannot be
displayed.

-
This programme in two parts will generate the bug that I report to
you.



  
  Calculation Form 
 

 

  

  Value 1: 
  Value 2: 
  
  Calculation: 
   Add
   Subtract
   Multiply
   Divide 
  
   
  

  

 


-


 
  
  Calculation Result 
 
 

 
   
 
  
  
 Calc
 




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

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


#41787 [Bgs]: not view the correct code in the browser

2007-07-01 Thread scottmac
 ID:   41787
 Updated by:   [EMAIL PROTECTED]
 Reported By:  d58m at hotmail dot com
 Status:   Bogus
 Bug Type: Apache2 related
 Operating System: windows 2000 Professional
 PHP Version:  5.2.4
 New Comment:

I suggest you don't accept all and chose the bare minimum you need.

php_iisfunc.dll, php_sam.dll and php_threads.dll appear to be causing
breakages and should probably be removed from the installer until they
are sorted.


Previous Comments:


[2007-07-01 13:41:39] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.





[2007-07-01 13:34:42] d58m at hotmail dot com

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.

Please can you sent me the your installation process for php ver 5.2.4
for windows professional 2ooo so that I can check against me
installation:
   apache_2.2.4-win32-x86-no_ssl lasted version.
1. Double click on PHP-5.2-Windows-installer-latest.
2. I accept the the terms in the licence Agreement.
3. C:\Program Files\PhP\
4. Apache 2.2x module
5. C\Apache Software foundation\Apache2.2\Conf\
6. Choose Items to install select all.
7. Install button clicked ok.
8. No installing errors.



[2007-07-01 13:02:45] [EMAIL PROTECTED]

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.



[2007-07-01 11:22:36] d58m at hotmail dot com

I am working my way through a book called PHP 5 in easy steps
ISBN 1-84078-282-x very basic, my webpage teacher recommended.
--
I have typed this programme and get an error: The page cannot be
displayed.

-
This programme in two parts will generate the bug that I report to
you.



  
  Calculation Form 
 

 

  

  Value 1: 
  Value 2: 
  
  Calculation: 
   Add
   Subtract
   Multiply
   Divide 
  
   
  

  

 


-


 
  
  Calculation Result 
 
 

 
   
 
  
  
 Calc
 




[2007-07-01 01:48:33] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the 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/41787

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


#39484 [Opn->Fbk]: intermittent include failure under symlinked virtual hosts

2007-07-01 Thread sniper
 ID:   39484
 Updated by:   [EMAIL PROTECTED]
 Reported By:  phpbugz at x0rz dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Apache2 related
 Operating System: linux kernel 2.4.27 w/debian 3.1
 PHP Version:  5.2.0
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi




Previous Comments:


[2006-11-12 23:21:49] phpbugz at x0rz dot com

Description:

the *first* include will fail intermittently if apache2 virtual host is
pointing to a symlinked DocumentRoot.

problem is not easily reproducable and would occur perhaps 1 in 100
times, usually disappearing on refresh.

this issue has gone away since reconfiguring the apache virtualhost's
DocumentRoot to point to an absolute path instead of a symlinked one.  a
resolution was also found by setting an absolute path for the very first
include within a script.

Reproduce code:
---


Filesystem : 

/home/www -> /var/www

Apache : 


  DocumentRoot /home/www



Expected result:

Occasionally observe the following :

*Warning*: include(some_include.php) [function.include]: failed to open
stream: No such file or directory in *foo_include.php* on line *blah*

*Fatal error*: Call to undefined function foo_function() in
*bar_include* on line *blah*


** noting that the first include fails but the second is ok.
** the include_path shown with this error will also point to the
symlink path (/home/www in the 'reproduce code' example), not the
symlink target.

Actual result:
--
code was added to dump the SERVER variables on include failure, keeping
in mind the filesystem path is actually /var/www :

*Warning*: include(required/connect.php) [function.include]: failed to
open stream: No such file or directory in
*/var/www/moa/XXX/includes/required_includes.php* on line *7*

*Warning*: include() [function.include]: Failed opening
'required/connect.php' for inclusion (include_path='/home/www/moa/XXX/')
in */var/www/moa/XXX/includes/required_includes.php* on line *7*

array(34) { ["nokeepalive"]=> string(1) "1" ["ssl-unclean-shutdown"]=>
string(1) "1" ["downgrade-1_0"]=> string(1) "1" ["force-response-1_0"]=>
string(1) "1" ["HTTP_ACCEPT"]=> string(87) "image/gif, image/x-xbitmap,
image/jpeg, image/pjpeg, application/x-shockwave-flash, */*"
["HTTP_REFERER"]=> string(40) "http://moa.XXX.com/members_index.php";
["HTTP_ACCEPT_LANGUAGE"]=> string(5) "en-us" ["HTTP_UA_CPU"]=> string(3)
"x86" ["HTTP_ACCEPT_ENCODING"]=> string(13) "gzip, deflate"
["HTTP_USER_AGENT"]=> string(89) "Mozilla/4.0 (compatible; MSIE 7.0;
Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" ["HTTP_HOST"]=>
string(15) "moa.XXX.com" ["HTTP_CONNECTION"]=> string(10) "Keep-Alive"
["HTTP_COOKIE"]=> string(42)
"PHPSESSID=45f4ceaef2ff8824143aad70569ba022" ["PATH"]=> string(28)
"/usr/local/bin:/usr/bin:/bin" ["SERVER_SIGNATURE"]=> string(0) ""
["SERVER_SOFTWARE"]=> string(102) "Apache/2.0.54 (Debian GNU/Linux)
PHP/5.2.0-0.dotdeb.1 with Suhosin-Patch mod_ssl/2.0.54 OpenSSL/0.9.7e"
["SERVER_NAME"]=> string(15) "moa.XXX.com" ["SERVER_ADDR"]=> string(12)
"1.2.3.4" ["SERVER_PORT"]=> string(2) "80" ["REMOTE_ADDR"]=> string(12)
"4.5.6.7" ["DOCUMENT_ROOT"]=> string(22) "/home/www/moa/XXX/"
["SERVER_ADMIN"]=> string(18) "[no address given]" ["SCRIPT_FILENAME"]=>
string(30) "/home/www/moa/XXX/menu.php" ["REMOTE_PORT"]=> string(5)
"33073" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1"
["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" ["REQUEST_METHOD"]=>
string(3) "GET" ["QUERY_STRING"]=> string(11) "module_id=5"
["REQUEST_URI"]=> string(21) "/menu.php?module_id=5" ["SCRIPT_NAME"]=>
string(9) "/menu.php" ["PHP_SELF"]=> string(9) "/menu.php"
["REQUEST_TIME"]=> int(1163034668) ["argv"]=> array(1) { [0]=>
string(11) "module_id=5" } ["argc"]=> int(1) }

*Fatal error*: Call to undefined function conn() in
*/var/www/moa/XXX/security/session.php* on line *109* on line *109* 





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


#41787 [Opn->Bgs]: not view the correct code in the browser

2007-07-01 Thread sniper
 ID:   41787
 Updated by:   [EMAIL PROTECTED]
 Reported By:  d58m at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Apache2 related
 Operating System: windows 2000 Professional
 PHP Version:  5.2.4
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:


[2007-07-01 13:34:42] d58m at hotmail dot com

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.

Please can you sent me the your installation process for php ver 5.2.4
for windows professional 2ooo so that I can check against me
installation:
   apache_2.2.4-win32-x86-no_ssl lasted version.
1. Double click on PHP-5.2-Windows-installer-latest.
2. I accept the the terms in the licence Agreement.
3. C:\Program Files\PhP\
4. Apache 2.2x module
5. C\Apache Software foundation\Apache2.2\Conf\
6. Choose Items to install select all.
7. Install button clicked ok.
8. No installing errors.



[2007-07-01 13:02:45] [EMAIL PROTECTED]

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.



[2007-07-01 11:22:36] d58m at hotmail dot com

I am working my way through a book called PHP 5 in easy steps
ISBN 1-84078-282-x very basic, my webpage teacher recommended.
--
I have typed this programme and get an error: The page cannot be
displayed.

-
This programme in two parts will generate the bug that I report to
you.



  
  Calculation Form 
 

 

  

  Value 1: 
  Value 2: 
  
  Calculation: 
   Add
   Subtract
   Multiply
   Divide 
  
   
  

  

 


-


 
  
  Calculation Result 
 
 

 
   
 
  
  
 Calc
 




[2007-07-01 01:48:33] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.





[2007-06-30 17:38:02] d58m at hotmail dot com

DebugDiag 1.1 (x86) Report:

Thread 0 - System ID 3720
Entry point   php+2fc2 
Create time   30/06/2007 05:16:18 PM 
Time spent in user mode   0 Days 00:00:00.031 
Time spent in kernel mode   0 Days 00:00:00.01

Thread 1 - System ID 2896
Entry point   KERNEL32!BaseAttachComplete 
Create time   30/06/2007 05:17:27 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 2 - System ID 2920
Entry point   0x85e0bc88 
Create time   30/06/2007 05:18:24 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 0 - System ID 3720
Entry point   php+2fc2 
Create time   30/06/2007 05:16:18 PM 
Time spent in user mode   0 Days 00:00:00.031 
Time spent in kernel mode   0 Days 00:00:00.015 

Thread 1 - System ID 2896
Entry point   0x 
Create time   30/06/2007 05:17:27 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 2 - System ID 2920
Entry point   0x85e0bc88 
Create time   30/06/2007 05:18:24 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 
--

If you double clicked on PhP.exe file you get these dll errors:

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_exif.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_oci8.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pdo_oci.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pdo_

#41855 [Opn->Bgs]: Problem with require()

2007-07-01 Thread sniper
 ID:   41855
 Updated by:   [EMAIL PROTECTED]
-Summary:  Problem with require function
 Reported By:  siegler at boskage dot com
-Status:   Open
+Status:   Bogus
-Bug Type: Filesystem function related
+Bug Type: Scripting Engine problem
 Operating System: Windows Server 2003 (IIS 6)
 PHP Version:  5.2.3
 New Comment:

FYI: require / include are not functions, they are language
constructs.
And something like 'require() or foo()' isn't gonna work since require
exits if file is not found.


Previous Comments:


[2007-06-29 18:32:22] siegler at boskage dot com

Description:

I am having problems using a require statement and getting very odd
results.  The link of code is: 

require("util.php");

util.php does exist in the same directory as the executing script (I
have even run getcwd() to insure my path is getting interpreted
correctly).  

Initially I was getting no error output from this, and for some reason
when I change the code to read:

require("util.php") or die("blah");

I will get my error, except require is throwing a notice instead of a
fatal error so I need this die statement to actually get an error to
show, and die never shows the text I pass to the function.

Reproduce code:
---
Any require statement may or may not reproduce this issue (for the most
part it seems pretty random).  I can temporarily fix this by switching
my require to an include, run the script, switch back to require and
rerun the script.  It will work then for a short period of time.






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


#41350 [Com]: Error in my_thread_global_end()

2007-07-01 Thread selarin at yandex dot ru
 ID:   41350
 Comment by:   selarin at yandex dot ru
 Reported By:  graham at directhostinguk dot com
 Status:   Feedback
 Bug Type: MySQL related
 Operating System: Windows 2003
 PHP Version:  5.2.2
 Assigned To:  georg
 New Comment:

This bug may break down some AJAX application. Response generated by
PHP-script influenced by this bug can not be parsed as XML because error
text is appended to it.


Previous Comments:


[2007-07-01 02:34:06] anony at ousql dot cl

I work with php 5.2.3 and has the same problem.
i try changing the dll's from mysql and can see that my problem was
only the short syntaxys wasn't enabled.
i resolve editing php.ini 
change
short_open_tag = Off to On
Regards
Antonia from Chile



[2007-06-28 10:02:15] chris at crgs dot co dot uk

Scott is already aware of this, but I tried the snapshot from 12:30
27-06-2007 and it didn't fix the problem. However this might be because
the fix from the MySQL bug is necessary as well, and currently the PHP
snapshots contain libmysql.dll from PHP 5.0.37 rather than 5.0.45 (which
is apparently the one we need).

We may need to wait for MySQL to release their new version, and for the
new libmysql.dll to make its way across to PHP, before the bug will be
'properly' fixed.



[2007-06-26 12:00:57] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

I've committed a fix that should have resolved this.



[2007-06-26 11:38:18] maxfm at abv dot bg

Just go to the end of php.ini
Change:
[PHP_MYSQL]
extension=php_mysql.dll
to:
;[PHP_MYSQL]
;extension=php_mysql.dll

Then go to:
;extension=php_mysql.dll
and enable it:
extension=php_mysql.dll



[2007-06-24 09:37:28] ysangkok at gmail dot com

I'm experiencing the same problem with 5.2.3. Using CGI on IIS5.

I fixed it by using the dll from 5.2.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/41350

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


#41857 [Opn->Asn]: proc_close() sometimes returns 0 but most times returns -1

2007-07-01 Thread sniper
 ID:   41857
 Updated by:   [EMAIL PROTECTED]
 Reported By:  charpour at gnet dot gr
-Status:   Open
+Status:   Assigned
 Bug Type: Program Execution
 Operating System: Debian 4.0 etch/Slackware 10.2.0
 PHP Version:  5.2.3
-Assigned To:  
+Assigned To:  tony2001
 New Comment:

According to Thies' commit comment about the --enable-sigchild option
it is needed when using oracle libs >= 8.1
(see: cvs log -r1.132 configure.in)

Does it still count? And if it does, is this option just for the oracle
stuff? If it is, why not move it into ext/oci8/config.m4 ? (and perhaps
ext/pdo_oci/config.m4 needs it too..)


Previous Comments:


[2007-06-30 11:49:00] judas dot iscariote at gmail dot com

If you remove --enable-sigchild it will work. do not use that, is not
needed anymore for nothing. ( IIRC was needed for old oracle extension
that is no longer in use)

I only wonder why it has not been removed yet..



[2007-06-30 00:21:09] thespacefrog at hotmail dot com

I have the same problem with proc_close and I need the sigchild option
to have the script run as a daemon. Is there any chance to fix this?:/

Thanks



[2007-06-29 21:37:18] charpour at gnet dot gr

Without these options in the configure command works fine (returns
always 0) :
--enable-sigchild --enable-pcntl --enable-shmop --enable-sysvsem



[2007-06-29 20:52:33] charpour at gnet dot gr

Description:

Sometimes proc_close() returns the expected value "0" but most times
returns -1.

Configure command: 
 './configure' '--prefix=/usr/local/php5.2' '--with-mysql'
'--with-mysql-sock' '--with-sqlite' '--enable-sqlite-utf8' '--with-zlib'
'--with-zlib-dir' '--with-bz2'
'--with-config-file-path=/usr/local/php5.2' '--enable-mbstring'
'--enable-sigchild' '--enable-pcntl' '--enable-shmop' '--enable-sysvsem'
'--enable-cli' '--disable-cgi'

Reproduce code:
---
 array("pipe", "r"),
   1 => array("pipe", "w"),
   2 => array("file", "/tmp/error-output.txt", "a")
);

$cwd = '/tmp';

$process = proc_open('ls -lap', $descriptorspec, $pipes, $cwd);

if (is_resource($process)) {

fclose($pipes[0]);

echo stream_get_contents($pipes[1]);
fclose($pipes[1]);

$return_value = proc_close($process);

echo "command returned $return_value\n";
}
?>


Expected result:

command returned 0.

Actual result:
--
command returned 0. or command returned -1.





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


#41787 [Bgs->Opn]: not view the correct code in the browser

2007-07-01 Thread d58m at hotmail dot com
 ID:   41787
 User updated by:  d58m at hotmail dot com
 Reported By:  d58m at hotmail dot com
-Status:   Bogus
+Status:   Open
 Bug Type: Apache2 related
 Operating System: windows 2000 Professional
 PHP Version:  5.2.4
 New Comment:

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.

Please can you sent me the your installation process for php ver 5.2.4
for windows professional 2ooo so that I can check against me
installation:
   apache_2.2.4-win32-x86-no_ssl lasted version.
1. Double click on PHP-5.2-Windows-installer-latest.
2. I accept the the terms in the licence Agreement.
3. C:\Program Files\PhP\
4. Apache 2.2x module
5. C\Apache Software foundation\Apache2.2\Conf\
6. Choose Items to install select all.
7. Install button clicked ok.
8. No installing errors.


Previous Comments:


[2007-07-01 13:02:45] [EMAIL PROTECTED]

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.



[2007-07-01 11:22:36] d58m at hotmail dot com

I am working my way through a book called PHP 5 in easy steps
ISBN 1-84078-282-x very basic, my webpage teacher recommended.
--
I have typed this programme and get an error: The page cannot be
displayed.

-
This programme in two parts will generate the bug that I report to
you.



  
  Calculation Form 
 

 

  

  Value 1: 
  Value 2: 
  
  Calculation: 
   Add
   Subtract
   Multiply
   Divide 
  
   
  

  

 


-


 
  
  Calculation Result 
 
 

 
   
 
  
  
 Calc
 




[2007-07-01 01:48:33] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.





[2007-06-30 17:38:02] d58m at hotmail dot com

DebugDiag 1.1 (x86) Report:

Thread 0 - System ID 3720
Entry point   php+2fc2 
Create time   30/06/2007 05:16:18 PM 
Time spent in user mode   0 Days 00:00:00.031 
Time spent in kernel mode   0 Days 00:00:00.01

Thread 1 - System ID 2896
Entry point   KERNEL32!BaseAttachComplete 
Create time   30/06/2007 05:17:27 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 2 - System ID 2920
Entry point   0x85e0bc88 
Create time   30/06/2007 05:18:24 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 0 - System ID 3720
Entry point   php+2fc2 
Create time   30/06/2007 05:16:18 PM 
Time spent in user mode   0 Days 00:00:00.031 
Time spent in kernel mode   0 Days 00:00:00.015 

Thread 1 - System ID 2896
Entry point   0x 
Create time   30/06/2007 05:17:27 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 2 - System ID 2920
Entry point   0x85e0bc88 
Create time   30/06/2007 05:18:24 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 
--

If you double clicked on PhP.exe file you get these dll errors:

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_exif.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_oci8.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pdo_oci.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pdo_oci8.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pdo_sqlite_external.dll' - The specified module could not be 

found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pspell.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_sybase_ct.dll' - The specified module could not be

#41864 [Opn->Bgs]: CLI crashes on exit when loading php_threads.dll

2007-07-01 Thread sniper
 ID:   41864
 Updated by:   [EMAIL PROTECTED]
 Reported By:  deepermm at web dot de
-Status:   Open
+Status:   Bogus
 Bug Type: CGI related
 Operating System: Windows Vista
 PHP Version:  5CVS-2007-07-01 (snap)
 New Comment:

This is wrong place to report bugs in PECL extensions.


Previous Comments:


[2007-07-01 13:15:51] deepermm at web dot de

not loading php_threads.dll works around that



[2007-07-01 13:07:30] deepermm at web dot de

Rechecked: It also crashes upon die() and exit(), this time apache
suffers as well.



[2007-07-01 13:02:32] deepermm at web dot de

Description:

When running the 5.2.4-dev (5.2.2.4) php.exe, php-win.exe or
php-cgi.exe from either the command line or the explorer, using any
command line options, windows will generate an "CLI does not work
anymore" error as soon as the applications exits.

When viewing pages through the Apache 2.2 php module, everything works
fine.

Reproduce code:
---
just run the CLI and exit witth CTRL-Z or run with any command line
options

Expected result:

clean exit

Actual result:
--
Visual Studio quotes an "Unhandled exception at 0x10099c2d in php.exe:
0xC005: Access violation reading location 0x0014.", the call
stack shows that the call comes from php5ts.dll!10099c2d() in an earlier
stage.

Windows Event log gives

Application Error, Event-ID: 1000, Level: 2, Task category: 100,
Keyword: 0x80 (classic), Protocol channel: Application
Error in php.exe (5.2.4.4), failing module: php5ts.dll (5.2.4.4)
Timestamp 0x4687981e, Exception code 0xc005, Error offset 00099c2d
Process ID b98, Application start time 01c7bbddaf3efa82.

Visual Studio backtrace:

>   php5ts.dll!zend_hash_destroy(_hashtable * ht=0x0001)  Line 522 +
0x7 bytes   C
php5ts.dll!module_registry_cleanup(_zend_module_entry *
module=0x01a5de98, void * * * tsrm_ls=0x0015f860)  Line 1946 + 0x11
bytes   C
php5ts.dll!zend_hash_apply(_hashtable * ht=0x104b0fc0, int (void *,
void * * *)* apply_func=0x100078b0, void * * * tsrm_ls=0x0015f860)  Line
673 + 0x9 bytes C
php5ts.dll!zend_deactivate_modules(void * * * tsrm_ls=0x0015f860) 
Line 838 + 0x10 bytes   C
php5ts.dll!php_request_shutdown(void * dummy=0x)  Line
1317C
php.exe!main(int argc=1, char * * argv=0x0015f838)  Line 1332 + 0x8
bytes   C
php.exe!_mainCRTStartup()  + 0xe3 bytes 
kernel32.dll!77343833() 
[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]   
ntdll.dll!77a1a9bd()






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


#41864 [Opn]: CLI crashes on exit when loading php_threads.dll

2007-07-01 Thread deepermm at web dot de
 ID:   41864
 User updated by:  deepermm at web dot de
-Summary:  CLI crashes on exit
 Reported By:  deepermm at web dot de
 Status:   Open
 Bug Type: CGI related
 Operating System: Windows Vista
 PHP Version:  5CVS-2007-07-01 (snap)
 New Comment:

not loading php_threads.dll works around that


Previous Comments:


[2007-07-01 13:07:30] deepermm at web dot de

Rechecked: It also crashes upon die() and exit(), this time apache
suffers as well.



[2007-07-01 13:02:32] deepermm at web dot de

Description:

When running the 5.2.4-dev (5.2.2.4) php.exe, php-win.exe or
php-cgi.exe from either the command line or the explorer, using any
command line options, windows will generate an "CLI does not work
anymore" error as soon as the applications exits.

When viewing pages through the Apache 2.2 php module, everything works
fine.

Reproduce code:
---
just run the CLI and exit witth CTRL-Z or run with any command line
options

Expected result:

clean exit

Actual result:
--
Visual Studio quotes an "Unhandled exception at 0x10099c2d in php.exe:
0xC005: Access violation reading location 0x0014.", the call
stack shows that the call comes from php5ts.dll!10099c2d() in an earlier
stage.

Windows Event log gives

Application Error, Event-ID: 1000, Level: 2, Task category: 100,
Keyword: 0x80 (classic), Protocol channel: Application
Error in php.exe (5.2.4.4), failing module: php5ts.dll (5.2.4.4)
Timestamp 0x4687981e, Exception code 0xc005, Error offset 00099c2d
Process ID b98, Application start time 01c7bbddaf3efa82.

Visual Studio backtrace:

>   php5ts.dll!zend_hash_destroy(_hashtable * ht=0x0001)  Line 522 +
0x7 bytes   C
php5ts.dll!module_registry_cleanup(_zend_module_entry *
module=0x01a5de98, void * * * tsrm_ls=0x0015f860)  Line 1946 + 0x11
bytes   C
php5ts.dll!zend_hash_apply(_hashtable * ht=0x104b0fc0, int (void *,
void * * *)* apply_func=0x100078b0, void * * * tsrm_ls=0x0015f860)  Line
673 + 0x9 bytes C
php5ts.dll!zend_deactivate_modules(void * * * tsrm_ls=0x0015f860) 
Line 838 + 0x10 bytes   C
php5ts.dll!php_request_shutdown(void * dummy=0x)  Line
1317C
php.exe!main(int argc=1, char * * argv=0x0015f838)  Line 1332 + 0x8
bytes   C
php.exe!_mainCRTStartup()  + 0xe3 bytes 
kernel32.dll!77343833() 
[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]   
ntdll.dll!77a1a9bd()






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


#41864 [Opn]: CLI crashes on exit

2007-07-01 Thread deepermm at web dot de
 ID:   41864
 User updated by:  deepermm at web dot de
 Reported By:  deepermm at web dot de
 Status:   Open
 Bug Type: CGI related
 Operating System: Windows Vista
 PHP Version:  5CVS-2007-07-01 (snap)
 New Comment:

Rechecked: It also crashes upon die() and exit(), this time apache
suffers as well.


Previous Comments:


[2007-07-01 13:02:32] deepermm at web dot de

Description:

When running the 5.2.4-dev (5.2.2.4) php.exe, php-win.exe or
php-cgi.exe from either the command line or the explorer, using any
command line options, windows will generate an "CLI does not work
anymore" error as soon as the applications exits.

When viewing pages through the Apache 2.2 php module, everything works
fine.

Reproduce code:
---
just run the CLI and exit witth CTRL-Z or run with any command line
options

Expected result:

clean exit

Actual result:
--
Visual Studio quotes an "Unhandled exception at 0x10099c2d in php.exe:
0xC005: Access violation reading location 0x0014.", the call
stack shows that the call comes from php5ts.dll!10099c2d() in an earlier
stage.

Windows Event log gives

Application Error, Event-ID: 1000, Level: 2, Task category: 100,
Keyword: 0x80 (classic), Protocol channel: Application
Error in php.exe (5.2.4.4), failing module: php5ts.dll (5.2.4.4)
Timestamp 0x4687981e, Exception code 0xc005, Error offset 00099c2d
Process ID b98, Application start time 01c7bbddaf3efa82.

Visual Studio backtrace:

>   php5ts.dll!zend_hash_destroy(_hashtable * ht=0x0001)  Line 522 +
0x7 bytes   C
php5ts.dll!module_registry_cleanup(_zend_module_entry *
module=0x01a5de98, void * * * tsrm_ls=0x0015f860)  Line 1946 + 0x11
bytes   C
php5ts.dll!zend_hash_apply(_hashtable * ht=0x104b0fc0, int (void *,
void * * *)* apply_func=0x100078b0, void * * * tsrm_ls=0x0015f860)  Line
673 + 0x9 bytes C
php5ts.dll!zend_deactivate_modules(void * * * tsrm_ls=0x0015f860) 
Line 838 + 0x10 bytes   C
php5ts.dll!php_request_shutdown(void * dummy=0x)  Line
1317C
php.exe!main(int argc=1, char * * argv=0x0015f838)  Line 1332 + 0x8
bytes   C
php.exe!_mainCRTStartup()  + 0xe3 bytes 
kernel32.dll!77343833() 
[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]   
ntdll.dll!77a1a9bd()






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


#41787 [Opn->Bgs]: not view the correct code in the browser

2007-07-01 Thread sniper
 ID:   41787
 Updated by:   [EMAIL PROTECTED]
 Reported By:  d58m at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Apache2 related
 Operating System: windows 2000 Professional
 PHP Version:  5.2.4
 New Comment:

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.


Previous Comments:


[2007-07-01 11:22:36] d58m at hotmail dot com

I am working my way through a book called PHP 5 in easy steps
ISBN 1-84078-282-x very basic, my webpage teacher recommended.
--
I have typed this programme and get an error: The page cannot be
displayed.

-
This programme in two parts will generate the bug that I report to
you.



  
  Calculation Form 
 

 

  

  Value 1: 
  Value 2: 
  
  Calculation: 
   Add
   Subtract
   Multiply
   Divide 
  
   
  

  

 


-


 
  
  Calculation Result 
 
 

 
   
 
  
  
 Calc
 




[2007-07-01 01:48:33] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.





[2007-06-30 17:38:02] d58m at hotmail dot com

DebugDiag 1.1 (x86) Report:

Thread 0 - System ID 3720
Entry point   php+2fc2 
Create time   30/06/2007 05:16:18 PM 
Time spent in user mode   0 Days 00:00:00.031 
Time spent in kernel mode   0 Days 00:00:00.01

Thread 1 - System ID 2896
Entry point   KERNEL32!BaseAttachComplete 
Create time   30/06/2007 05:17:27 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 2 - System ID 2920
Entry point   0x85e0bc88 
Create time   30/06/2007 05:18:24 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 0 - System ID 3720
Entry point   php+2fc2 
Create time   30/06/2007 05:16:18 PM 
Time spent in user mode   0 Days 00:00:00.031 
Time spent in kernel mode   0 Days 00:00:00.015 

Thread 1 - System ID 2896
Entry point   0x 
Create time   30/06/2007 05:17:27 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 2 - System ID 2920
Entry point   0x85e0bc88 
Create time   30/06/2007 05:18:24 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 
--

If you double clicked on PhP.exe file you get these dll errors:

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_exif.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_oci8.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pdo_oci.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pdo_oci8.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pdo_sqlite_external.dll' - The specified module could not be 

found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pspell.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_sybase_ct.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_ibm_db2.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_ifx.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_ingres.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_maxdb.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic l

#41864 [NEW]: CLI crashes on exit

2007-07-01 Thread deepermm at web dot de
From: deepermm at web dot de
Operating system: Windows Vista
PHP version:  5CVS-2007-07-01 (snap)
PHP Bug Type: CGI related
Bug description:  CLI crashes on exit

Description:

When running the 5.2.4-dev (5.2.2.4) php.exe, php-win.exe or php-cgi.exe
from either the command line or the explorer, using any command line
options, windows will generate an "CLI does not work anymore" error as soon
as the applications exits.

When viewing pages through the Apache 2.2 php module, everything works
fine.

Reproduce code:
---
just run the CLI and exit witth CTRL-Z or run with any command line
options

Expected result:

clean exit

Actual result:
--
Visual Studio quotes an "Unhandled exception at 0x10099c2d in php.exe:
0xC005: Access violation reading location 0x0014.", the call stack
shows that the call comes from php5ts.dll!10099c2d() in an earlier stage.

Windows Event log gives

Application Error, Event-ID: 1000, Level: 2, Task category: 100, Keyword:
0x80 (classic), Protocol channel: Application
Error in php.exe (5.2.4.4), failing module: php5ts.dll (5.2.4.4)
Timestamp 0x4687981e, Exception code 0xc005, Error offset 00099c2d
Process ID b98, Application start time 01c7bbddaf3efa82.

Visual Studio backtrace:

>   php5ts.dll!zend_hash_destroy(_hashtable * ht=0x0001)  Line 522 + 0x7
bytes   C
php5ts.dll!module_registry_cleanup(_zend_module_entry *
module=0x01a5de98, void * * * tsrm_ls=0x0015f860)  Line 1946 + 0x11
bytes   C
php5ts.dll!zend_hash_apply(_hashtable * ht=0x104b0fc0, int (void *, void
* * *)* apply_func=0x100078b0, void * * * tsrm_ls=0x0015f860)  Line 673 +
0x9 bytes   C
php5ts.dll!zend_deactivate_modules(void * * * tsrm_ls=0x0015f860)  Line
838 + 0x10 bytesC
php5ts.dll!php_request_shutdown(void * dummy=0x)  Line 1317 
C
php.exe!main(int argc=1, char * * argv=0x0015f838)  Line 1332 + 0x8
bytes   C
php.exe!_mainCRTStartup()  + 0xe3 bytes 
kernel32.dll!77343833() 
[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]   
ntdll.dll!77a1a9bd()


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


#41863 [Opn->Csd]: post array is empty

2007-07-01 Thread sniper
 ID:   41863
 Updated by:   [EMAIL PROTECTED]
 Reported By:  eag at jensentechnologies dot com
-Status:   Open
+Status:   Closed
 Bug Type: Apache2 related
 Operating System: FreeBSD 6.0
 PHP Version:  5.2.3
 New Comment:

This is already fixed in CVS. For the next time: SEARCH before
reporting..


Previous Comments:


[2007-07-01 11:43:44] judas dot iscariote at gmail dot com

>I can't use POST from AJAX.

Upgrading to php 5.2.3 will probably help. http_raw_post-data was
broken in 5.2.2, try with a newer version first



[2007-07-01 08:37:24] eag at jensentechnologies dot com

Forgot this...

Request Headers
Hostlandlordterminal.com
User-Agent  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.12)
Gecko/20070508 Firefox/1.5.0.12
Accept  
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive  300
Connection  keep-alive
Content-Typeapplication/octet-stream
Content-Length  53
Cookie  project_manager=1; logged_users=NNS;
__utmz=28800929.1181397462.24.3.utmccn=(organic)|utmcsr=google|utmctr=web+based+property+management+system|utmcmd=organic;
__utma=28800929.1605506228.1177254938.1182327548.1183110471.26;
PHPSESSID=v6t22l44ggss1l4011pb36pt40
Pragma  no-cache
Cache-Control   no-cache



[2007-07-01 08:34:04] eag at jensentechnologies dot com

Description:

PHP Version is 5.2.2

Response Headers
Via 1.1 STARGATE
Connection  Keep-Alive
Proxy-ConnectionKeep-Alive
Content-Length  326
Expires Thu, 19 Nov 1981 08:52:00 GMT
DateSun, 01 Jul 2007 08:09:18 GMT
Content-Typetext/plain; charset=utf-8
Server  Apache/2.2.4 (Unix) PHP/5.2.2 with Suhosin-Patch mod_ssl/2.2.4
OpenSSL/0.9.7e-p1 mod_apreq2-20051231/2.5.7 mod_perl/2.0.3 Perl/v5.8.7
X-Powered-ByPHP/5.2.2
Set-Cookie  debug=no
Cache-Control   no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma  no-cache
Keep-Alive  timeout=5, max=100

Post Data
data[id]=1334&data[txt]=4&data[sel]=card&act=checkout

always_populate_raw_post_data Off
variables_order GPCS 

Please help, I can't use POST from AJAX. If I send POST from usual
form, I getting it normally.






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


#41863 [Com]: post array is empty

2007-07-01 Thread judas dot iscariote at gmail dot com
 ID:   41863
 Comment by:   judas dot iscariote at gmail dot com
 Reported By:  eag at jensentechnologies dot com
 Status:   Open
 Bug Type: Apache2 related
 Operating System: FreeBSD 6.0
 PHP Version:  5.2.3
 New Comment:

>I can't use POST from AJAX.

Upgrading to php 5.2.3 will probably help. http_raw_post-data was
broken in 5.2.2, try with a newer version first


Previous Comments:


[2007-07-01 08:37:24] eag at jensentechnologies dot com

Forgot this...

Request Headers
Hostlandlordterminal.com
User-Agent  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.12)
Gecko/20070508 Firefox/1.5.0.12
Accept  
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive  300
Connection  keep-alive
Content-Typeapplication/octet-stream
Content-Length  53
Cookie  project_manager=1; logged_users=NNS;
__utmz=28800929.1181397462.24.3.utmccn=(organic)|utmcsr=google|utmctr=web+based+property+management+system|utmcmd=organic;
__utma=28800929.1605506228.1177254938.1182327548.1183110471.26;
PHPSESSID=v6t22l44ggss1l4011pb36pt40
Pragma  no-cache
Cache-Control   no-cache



[2007-07-01 08:34:04] eag at jensentechnologies dot com

Description:

PHP Version is 5.2.2

Response Headers
Via 1.1 STARGATE
Connection  Keep-Alive
Proxy-ConnectionKeep-Alive
Content-Length  326
Expires Thu, 19 Nov 1981 08:52:00 GMT
DateSun, 01 Jul 2007 08:09:18 GMT
Content-Typetext/plain; charset=utf-8
Server  Apache/2.2.4 (Unix) PHP/5.2.2 with Suhosin-Patch mod_ssl/2.2.4
OpenSSL/0.9.7e-p1 mod_apreq2-20051231/2.5.7 mod_perl/2.0.3 Perl/v5.8.7
X-Powered-ByPHP/5.2.2
Set-Cookie  debug=no
Cache-Control   no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma  no-cache
Keep-Alive  timeout=5, max=100

Post Data
data[id]=1334&data[txt]=4&data[sel]=card&act=checkout

always_populate_raw_post_data Off
variables_order GPCS 

Please help, I can't use POST from AJAX. If I send POST from usual
form, I getting it normally.






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


#41787 [Fbk->Opn]: not view the correct code in the browser

2007-07-01 Thread d58m at hotmail dot com
 ID:   41787
 User updated by:  d58m at hotmail dot com
 Reported By:  d58m at hotmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Apache2 related
 Operating System: windows 2000 Professional
 PHP Version:  5.2.4
 New Comment:

I am working my way through a book called PHP 5 in easy steps
ISBN 1-84078-282-x very basic, my webpage teacher recommended.
--
I have typed this programme and get an error: The page cannot be
displayed.

-
This programme in two parts will generate the bug that I report to
you.



  
  Calculation Form 
 

 

  

  Value 1: 
  Value 2: 
  
  Calculation: 
   Add
   Subtract
   Multiply
   Divide 
  
   
  

  

 


-


 
  
  Calculation Result 
 
 

 
   
 
  
  
 Calc
 



Previous Comments:


[2007-07-01 01:48:33] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.





[2007-06-30 17:38:02] d58m at hotmail dot com

DebugDiag 1.1 (x86) Report:

Thread 0 - System ID 3720
Entry point   php+2fc2 
Create time   30/06/2007 05:16:18 PM 
Time spent in user mode   0 Days 00:00:00.031 
Time spent in kernel mode   0 Days 00:00:00.01

Thread 1 - System ID 2896
Entry point   KERNEL32!BaseAttachComplete 
Create time   30/06/2007 05:17:27 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 2 - System ID 2920
Entry point   0x85e0bc88 
Create time   30/06/2007 05:18:24 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 0 - System ID 3720
Entry point   php+2fc2 
Create time   30/06/2007 05:16:18 PM 
Time spent in user mode   0 Days 00:00:00.031 
Time spent in kernel mode   0 Days 00:00:00.015 

Thread 1 - System ID 2896
Entry point   0x 
Create time   30/06/2007 05:17:27 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 

Thread 2 - System ID 2920
Entry point   0x85e0bc88 
Create time   30/06/2007 05:18:24 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 
--

If you double clicked on PhP.exe file you get these dll errors:

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_exif.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_oci8.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pdo_oci.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pdo_oci8.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pdo_sqlite_external.dll' - The specified module could not be 

found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_pspell.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_sybase_ct.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_ibm_db2.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_ifx.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_ingres.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_maxdb.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_mcve.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program 

Files\PHP\
ext\php_netools.dll' - Th

#41863 [Opn]: post array is empty

2007-07-01 Thread eag at jensentechnologies dot com
 ID:   41863
 User updated by:  eag at jensentechnologies dot com
 Reported By:  eag at jensentechnologies dot com
 Status:   Open
 Bug Type: Apache2 related
 Operating System: FreeBSD 6.0
 PHP Version:  5.2.3
 New Comment:

Forgot this...

Request Headers
Hostlandlordterminal.com
User-Agent  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.12)
Gecko/20070508 Firefox/1.5.0.12
Accept  
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive  300
Connection  keep-alive
Content-Typeapplication/octet-stream
Content-Length  53
Cookie  project_manager=1; logged_users=NNS;
__utmz=28800929.1181397462.24.3.utmccn=(organic)|utmcsr=google|utmctr=web+based+property+management+system|utmcmd=organic;
__utma=28800929.1605506228.1177254938.1182327548.1183110471.26;
PHPSESSID=v6t22l44ggss1l4011pb36pt40
Pragma  no-cache
Cache-Control   no-cache


Previous Comments:


[2007-07-01 08:34:04] eag at jensentechnologies dot com

Description:

PHP Version is 5.2.2

Response Headers
Via 1.1 STARGATE
Connection  Keep-Alive
Proxy-ConnectionKeep-Alive
Content-Length  326
Expires Thu, 19 Nov 1981 08:52:00 GMT
DateSun, 01 Jul 2007 08:09:18 GMT
Content-Typetext/plain; charset=utf-8
Server  Apache/2.2.4 (Unix) PHP/5.2.2 with Suhosin-Patch mod_ssl/2.2.4
OpenSSL/0.9.7e-p1 mod_apreq2-20051231/2.5.7 mod_perl/2.0.3 Perl/v5.8.7
X-Powered-ByPHP/5.2.2
Set-Cookie  debug=no
Cache-Control   no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma  no-cache
Keep-Alive  timeout=5, max=100

Post Data
data[id]=1334&data[txt]=4&data[sel]=card&act=checkout

always_populate_raw_post_data Off
variables_order GPCS 

Please help, I can't use POST from AJAX. If I send POST from usual
form, I getting it normally.






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


#41863 [NEW]: post array is empty

2007-07-01 Thread eag at jensentechnologies dot com
From: eag at jensentechnologies dot com
Operating system: FreeBSD 6.0
PHP version:  5.2.3
PHP Bug Type: Apache2 related
Bug description:  post array is empty

Description:

PHP Version is 5.2.2

Response Headers
Via 1.1 STARGATE
Connection  Keep-Alive
Proxy-ConnectionKeep-Alive
Content-Length  326
Expires Thu, 19 Nov 1981 08:52:00 GMT
DateSun, 01 Jul 2007 08:09:18 GMT
Content-Typetext/plain; charset=utf-8
Server  Apache/2.2.4 (Unix) PHP/5.2.2 with Suhosin-Patch mod_ssl/2.2.4
OpenSSL/0.9.7e-p1 mod_apreq2-20051231/2.5.7 mod_perl/2.0.3 Perl/v5.8.7
X-Powered-ByPHP/5.2.2
Set-Cookie  debug=no
Cache-Control   no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma  no-cache
Keep-Alive  timeout=5, max=100

Post Data
data[id]=1334&data[txt]=4&data[sel]=card&act=checkout

always_populate_raw_post_data Off
variables_order GPCS 

Please help, I can't use POST from AJAX. If I send POST from usual form, I
getting it normally.


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