[PHP] debugging remote PHP code in eclipse

2013-06-12 Thread Rafnews
Hi everybody, I have big trouble to correctly configure Eclipse/Xdebug to remotely debug a PHP website. When web server is local i have no problem, it works like a charm...but in case webserver is not local, that's a real nightmare. till now everything what i found on internet was about setti

RE: [PHP] debugging PHP memory corruption

2012-01-05 Thread Andrew Morum
>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

Re: [PHP] debugging PHP memory corruption

2012-01-04 Thread Matijn Woudt
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

[PHP] debugging PHP memory corruption

2012-01-04 Thread Andrew Morum
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 code in the PHP script, it's either crashing during in a print_r/var_

[PHP] debugging using error_log stuff

2011-06-12 Thread Tamara Temple
I read the recipe on debugging pmwiki functions and such at < http://www.pmwiki.org/wiki/Cookbook/DebuggingForCookbookAuthors > This isn't a PmWiki problem, per se, which is why it's going to both lists. I inserted the little sms function into pmwiki.php itself to try out (PmWiki de

Re: [PHP] Debugging Help Needed

2011-04-13 Thread Rich Shepard
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

Re: [PHP] Debugging Help Needed

2011-04-13 Thread Daniel Brown
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

Re: [PHP] Debugging Help Needed

2011-04-13 Thread Richard Quadling
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

Re: [PHP] Debugging Help Needed

2011-04-12 Thread Paul M Foster
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?! ;-}

Re: [PHP] Debugging Help Needed

2011-04-12 Thread Rich Shepard
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

Re: [PHP] Debugging Help Needed

2011-04-12 Thread Daniel Brown
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

[PHP] Debugging Help Needed

2011-04-12 Thread Rich Shepard
I'm not a PHP coder, but I have an application written in PHP (CMS Made Simple) that stopped working when I upgraded postgres to 9.x. I seem to have most of the problems fixed (those with adodb_lite) but now need to track down why I get a "404 Page Not Found" error when I try to invoke the local

[PHP] Debugging

2009-04-24 Thread George Larson
Understanding that some coders are diametrically opposed to all assistance from debuggers as crutches, I offer this link for the rest of us: http://particletree.com/features/php-quick-profiler/ Mine was pointing to the wrong folder and still has some warnings so I think these guys might have hurri

Re: [PHP] Debugging PHP scripts

2008-08-29 Thread Brady Mitchell
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/

Re: [PHP] Debugging PHP scripts

2008-08-29 Thread Dan Joseph
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

Re: [PHP] Debugging PHP scripts

2008-08-29 Thread Edward Diener
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

Re: [PHP] Debugging PHP scripts

2008-08-29 Thread Dan Joseph
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

[PHP] Debugging PHP scripts

2008-08-29 Thread Edward Diener
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 access from a client side program ( written in C++ ) and the script is not returni

Re: [PHP] Debugging classes

2008-01-22 Thread Jochem Maas
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

Re: [PHP] Debugging classes

2008-01-22 Thread Nathan Nobbe
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

Re: [PHP] Debugging classes

2008-01-22 Thread Jochem Maas
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

Re: [PHP] Debugging classes

2008-01-22 Thread Jochem Maas
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.

Re: [PHP] Debugging classes

2008-01-22 Thread Nathan Nobbe
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

Re: [PHP] Debugging classes

2008-01-22 Thread Richard Lynch
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

Re: [PHP] Debugging classes

2008-01-22 Thread Nathan Nobbe
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

[PHP] Debugging classes

2008-01-22 Thread TG
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. In particula

[PHP] debugging imap_open

2007-11-09 Thread John Gunther
I'm trying to use imap functions for the first time and always get "Couldn't open stream" errors so I turned on both kinds of debugging. Unfortunately I can't find debugging output anywhere. What am I doing wrong? Here's my code: ini_set('error_log','/tmp/imap.txt'); $po='{mail.usservas.org:14

Re: [PHP] Debugging Extensions (APD, etc.)

2007-04-10 Thread Richard Lynch
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

Re: [PHP] Debugging Extensions (APD, etc.)

2007-04-05 Thread Eric Butera
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

[PHP] Debugging Extensions (APD, etc.)

2007-04-05 Thread Daniel Brown
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 something that will track which functions are being

Re: [PHP] Debugging includes

2007-03-26 Thread Richard Lynch
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

Re: [PHP] Debugging includes

2007-03-26 Thread Richard Davey
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

[PHP] Debugging includes

2007-03-26 Thread Jonathan Kahan
Hi all, 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 but when i do

Re: [PHP] Debugging itpc

2007-01-24 Thread Richard Lynch
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

Re: [PHP] Debugging itpc

2007-01-24 Thread Robert Cummings
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

Re: [PHP] Debugging itpc

2007-01-24 Thread Skip Evans
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

Re: [PHP] Debugging itpc

2007-01-24 Thread Robert Cummings
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

[PHP] Debugging itpc

2007-01-24 Thread Skip Evans
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 any dirs to fopen and fwrite data. Any suggestions for ot

Re: [PHP] Debugging PHP

2007-01-12 Thread Eric Butera
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

[PHP] Debugging PHP

2007-01-12 Thread Sancar Saran
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 called profiling or someting like that. Regards San

[PHP] [totaly off t****] Re: [PHP] Debugging Log

2006-07-13 Thread Jochem Maas
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

Re: [PHP] Debugging Log

2006-07-13 Thread tedd
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

Re: [PHP] Debugging Log

2006-07-12 Thread Jochem Maas
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

Re: [PHP] Debugging Log

2006-07-12 Thread Michael B Allen
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

Re: [PHP] Debugging Log

2006-07-12 Thread Stut
-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

Re: [PHP] Debugging Log

2006-07-12 Thread Michael B Allen
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

Re: [PHP] Debugging Log

2006-07-12 Thread Stut
-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

Re: [PHP] Debugging Log

2006-07-12 Thread Michael B Allen
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? >

Re: [PHP] Debugging Log

2006-07-12 Thread Dan McCullough
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

Re: [PHP] Debugging Log

2006-07-12 Thread Jochem Maas
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

Re: [PHP] Debugging Log

2006-07-12 Thread Dan McCullough
rts 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@lists.php.net Subject: [PHP] Debugging Log What is the stan

RE: [PHP] Debugging Log

2006-07-12 Thread KermodeBear
@lists.php.net Subject: [PHP] Debugging Log 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? Mike -- Michael B Allen PHP Extension for SSO w/ Windows Group Authorization http://www.ioplex.com/ -- PHP

Re: [PHP] Debugging Log

2006-07-12 Thread Stut
-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

[PHP] Debugging Log

2006-07-12 Thread Michael B Allen
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? Mike -- Michael B Allen PHP Extension for SSO w/ Windows Group Authorization http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Debugging custom streams

2006-02-10 Thread Jared Williams
> 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

RE: [PHP] Debugging custom streams

2006-02-10 Thread Richard Lynch
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

RE: [PHP] Debugging custom streams

2006-02-10 Thread Jared Williams
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: > > >> > >

RE: [PHP] Debugging custom streams

2006-02-10 Thread Jared Williams
> > > >>-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 > >&

Re: [PHP] Debugging custom streams

2006-02-10 Thread Jochem Maas
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

RE: [PHP] Debugging custom streams

2006-02-10 Thread Jared Williams
> -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, > &

Re: [PHP] Debugging custom streams

2006-02-10 Thread Jochem Maas
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

[PHP] Debugging custom streams

2006-02-10 Thread Jared Williams
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 version... I've

Re: [PHP] debugging dl()

2005-09-07 Thread Mikey
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

Re: [PHP] debugging dl()

2005-09-07 Thread Jasper Bryant-Greene
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

[PHP] debugging dl()

2005-09-07 Thread Bob Pilly
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, thread-safety=0 PHPc

Re: [PHP] Debugging mail()

2005-07-28 Thread Philip Hallstrom
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

[PHP] Debugging mail()

2005-07-28 Thread Todd Cary
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? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] debugging modules

2005-01-25 Thread Arshavir Grigorian
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

Re: [PHP] debugging modules

2005-01-20 Thread Rasmus Lerdorf
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

[PHP] debugging modules

2005-01-20 Thread Arshavir Grigorian
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 module\nModule compiled w

Re: [PHP] debugging

2005-01-19 Thread Jochem Maas
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

Re: [PHP] debugging

2005-01-19 Thread Richard Lynch
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

Re: [PHP] debugging

2005-01-19 Thread Bret Hughes
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

Re: [PHP] debugging

2005-01-19 Thread Justin French
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

Re: [PHP] debugging

2005-01-19 Thread Marek Kilimajer
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

Re: [PHP] debugging

2005-01-19 Thread Marek Kilimajer
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

Re: [PHP] debugging

2005-01-19 Thread William Stokes
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

Re: [PHP] debugging

2005-01-18 Thread Justin French
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

[PHP] debugging

2005-01-18 Thread William Stokes
Hello, 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 reading the source over

RE: [PHP] debugging messages in popup windows

2004-08-18 Thread Jay Blanchard
[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

RE: [PHP] debugging messages in popup windows

2004-08-18 Thread Jay Blanchard
[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://

[PHP] debugging messages in popup windows

2004-08-18 Thread Jad Madi
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 Thanks in advance -- PHP General Mailing List (http://www.php

[PHP] Debugging using dbg and ddd on linux

2003-12-23 Thread Marco Schuler
Hello I am looking for a way to debug my php scripts. On the web I found Dmitri Dmitrienko's dbg. I'd like to use it with ddd on my linux machine. Unfortunatly there is no howto on how to set up all that. I read about a patch for ddd but could not find any further information. As a nice to have f

RE: [PHP] Debugging a Session Problem

2003-07-31 Thread Johnson, Kirk
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

RE: [PHP] Debugging a Session Problem

2003-07-30 Thread Lee Stewart
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

RE: [PHP] Debugging a Session Problem

2003-07-28 Thread Johnson, Kirk
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

Re: [PHP] Debugging a Session Problem

2003-07-25 Thread Curt Zirzow
* 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...

RE: [PHP] Debugging a Session Problem

2003-07-25 Thread Lee Stewart
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

Re: [PHP] Debugging a Session Problem

2003-07-25 Thread Curt Zirzow
* 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

RE: [PHP] Debugging a Session Problem

2003-07-25 Thread Johnson, Kirk
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

RE: [PHP] Debugging a Session Problem

2003-07-25 Thread Lee Stewart
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

RE: [PHP] Debugging a Session Problem

2003-07-25 Thread Johnson, Kirk
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

RE: [PHP] Debugging a Session Problem

2003-07-25 Thread Lee Stewart
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

Re: [PHP] Debugging a Session Problem

2003-07-25 Thread Chris Shiflett
--- "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

Re: [PHP] Debugging a Session Problem

2003-07-25 Thread CPT John W. Holmes
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

RE: [PHP] Debugging a Session Problem

2003-07-25 Thread Johnson, Kirk
> 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 >

[PHP] Debugging a Session Problem

2003-07-25 Thread Lee Stewart
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 4.2.2.36 to 4.2

[PHP] Debugging fsockopen errno 0?

2003-03-04 Thread Jeff Lewis
I've been trying to use fsockopen and it fails to get by if (!fp) and returns an errno of 0. In the documentation it says that indicates an error initializing the socket. Is there anyway I can debug this or find out what is going wrong? Jeff

[PHP] Debugging with the Viim editor?

2002-08-29 Thread Geoff Caplan
Hi folks Has anyone got a PHP symbolic debugger working with the Vim editor? I would appreciate any tips about how this might be set up. -- Geoff Caplan Advantae Ltd mailto:[EMAIL PROTECTED] http://www.advantae.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] Debugging LDAP_connect problems

2002-07-17 Thread Brad Harriger
I'm trying to connect to a server using ldap_connect. The connection is failing, but I'm not sure why. When I try to use ldap_error() to narrow down the problem, I get a messaging saying "... 0 is not a LDAP link index at " I'm not sure what other options I have. Any suggestions would

  1   2   >