>Hi Andy,
>Have you tried running it with valgrind? (See [1] for tips).
>Otherwise, you might have more luck at php-internals mailing list,
>since it is related to PHP development if you intend to fix either PHP
>or the plugin.
>
>Matijn
>[1] https://bugs.php.net/bugs-getting-valgrind-log.php
Than
On Wed, Jan 4, 2012 at 3:34 PM, Andrew Morum wrote:
> We've got a problem with PHP 5.3.8 and a third party (open source)
> library (WSo2 SOAP).
>
>
>
> At some point during the request to the PHP script, some structures seem
> to be getting corrupted causing PHP to crash.
>
>
>
> Depending on the
On Wed, 13 Apr 2011, Daniel Brown wrote:
I believe he meant that it's been too long since he used C (which uses
semicolons) and that Python, which he used more recently, doesn't use
semicolons (which always trips me up whenever I have to patch Python
code).
Thank you, Daniel.
Inserting
On Tue, Apr 12, 2011 at 22:06, Paul M Foster wrote:
>
> Wait, what?! Did they change C? When did this happen?! ;-}
I believe he meant that it's been too long since he used C (which
uses semicolons) and that Python, which he used more recently, doesn't
use semicolons (which always trips me up
On 13 April 2011 03:06, Paul M Foster wrote:
> On Tue, Apr 12, 2011 at 03:37:26PM -0700, Rich Shepard wrote:
>
>> On Tue, 12 Apr 2011, Daniel Brown wrote:
>>
>> > You missed the ending semicolon, that's all.
>>
>> Daniel,
>>
>> Oops! Too long since C and Python doesn't use semicolons.
>
> Wait
On Tue, Apr 12, 2011 at 03:37:26PM -0700, Rich Shepard wrote:
> On Tue, 12 Apr 2011, Daniel Brown wrote:
>
> > You missed the ending semicolon, that's all.
>
> Daniel,
>
> Oops! Too long since C and Python doesn't use semicolons.
Wait, what?! Did they change C? When did this happen?! ;-}
On Tue, 12 Apr 2011, Daniel Brown wrote:
You missed the ending semicolon, that's all.
Daniel,
Oops! Too long since C and Python doesn't use semicolons.
Adding that, I remove the error but do not see the printed backtrace.
Please suggest how I can determine the source of the page not f
On Tue, Apr 12, 2011 at 18:29, Rich Shepard wrote:
>
> Looking at the PHP manual I see there's a function called
> debug_print_backtrace(), but I have not found how to properly use it. When I
> insert it at the top of ErrorHandler404(), php throws an error when I try to
> run index.php:
>
> funct
On Aug 29, 2008, at 851AM, Edward Diener wrote:
I have not looked into PHP IDEs at all so far. Any recommendations ?
Thanks !
Please don't start this up again. Check the "PHP IDE Needed" thread
that has been active for the past several days or search the list
archives.
http://marc.info/
On Fri, Aug 29, 2008 at 11:51 AM, Edward Diener <[EMAIL PROTECTED]>wrote:
> Dan Joseph wrote:
>
>> On Fri, Aug 29, 2008 at 11:33 AM, Edward Diener <[EMAIL PROTECTED]
>> >wrote:
>>
>>
> I have not looked into PHP IDEs at all so far. Any recommendations ? Thanks
> !
>
>
> --
> PHP General Mailing Li
Dan Joseph wrote:
On Fri, Aug 29, 2008 at 11:33 AM, Edward Diener <[EMAIL PROTECTED]>wrote:
I am fairly new to PHP. What is the best way of debugging PHP scripts ?
I have put in echo statements to tell me what is happening, but perhaps
there are better methods.
I have a PHP script on a server
On Fri, Aug 29, 2008 at 11:33 AM, Edward Diener <[EMAIL PROTECTED]>wrote:
> I am fairly new to PHP. What is the best way of debugging PHP scripts ?
>
> I have put in echo statements to tell me what is happening, but perhaps
> there are better methods.
>
> I have a PHP script on a server, which I a
Vishal Patel schreef:
i dont know why the hell im on it so please whoever did this, i wish
they would stop fucking about with my account. please can you unsuscribe
me to all such mailing lists as at the moment im recieving about 10 new
emails a minute about all this stuff which im sure you can
On Jan 22, 2008 6:15 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> TG schreef:
> > I have a semi-good understanding of classes even if I don't totally
> 'grok'
> > the benefits for the projects I've worked on so far.
> >
> > One thing that keeps smacking me in the face, though, is reverse
> enginee
Vishal Patel schreef:
who the fuck are you and why the fuck are you emailing me
I'm fucking me actually. and I'm fucking mailing a fucking mailing list which
apparently your fucking subscribed to. So now your fucking up to speed.
Any other fucking questions?
On Jan 22, 2008 11:15 PM, Jochem
TG schreef:
I have a semi-good understanding of classes even if I don't totally 'grok'
the benefits for the projects I've worked on so far.
One thing that keeps smacking me in the face, though, is reverse engineering
in order to make proper changes to projects created by others using classes.
On Jan 22, 2008 2:40 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> At least, that would be one of the first features I'd put into an IDE,
> if I used OOP in PHP and if I used IDEs in the first place...
actually php-eclipse and pdt both have pretty solid oop support for php.
and theyre free.
the
On Tue, January 22, 2008 12:06 pm, TG wrote:
> One thing that keeps smacking me in the face, though, is reverse
> engineering
> in order to make proper changes to projects created by others using
> classes.
OOP requires a great deal more high-level documentation, to tell what
classes do what and h
On Jan 22, 2008 1:06 PM, TG <[EMAIL PROTECTED]> wrote:
>
> I have a semi-good understanding of classes even if I don't totally 'grok'
> the benefits for the projects I've worked on so far.
>
> One thing that keeps smacking me in the face, though, is reverse
> engineering
> in order to make proper
On Thu, April 5, 2007 11:04 am, Daniel Brown wrote:
> Does anyone have any experience using engine-level debuggers
> and/or
> extensions in PHP? I installed the PECL module APD just a moment ago,
> and
> haven't even used it yet, because I wanted to see if anyone here has a
> better suggestion
On 4/5/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
Does anyone have any experience using engine-level debuggers and/or
extensions in PHP? I installed the PECL module APD just a moment ago, and
haven't even used it yet, because I wanted to see if anyone here has a
better suggestion. I'd like
On Mon, March 26, 2007 11:31 am, Jonathan Kahan wrote:
> I am attmepting to run a php scrip and this is the error i keep on
> getting.
> The scripts first 4 lines are below the errors. When errors are
> returned,
> does that mean that the error is local or in one of the include
> scripts? I
> have
Jonathan Kahan wrote:
I am attmepting to run a php scrip and this is the error i keep on
getting. The scripts first 4 lines are below the errors. When errors are
returned, does that mean that the error is local or in one of the
include scripts? I have tried to reverse the order of the includes
On Wed, January 24, 2007 1:01 pm, Skip Evans wrote:
> Hey all,
>
> I'm working on a site that allows users to build
> libraries of podcasts, and one of the calls to a
> PHP file is itpc, not http.
>
> Hence I don't have the ability to echo data for
> debugging, and I also don't have write access to
On Wed, 2007-01-24 at 12:01 -0700, Skip Evans wrote:
> Hey all,
>
> I'm working on a site that allows users to build
> libraries of podcasts, and one of the calls to a
> PHP file is itpc, not http.
>
> Hence I don't have the ability to echo data for
> debugging, and I also don't have write acc
Hey Robert,
Oh, of course. Heck, I was already trying to
fwrite to a file so that should have occurred me...
...if I hadn't done all that acid in the 60s, and
I was only FIVE in the 60s!
Thanks for clearing the fog.
Skip
Robert Cummings wrote:
On Wed, 2007-01-24 at 14:07 -0500, Robert Cu
On Wed, 2007-01-24 at 14:07 -0500, Robert Cummings wrote:
> On Wed, 2007-01-24 at 12:01 -0700, Skip Evans wrote:
> > Hey all,
> >
> > I'm working on a site that allows users to build
> > libraries of podcasts, and one of the calls to a
> > PHP file is itpc, not http.
> >
> > Hence I don't have
On 1/12/07, Sancar Saran <[EMAIL PROTECTED]> wrote:
Hi,
Due to my English knowladge shortcomings or just my own stupity I cannot setup
a working php debug module.
Is any one have working solution.
My target was, able to check every functions and or files for performance
issues.
I thing this c
tedd wrote:
> At 6:19 PM -0400 7/12/06, Michael B Allen wrote:
>> On Wed, 12 Jul 2006 22:44:23 +0100
>> Stut <[EMAIL PROTECTED]> wrote:
>>
>>> Michael B Allen wrote:
Thanks for the tip dipshit.
>>> Maybe I'm in a sensitive mood, but that was uncalled for. Michael, meet
>>> /dev/null, I hope yo
At 6:19 PM -0400 7/12/06, Michael B Allen wrote:
>On Wed, 12 Jul 2006 22:44:23 +0100
>Stut <[EMAIL PROTECTED]> wrote:
>
>> Michael B Allen wrote:
>> > Thanks for the tip dipshit.
>>
>> Maybe I'm in a sensitive mood, but that was uncalled for. Michael, meet
>> /dev/null, I hope you live happily ever
Michael B Allen wrote:
> On Wed, 12 Jul 2006 22:44:23 +0100
> Stut <[EMAIL PROTECTED]> wrote:
>
>> Michael B Allen wrote:
>>> Thanks for the tip dipshit.
>> Maybe I'm in a sensitive mood, but that was uncalled for. Michael, meet
>> /dev/null, I hope you live happily ever after.
>
> Oh, no. What a
On Wed, 12 Jul 2006 22:44:23 +0100
Stut <[EMAIL PROTECTED]> wrote:
> Michael B Allen wrote:
> > Thanks for the tip dipshit.
>
> Maybe I'm in a sensitive mood, but that was uncalled for. Michael, meet
> /dev/null, I hope you live happily ever after.
Oh, no. What am I going to do now? You're like
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael B Allen wrote:
> Thanks for the tip dipshit.
Maybe I'm in a sensitive mood, but that was uncalled for. Michael, meet
/dev/null, I hope you live happily ever after.
- -Stut
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comm
On Wed, 12 Jul 2006 21:13:31 +0100
Stut <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Michael B Allen wrote:
> > On Wed, 12 Jul 2006 19:13:53 +0100
> > Stut <[EMAIL PROTECTED]> wrote:
> >> Michael B Allen wrote:
> >>> What is the standard method of logging debug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael B Allen wrote:
> On Wed, 12 Jul 2006 19:13:53 +0100
> Stut <[EMAIL PROTECTED]> wrote:
>> Michael B Allen wrote:
>>> What is the standard method of logging debug info? Should I just fopen
>>> a file for append and write the message or is there a
On Wed, 12 Jul 2006 19:13:53 +0100
Stut <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Michael B Allen wrote:
> > What is the standard method of logging debug info? Should I just fopen
> > a file for append and write the message or is there a facility provided?
>
Ahh yes I do that as well, I knew there was another other then syslog.
On 7/12/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
Michael B Allen wrote:
> What is the standard method of logging debug info? Should I just fopen
> a file for append and write the message or is there a facility provided?
th
Michael B Allen wrote:
> What is the standard method of logging debug info? Should I just fopen
> a file for append and write the message or is there a facility provided?
there is also error_log() (and the 'error_log' ini setting)
- I abuse it for debugging now and again.
>
> Mike
>
--
PHP Ge
I wrote my own, very simple, very easy. I think the code is in the
archive somewhere. Otheres have written similar functions.
CODE +++
function logError ($logentry, $lgname) {
// simple function to log errors to text/log file.
$logfile = @fop
http://pear.php.net/package/Log/ works well for me. Supports writing
messages to files, to a separate window via JavaScript, probably syslog as
well as a few others.
-Original Message-
From: Michael B Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 2:02 PM
To: php-general@l
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael B Allen wrote:
> What is the standard method of logging debug info? Should I just fopen
> a file for append and write the message or is there a facility provided?
http://php.net/syslog or use a file. There are also various JS-based
solutions f
> WILD GUESS!!!
>
> Since you're NOT closing off the streams, PHP is trying to
> close them for you, but you've unset various variables and
> whatnot, and confused PHP into fclose()ing the WRONG thing.
Hmm, I said all streams are getting closed.
If they were not then a malformed zip would be
e that, it's odds-on that somebody on
PHP Dev Team can fix it.
On Fri, February 10, 2006 9:40 am, Jared Williams wrote:
>
>> >
>> >>-Original Message-
>> >>From: Jochem Maas [mailto:[EMAIL PROTECTED]
>> >>Sent: 10 February 2006 14:17
>&g
Ahha, after some rethinking, I've dropped the append custom stream, as its not
really required.
And instead of using a custom in memory stream for handling the central
directory stream, just using tmpfile(), the application
error has disappeared.
Jared
> > >>Jared Williams wrote:
> > >>
> >
> >
> >>-Original Message-
> >>From: Jochem Maas [mailto:[EMAIL PROTECTED]
> >>Sent: 10 February 2006 14:17
> >>To: [EMAIL PROTECTED]
> >>Cc: php-general@lists.php.net
> >>Subject: Re: [PHP] Debugging custom streams
> >&
Jared Williams wrote:
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: 10 February 2006 14:17
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] Debugging custom streams
Jared Williams wrote:
Hi,
Short version, is there any way of
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED]
> Sent: 10 February 2006 14:17
> To: [EMAIL PROTECTED]
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Debugging custom streams
>
> Jared Williams wrote:
> >
> > Hi,
> &
Jared Williams wrote:
Hi,
Short version, is there any way of listing all open resources from
within a PHP script? Think I may have a problem relating
to the object/resource shutdown order within PHP, but cant see which custom stream handler still has an open resource.
Long v
Bob Pilly wrote:
Hi All
Im having problems using dl() to load an extension that someone has
given me. I get the following output from this simple script:
//script
//output
PHP Warning: dl(): \u?\u: Unable to initialize module
Module compiled with module API=20020429, debug=0, threa
Bob Pilly wrote:
[snip]
PHP Warning: dl(): \u?\u: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHPcompiled with module API=20041030, debug=0, thread-safety=0
These options need to match
The module was compiled for an earlier version
I have the following code in my script and no errors are created, but I do
not get any emails. It works on other servers.
Are there some logs I can check to figure out why an email is not being
sent/received?
Depends on your setup, but /var/log/maillog in the unix world would be a
good plac
Rasmus Lerdorf wrote:
Arshavir Grigorian wrote:
Hi,
I am having trouble debugging a PECL module (APC) because while I am
able to --enable-debug when configuring the PHP course, I cannot do
the same for APC (no such configure option). Does anyone know how to
do that?
PHP Warning: Unknown(): apc
Arshavir Grigorian wrote:
Hi,
I am having trouble debugging a PECL module (APC) because while I am
able to --enable-debug when configuring the PHP course, I cannot do the
same for APC (no such configure option). Does anyone know how to do that?
PHP Warning: Unknown(): apc: Unable to initialize
Justin French wrote:
On 19/01/2005, at 10:51 PM, Marek Kilimajer wrote:
...
I use simple define('DEBUG', true'); in the main config file where
also database login info is stored.
I like to use exactly the same files for both development and live
servers... it makes it much easier to mirror the
William Stokes wrote:
> I would like to add some debugging/info code to my pages. In test
> environment of course. Any ideas how to do this? I mean for example to
> print
> to a web page the line number when the script fails or something like
> that.
> It's a pain on the **s to hunt typo's by just
On Wed, 2005-01-19 at 05:51, Marek Kilimajer wrote:
> Justin French wrote:
> > On 19/01/2005, at 5:36 PM, William Stokes wrote:
> >
> >> I would like to add some debugging/info code to my pages. In test
> >> environment of course. Any ideas how to do this? I mean for example to
> >> print
> >> to
On 19/01/2005, at 10:51 PM, Marek Kilimajer wrote:
Justin French wrote:
On 19/01/2005, at 5:36 PM, William Stokes wrote:
I would like to add some debugging/info code to my pages. In test
environment of course. Any ideas how to do this? I mean for example
to print
to a web page the line number when
Justin French wrote:
On 19/01/2005, at 5:36 PM, William Stokes wrote:
I would like to add some debugging/info code to my pages. In test
environment of course. Any ideas how to do this? I mean for example to
print
to a web page the line number when the script fails or something like
that.
It's a p
William Stokes wrote:
I'm trying to get the ini_set("error_reporting",E_ALL); work. No matter what
kind of errors I write I just get blank screen when the script fails. Do I
need to also echo the errors to screen? Or can the error reporting be
disabled by the server admin (my adsl operator)? so
I'm trying to get the ini_set("error_reporting",E_ALL); work. No matter what
kind of errors I write I just get blank screen when the script fails. Do I
need to also echo the errors to screen? Or can the error reporting be
disabled by the server admin (my adsl operator)? so that no errors are
pr
On 19/01/2005, at 5:36 PM, William Stokes wrote:
I would like to add some debugging/info code to my pages. In test
environment of course. Any ideas how to do this? I mean for example to
print
to a web page the line number when the script fails or something like
that.
It's a pain on the **s to hun
[snip]
i'm not talking about How to make the popup window
I want to know how can I make the popup window track page errors and
display it
thats it :-)
[/snip]
At the risk of repeating myself.JavaScript. PHP is server-side,
JavaScript is client-side where the action needs to take place. PHP doe
[snip]
guys, I'm working on a project, and running a php debug script while
testing the script,
How can I make the debug messages(including error and warning) appears
only in popup window? and update automaticly when clicking on another
link
[/snip]
JavaScript
--
PHP General Mailing List (http://
I am out of ideas, short of rebuilding PHP. Sessions work, I just don't see
what is wrong in this situation. Sorry, good luck.
Kirk
> -Original Message-
> From: Lee Stewart [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 30, 2003 4:11 PM
> To: [EMAIL PROTECTED]
&g
The only thing in the Apache error log is:
[Fri Jul 25 16:19:31 2003] [error] PHP Notice: Undefined variable: test
in /srv/www/htdocs/page2.php on line 3
No other messages I can find in any logs. df shows the file system only
70% full...
At 08:38 AM 7/28/2003, Johnson, Kirk wrote:
Anything
Anything in the Apache or PHP error logs? Permissions are OK, there is space
on the drive?
Kirk
> -Original Message-
> From: Lee Stewart [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 25, 2003 6:00 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Debugging a Session Proble
* Thus wrote Lee Stewart ([EMAIL PROTECTED]):
> Using the $_SESSION[] style produces the same results... Zero length
> session file in /tmp, and no data passed... (available at
> http://4.43.81.92/page1a.php)
You did see my post about space left on /tmp?
>
> So where do I go from here...
Using the $_SESSION[] style produces the same results... Zero length
session file in /tmp, and no data passed... (available at
http://4.43.81.92/page1a.php)
So where do I go from here...Is there any way to debug it? Like I
said, I suspect it's not a PHP code bug, but I'm at a loss as
* Thus wrote Lee Stewart ([EMAIL PROTECTED]):
> The symptom is that when I attempt to save a session variable, it
> creates the session file in /tmp, but with a zero length - no variable
> names or values stored. (/tmp is globally read/write) This happens not
> only with the application I'm mo
To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Debugging a Session Problem
>
>
> I agree that it's probably a config problem -- somewhere...
>
> Yes, the session ID is passed correctly, but since page1.php
> doesn't end up
> with any variables or values in the sessio
I agree that it's probably a config problem -- somewhere...
Yes, the session ID is passed correctly, but since page1.php doesn't end up
with any variables or values in the session file, so regardless that it has
the right session ID, there's nothing in the session file to restore...
The php.ini
use
its built-in defaults, which is register_globals off.
Kirk
> -Original Message-
> From: Lee Stewart [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 25, 2003 2:00 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Debugging a Session Problem
>
>
> At 11:55 AM 7/25/200
At 11:55 AM 7/25/2003, you wrote:
If you are relying on cookies to transmit the session ID, make sure you have
session cookies enabled in your browser. Also check that you don't have an
.htacess file in your directory that is overriding the register_globals
setting. Turn your error_reporting up to
--- "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote:
> Seem to remember something about starting a session and then
> redirecting with header causing trouble.
Yeah, I think you're right, and I think that was with IIS. This archive might
be helpful:
http://marc.theaimsgroup.com/?l=php-general&m=102
From: "Lee Stewart" <[EMAIL PROTECTED]>
> I'm moving an application that I'm in the trying to move to a new
> platform. It was running fine on an older Linux platform with PHP
> 4.0.3 and Apache 1.3.14. The new platform is also Linux, with PHP 4.2.2
> and Apache 1.2.26 -- with register_globals o
> I'm moving an application that I'm in the trying to move to a new
> platform. It was running fine on an older Linux platform with PHP
> 4.0.3 and Apache 1.3.14. The new platform is also Linux,
> with PHP 4.2.2
> and Apache 1.2.26 -- with register_globals on. (I just
> upgraded it from
>
The APD(apd.communityconnect.com) extensions. DBG extension( http://dd.cron.ru/dbg/)
Enjoy
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "Dr. Ian McDonald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 28,
Sounds like getting a stack trace in various other languages. I know that
Komodo and I think maybe a couple others has a built in debugger. It may
(or may not) show you a stack trace/call trace display.
-Original Message-
From: DL Neil [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26
best bet is to put some error checking in.
function _check_db($query = '', $line = '')
{
if ( mysql_errno() )
{
echo "Error: Problem with DataBase : {$GLOBALS['db_database']}\n";
echo "Error: " . mysql_errno() . ':' . mysql_error() . "\n";
echo "Query: $query\n";
echo "Line : $l
On 18-May-01 Taline Makssabo wrote:
> This is a program i wrote to get some information at keep track with some
> stats. I am very new at this so bare with meI keep on getting this
> Warning:
>
> Warning: Supplied argument is not a valid MySQL result resource in
> /home/virtual/ppcu/home/htt
You forgot to select the database!
mysql_select_db($db_name);
-elias
http://www.eassoft.cjb.net
""Taline Makssabo"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This is a program i wrote to get some information at keep track with some
> stats. I am very ne
> - what is a good tcp-listener (i tried tcpdump, but this gives to much
> output)
No help for you there... I've never even tried this.
Maybe you could pipe tcpdump through grep, and include something like ZZ
in all your error messages or something...
> - the debugger doesn't work: the com
82 matches
Mail list logo