Re: [PHP] Flat PHP projects and Firebug

2012-04-12 Thread Kranthi Krishna
I never had a problem with FirePHP. Among other tools I have used,
some gave Headers already sent problem. The rest failed in case of
AJAX requests.

AFAIR Breakpoints are used for debugging and are different from
Logging. For debugging you may have a look at xDebug

Kranthi.
http://goo.gl/e6t3



On 12 April 2012 18:10, Louis Huppenbauer louis.huppenba...@gmail.com wrote:
 2012/4/12 Mihamina Rakotomandimby miham...@rktmb.org

 Hi all,

 For flat PHP projects (I mean without framework such as Jelix or
 Symfony), what Firebug logging tooldo you recommend to use?
 - FirePHP?
 - in-the-code Javascript console.log() generation?
 - other tools?


 These are for training project, not really real-world ones, in order to
 train juniors/newcomers to our team.

 I missed the name of a PHP class or library that allowed to use
 breakpoints and so with Firebug... or some similar things...



 --
 RMA.

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


 Hi there

 I think that firephp could do the trick for you.

 http://www.firephp.org/

 Sincerely
 Louis

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Headers already sent

2011-11-10 Thread Kranthi Krishna
Hi,

 Perhaps your server is configured to have output buffering enabled by default
Thanks. That was the problem. I spent a day trying to debug this.

Kranthi.
http://goo.gl/e6t3

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Linking A C Program Example to PHP

2011-07-11 Thread Kranthi Krishna
  But the example will NOT work via the web browser on my Apache 2
 (2.2.17) / PHP (5.3.5) Web Server!
May be a problem with the permissions ?

Kranthi.
http://goo.gl/e6t3

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Getting File Owner Name

2011-06-13 Thread Kranthi Krishna
this might be of use
http://php.net/posix-getpwnam
 http://php.net/manual/en/function.posix-getpwnam.php

Kranthi.
http://goo.gl/e6t3


Re: [PHP] No errors gets displayed, just a blank page

2010-12-07 Thread Kranthi Krishna
wats the setting of display_errors php.net/display_errors ?

if you are not getting any output it might be because of a simple
parse error (mismatched brackets, misplaced semicolon etc) or an
exit/die command

Kranthi.
http://goo.gl/e6t3

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] newbie basic realm protection - why don't the input usr/pass stick?

2010-12-07 Thread Kranthi Krishna
you script looks (and works) fine. so i dont think the problem is in your script

I found firebug/live http headers firefox addons to be helpful in this situation
see if your client is actually sending Authorization   Basic header

Kranthi.
http://goo.gl/e6t3

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Scripts running twice

2010-10-12 Thread Kranthi Krishna
apache log files will be of help

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Google Calendar

2010-10-12 Thread Kranthi Krishna
The exact error message will help understand your situation

Most probable reason is Zend is not included in your include path

develop with error_reporting set to E_ALL  E_STRICT that will help
you understand many trivial errors

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Google Calendar

2010-10-12 Thread Kranthi Krishna
in this case when you put a tab before the closing heredoc it is not
an error in itself. Its equivalent to removing the closing heredoc. so
PHP treats the rest of the code as part of the string.

A Parse error is reported when ? OR end of the file is reached

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Unknown Table i field list

2010-10-11 Thread Kranthi Krishna
echo $query;
before
$result = mysqli_query($dbc, $query);
might be of help to understand what is going wrong

copy that query and execute in phpMyAdmin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php