Re: [PHP] errors not showing

2012-05-20 Thread Maciek Sokolewicz
On 20-05-2012 07:17, tamouse mailing lists wrote: Are these syntax errors or run-time errors? The former won't display to the page at all, as they abort PHP before that point. Those written to wherever PHP is set to log errors, which might be the same as the apache error log unless you've set

Re: [PHP] errors not showing

2012-05-20 Thread tamouse mailing lists
On Sun, May 20, 2012 at 3:30 PM, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: On 20-05-2012 07:17, tamouse mailing lists wrote: Are these syntax errors or run-time errors? The former won't display to the page at all, as they abort PHP before that point. Those written to wherever PHP

[PHP] errors not showing

2012-05-19 Thread Tim Dunphy
hello, list! I have 'error_reporting = E_ALL' set in my php.ini file. However when I run a php script that has errors in it all that happens is that the page WSODs. I am running Mac OS X 10.6. Any thoughts on why errors don't show up in the browser and how to correct this? Thanks Tim -- GPG

Re: [PHP] errors not showing

2012-05-19 Thread Simon J Welsh
On 20/05/2012, at 3:55 PM, Tim Dunphy wrote: hello, list! I have 'error_reporting = E_ALL' set in my php.ini file. However when I run a php script that has errors in it all that happens is that the page WSODs. I am running Mac OS X 10.6. Any thoughts on why errors don't show up in the

Re: [PHP] errors not showing

2012-05-19 Thread Tim Dunphy
Hello Simon, Thanks for your response. However I still can't seem to get errors to show up. [dunphy@localhost:~/jf-current] #cat /private/etc/php.ini | grep -e error_reporting -e display_errors ; display_errors ; error_reporting error_reporting = E_ALL E_NOTICE ;error_reporting = E_ALL

Re: [PHP] errors not showing

2012-05-19 Thread tamouse mailing lists
On Sat, May 19, 2012 at 11:16 PM, Tim Dunphy bluethu...@gmail.com wrote: Hello Simon,  Thanks for your response.  However I still can't seem to get errors to show up. [dunphy@localhost:~/jf-current] #cat /private/etc/php.ini | grep -e error_reporting -e display_errors ; display_errors ;

[PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread fotoo
Hi everyone! after upgrading vomn php 5.2.10 to 5.3.0 I get a lot of errors. I changed already in some files ereg_replace() to preg_replace(), but it generates more errors as you can see. The typo3 installation ins still working. So - how can I prevent php from printing out this errors on

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Richard Quadling
On 16 February 2011 09:12, fo...@gmx.de wrote: Hi everyone! Hi. Please read the changelog http://docs.php.net/ChangeLog-5.php#5.3.0 and do a search for ereg. You'll notice that it has been deprecated. As such, old code that relies on this feature may no longer work as expected and/or give a

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Andre Polykanine
...@gmx.de fo...@gmx.de To: php-general@lists.php.net Date created: , 11:12:13 AM Subject: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide? Hi everyone! after upgrading vomn php 5.2.10 to 5.3.0 I get a lot of errors. I changed already in some files ereg_replace

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Richard Quadling
On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote: Hello Fotoo,           ? error_reporting(0); Really? You consider shoving your head in the sand a REALISTIC option? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Daniel P. Brown
On Wed, Feb 16, 2011 at 07:15, Richard Quadling rquadl...@gmail.com wrote: On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote: Hello Fotoo,           ? error_reporting(0); Really? You consider shoving your head in the sand a REALISTIC option? Well, at the least, it

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread David Hutto
On Wed, Feb 16, 2011 at 9:34 AM, Daniel P. Brown daniel.br...@parasane.net wrote: On Wed, Feb 16, 2011 at 07:15, Richard Quadling rquadl...@gmail.com wrote: On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote: Hello Fotoo,           ? error_reporting(0); Really? You consider

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Daniel P. Brown
On Wed, Feb 16, 2011 at 09:37, David Hutto smokefl...@gmail.com wrote: What was the intended purpose again? The hiding of errors. -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread David Hutto
Only those who live in glass houses, should hide their errors. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread David Hutto
On Wed, Feb 16, 2011 at 9:41 AM, David Hutto smokefl...@gmail.com wrote: Only those who live in glass houses, should hide their errors. if that makes sense. -- According to theoretical physics, the division of spatial intervals as the universe evolves gives rise to the fact that in another

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Daniel P. Brown
On Wed, Feb 16, 2011 at 09:41, David Hutto smokefl...@gmail.com wrote: On Wed, Feb 16, 2011 at 9:41 AM, David Hutto smokefl...@gmail.com wrote: Only those who live in glass houses, should hide their errors. if that makes sense. Did you even bother to read the whole of what I said? I

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Richard Quadling
On 16 February 2011 14:34, Daniel P. Brown daniel.br...@parasane.net wrote: On Wed, Feb 16, 2011 at 07:15, Richard Quadling rquadl...@gmail.com wrote: On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote: Hello Fotoo,           ? error_reporting(0); Really? You consider

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Robert Cummings
On 11-02-16 09:45 AM, Daniel P. Brown wrote: On Wed, Feb 16, 2011 at 09:41, David Huttosmokefl...@gmail.com wrote: On Wed, Feb 16, 2011 at 9:41 AM, David Huttosmokefl...@gmail.com wrote: Only those who live in glass houses, should hide their errors. if that makes sense. Did you

Re: [PHP] errors still being displayed even if variables in php.ini set to off

2008-12-28 Thread Ashley Sheridan
On Sat, 2008-12-27 at 16:23 -0800, Fred Silsbee wrote: on page 1 Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 71 Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 72 in php.ini: error_reporting = Off

Re: [PHP] errors still being displayed even if variables in php.ini set to off

2008-12-28 Thread tedd
At 4:23 PM -0800 12/27/08, Fred Silsbee wrote: on page 1 Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 71 Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 72 in php.ini: error_reporting = Off display_errors = Off (in 2

Re: [PHP] errors still being displayed even if variables in php.ini set to off

2008-12-28 Thread Fred Silsbee
--- On Sun, 12/28/08, Ashley Sheridan a...@ashleysheridan.co.uk wrote: From: Ashley Sheridan a...@ashleysheridan.co.uk Subject: Re: [PHP] errors still being displayed even if variables in php.ini set to off To: fredsils...@yahoo.com Cc: php-general@lists.php.net Date: Sunday, December

[PHP] errors still being displayed even if variables in php.ini set to off

2008-12-27 Thread Fred Silsbee
on page 1 Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 71 Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 72 in php.ini: error_reporting = Off display_errors = Off (in 2 places) display_startup_errors = Off

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-03 Thread tedd
At 1:04 AM -0400 8/3/08, Daniel Brown wrote: On Sun, Aug 3, 2008 at 12:22 AM, Chacha C [EMAIL PROTECTED] wrote: Somehow .. I feel this isn't PHP Related. Boy, nothing gets by you, eh? Welcome to the list, new meat. Hey, he said he feels that it wasn't PHP Related. That's not like

Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-02 Thread Richard Heyes
Personally, and I know I'm not alone here... I keep E_NOTICE enabled Then you're both mad. Users really shouldn't see any error regardless, so error reporting IMO should be off entirely. A blank screen that you can blame on a variety of things is far preferable to users knowing that your

Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-02 Thread mike
On 8/2/08, Richard Heyes [EMAIL PROTECTED] wrote: Personally, and I know I'm not alone here... I keep E_NOTICE enabled Then you're both mad. Users really shouldn't see any error regardless, so error reporting IMO should be off entirely. A blank screen that you can blame on a variety of

Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-02 Thread Richard Heyes
Then you're both mad. Users really shouldn't see any error regardless, so error reporting IMO should be off entirely. A blank screen that you can blame on a variety of things is far preferable to users knowing that your website is broken. In production I keep error_reporting set to 0. There

Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-02 Thread Robert Cummings
On Sat, 2008-08-02 at 09:15 +0100, Richard Heyes wrote: Personally, and I know I'm not alone here... I keep E_NOTICE enabled Then you're both mad. Users really shouldn't see any error regardless, so error reporting IMO should be off entirely. A blank screen that you can blame on a variety

Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-02 Thread Robert Cummings
On Sat, 2008-08-02 at 10:32 +0100, Richard Heyes wrote: Then you're both mad. Users really shouldn't see any error regardless, so error reporting IMO should be off entirely. A blank screen that you can blame on a variety of things is far preferable to users knowing that your website is

[PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread Al
Here' the snippet I use on all my code files. Default is create and add to error log file on the current dir. I generally echo $error_reporting to remind myself that the error reporting is active. if(true) // TRUE for debug only { ini_set(display_errors, on); //use off if users

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread Daniel Brown
On Sat, Aug 2, 2008 at 12:52 PM, Al [EMAIL PROTECTED] wrote: Here' the snippet I use on all my code files. Default is create and add to error log file on the current dir. I generally echo $error_reporting to remind myself that the error reporting is active. if(true) // TRUE for debug only

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread Robert Cummings
On Sat, 2008-08-02 at 13:34 -0400, Daniel Brown wrote: On Sat, Aug 2, 2008 at 12:52 PM, Al [EMAIL PROTECTED] wrote: Here' the snippet I use on all my code files. Default is create and add to error log file on the current dir. I generally echo $error_reporting to remind myself that the

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread Daniel Brown
On Sat, Aug 2, 2008 at 1:40 PM, Robert Cummings [EMAIL PROTECTED] wrote: Hmmpf! Oh, God, it's tasted human blood! Cut the crap, Rob. Don't even try to act innocent in front of the list, denying that you threw that chair through my window and punched me in the throat all because I

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread Robert Cummings
On Sat, 2008-08-02 at 13:53 -0400, Daniel Brown wrote: On Sat, Aug 2, 2008 at 1:40 PM, Robert Cummings [EMAIL PROTECTED] wrote: Hmmpf! Oh, God, it's tasted human blood! Cut the crap, Rob. Don't even try to act innocent in front of the list, denying that you threw that chair

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread Daniel Brown
On Sat, Aug 2, 2008 at 1:58 PM, Robert Cummings [EMAIL PROTECTED] wrote: Sorry, I hired a profession for the chair throwing-- my bulldog Steve Ballmer! More wasteful spending by the Canadian. You know that he's just going to wind up finding a way to introduce new bugs into the act of

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread mike
On 8/2/08, Al [EMAIL PROTECTED] wrote: Here' the snippet I use on all my code files. Default is create and add to error log file on the current dir. The problem is if the script is fubar, it won't read the error_log ini override... Open question for all: Even though I have error_reporting set

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread Robert Cummings
On Sat, 2008-08-02 at 14:01 -0400, Daniel Brown wrote: On Sat, Aug 2, 2008 at 1:58 PM, Robert Cummings [EMAIL PROTECTED] wrote: Sorry, I hired a profession for the chair throwing-- my bulldog Steve Ballmer! More wasteful spending by the Canadian. You know that he's just going to

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread Chacha C
Somehow .. I feel this isn't PHP Related. On Sat, Aug 2, 2008 at 11:08 AM, Robert Cummings [EMAIL PROTECTED]wrote: On Sat, 2008-08-02 at 14:01 -0400, Daniel Brown wrote: On Sat, Aug 2, 2008 at 1:58 PM, Robert Cummings [EMAIL PROTECTED] wrote: Sorry, I hired a profession for the chair

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread Daniel Brown
On Sun, Aug 3, 2008 at 12:22 AM, Chacha C [EMAIL PROTECTED] wrote: Somehow .. I feel this isn't PHP Related. Boy, nothing gets by you, eh? Welcome to the list, new meat. -- /Daniel P. Brown Better prices on dedicated servers: Intel 2.4GHz/60GB/512MB/2TB $49.99/mo. Intel

[PHP] Exposing PHP/errors on production vs. dev

2008-08-01 Thread mike
Does this look right? Obviously you still want to know about production errors, so I'd like to log them. Development I want to see -everything- and I want it to display on the page. The assumption is production won't have any notices as the code should be clean and our higher priority are fixing

Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-01 Thread Robert Cummings
On Fri, 2008-08-01 at 17:30 -0700, mike wrote: Does this look right? Obviously you still want to know about production errors, so I'd like to log them. Development I want to see -everything- and I want it to display on the page. The assumption is production won't have any notices as the

[PHP] PHP Errors to screen

2008-04-29 Thread Adam Gerson
Where do I change the setting to print PHP errors to the screen when running in a web browser? Thanks, Adam -- Adam Gerson Assistant Director of Technology Apple Certified System Administrator (ACSA) Columbia Grammar and Prep School phone. 212-749-6200 ex. 321 fax. 212-428-6806 [EMAIL

[PHP] Re: PHP Errors to screen

2008-04-29 Thread Shawn McKenzie
Adam Gerson wrote: Where do I change the setting to print PHP errors to the screen when running in a web browser? Thanks, Adam php.ini, display_errors -shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Errors to screen

2008-04-29 Thread Jay Blanchard
[snip] Where do I change the setting to print PHP errors to the screen when running in a web browser? [/snip] http://us2.php.net/manual/en/function.error-reporting.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Errors to screen

2008-04-29 Thread Shawn McKenzie
Adam Gerson wrote: Where do I change the setting to print PHP errors to the screen when running in a web browser? Thanks, Adam Or in your script use ini_set() -shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Errors to screen

2008-04-29 Thread Jim Lucas
Adam Gerson wrote: Where do I change the setting to print PHP errors to the screen when running in a web browser? Thanks, Adam At the top of your script put these lines ?php error_reporting(E_ALL); ini_set('display_errors', 1); -- Jim Lucas Some men are born to greatness, some

Re: [PHP] Re: PHP Errors to screen

2008-04-29 Thread Nathan Nobbe
On Tue, Apr 29, 2008 at 6:38 AM, Shawn McKenzie [EMAIL PROTECTED] wrote: Adam Gerson wrote: Where do I change the setting to print PHP errors to the screen when running in a web browser? Thanks, Adam php.ini, display_errors you should also take a look at log_errors and error_log

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-19 Thread Chris W. Parker
On Friday, March 16, 2007 4:04 PM Robert Cummings mailto:[EMAIL PROTECTED] said: Update: Now that I've corrected my mistake in php.ini and set the level of error reporting that I want I can see *most* errors. But shouldn't the following produce a visible error? ?php error_reporting(E_ALL);

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-19 Thread Brad Fuller
-Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 1:57 PM Cc: php-general@lists.php.net Subject: RE: [PHP] Can't get PHP errors to display or log consistently On Friday, March 16, 2007 4:04 PM Robert Cummings mailto:[EMAIL PROTECTED

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-19 Thread Chris W. Parker
On Monday, March 19, 2007 11:28 AM Brad Fuller mailto:[EMAIL PROTECTED] said: Syntax errors like that will cause a startup error, which means your code can't be evaluated. So those 2 lines of code that turn the error reporting on never get executed. Oooohh it's a startup error. Didn't

Re: [PHP] Can't get PHP errors to display or log consistently

2007-03-19 Thread Richard Lynch
On Fri, March 16, 2007 2:30 pm, Chris W. Parker wrote: Using CentOS 4 and I can't get errors to display on the page AT ALL or log errors consistently. Some errors get logged (forgetting to us $this- in a class for example) but most don't. I've tried: * using .htaccess to set the error

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-19 Thread Richard Lynch
On Mon, March 19, 2007 12:57 pm, Chris W. Parker wrote: On Friday, March 16, 2007 4:04 PM Robert Cummings mailto:[EMAIL PROTECTED] said: Update: Now that I've corrected my mistake in php.ini and set the level of error reporting that I want I can see *most* errors. But shouldn't the

[PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Chris W. Parker
Hello, Using CentOS 4 and I can't get errors to display on the page AT ALL or log errors consistently. Some errors get logged (forgetting to us $this- in a class for example) but most don't. I've tried: * using .htaccess to set the error reporting. * checking and double checking my

Re: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Robert Cummings
On Fri, 2007-03-16 at 12:30 -0700, Chris W. Parker wrote: Hello, Using CentOS 4 and I can't get errors to display on the page AT ALL or log errors consistently. Some errors get logged (forgetting to us $this- in a class for example) but most don't. I've tried: * using .htaccess to

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Chris W. Parker
On Friday, March 16, 2007 12:37 PM Robert Cummings mailto:[EMAIL PROTECTED] said: Is there a custom error handler in place? Try grepping for set_error_handler. Not in this project. Being used in another project wouldn't count towards this one would it? Thanks. -- PHP General Mailing List

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Robert Cummings
On Fri, 2007-03-16 at 12:45 -0700, Chris W. Parker wrote: On Friday, March 16, 2007 12:37 PM Robert Cummings mailto:[EMAIL PROTECTED] said: Is there a custom error handler in place? Try grepping for set_error_handler. Not in this project. Being used in another project wouldn't count

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Chris W. Parker
On Friday, March 16, 2007 12:49 PM Robert Cummings mailto:[EMAIL PROTECTED] said: If either project overrides the error handler than a custom error handler is in place. All depends on whether the code that sets it gets run. (Was at lunch.) I see. In that case how do I override it in this

Re: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Jim Lucas
Chris W. Parker wrote: Hello, Using CentOS 4 and I can't get errors to display on the page AT ALL or log errors consistently. Some errors get logged (forgetting to us $this- in a class for example) but most don't. I've tried: * using .htaccess to set the error reporting. * checking

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Robert Cummings
On Fri, 2007-03-16 at 14:50 -0700, Chris W. Parker wrote: On Friday, March 16, 2007 12:49 PM Robert Cummings mailto:[EMAIL PROTECTED] said: If either project overrides the error handler than a custom error handler is in place. All depends on whether the code that sets it gets run.

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Robert Cummings
On Fri, 2007-03-16 at 18:58 -0400, Robert Cummings wrote: On Fri, 2007-03-16 at 14:50 -0700, Chris W. Parker wrote: On Friday, March 16, 2007 12:49 PM Robert Cummings mailto:[EMAIL PROTECTED] said: If either project overrides the error handler than a custom error handler is in place.

Re: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Robert Cummings
On Fri, 2007-03-16 at 15:56 -0700, Jim Lucas wrote: Chris W. Parker wrote: Hello, Using CentOS 4 and I can't get errors to display on the page AT ALL or log errors consistently. Some errors get logged (forgetting to us $this- in a class for example) but most don't. I've tried:

Re: [PHP] Re: How to Separate PHP Errors to a file different than Apache Errors

2006-12-24 Thread Roman Neuhauser
Please preserve necessary context in your replies. *At least* the In-Reply-To: header with the correct message-id! # [EMAIL PROTECTED] / 2006-12-24 11:42:45 +0500: First of all php errors are not logged in apache error log. PHP errors are logged seperately. Notices, warnings and errors from

RE: [PHP] How to Separate PHP Errors to a file different than Apache Errors

2006-12-23 Thread Shanon Swafford
-Original Message- From: chris smith [mailto:[EMAIL PROTECTED] Sent: Friday, December 22, 2006 11:29 PM To: Shanon Swafford Cc: php-general@lists.php.net Subject: Re: [PHP] How to Separate PHP Errors to a file different than Apache Errors On 12/23/06, Shanon Swafford [EMAIL PROTECTED

Re: [PHP] How to Separate PHP Errors to a file different than Apache Errors

2006-12-23 Thread Sumeet
dear sir, But Apache php errors generated by scripts served up by Apache as web pages all show up in error_log. I'd like these Apache errors to go into php_errors so I can keep my Apache: file not found type errors and PHP Syntax errors separate. when u run a script, apache first

[PHP] Re: How to Separate PHP Errors to a file different than Apache Errors

2006-12-23 Thread Fahad Pervaiz
First of all php errors are not logged in apache error log. PHP errors are logged seperately. if you want to custom define error log file for your apache errors you can use virtualhost directive in apache httpd config file If you do not specify an ErrorLog directive within a VirtualHost

[PHP] How to Separate PHP Errors to a file different than Apache Errors

2006-12-22 Thread Shanon Swafford
Hi Guys, I just cut my website over to Apache2 and PHP5 on FC5. So now I'm clean up all the PHP Notices. Does anybody know the config directives I can put in my /etc/php.ini or etc/httpd/conf.d/php.conf or /etc/httpd/conf/httpd.conf so that I could separate the php errors file from the apache

Re: [PHP] How to Separate PHP Errors to a file different than Apache Errors

2006-12-22 Thread chris smith
that I could separate the php errors file from the apache errors file? http://www.php.net/manual/en/ref.errorfunc.php Specifically 'error_log'. This will be commented out in a default php.ini file, search for it there, enable it and restart your webserver. Also the webserver user has to 'own

[PHP] php errors ? help please ...

2006-02-15 Thread Mehmet Fatih AKBULUT
hi all, i get these errors when trying to run horde: Notice: Only variable references should be returned by reference in /var/www/hordem/lib/Horde/Perms.php on line 341 Notice: Only variable references should be returned by reference in /var/www/hordem/lib/Horde/Auth.php on line 1168 Warning:

[PHP] Re: php errors ? help please ...

2006-02-15 Thread Barry
Mehmet Fatih AKBULUT wrote: hi all, i get these errors when trying to run horde: Notice: Only variable references should be returned by reference in /var/www/hordem/lib/Horde/Perms.php on line 341 Notice: Only variable references should be returned by reference in

Re: [PHP] php errors ? help please ...

2006-02-15 Thread Chris
Mehmet Fatih AKBULUT wrote: hi all, i get these errors when trying to run horde: snip how can i fix these problems ? Upgrade horde - or at least talk to them and see if they have a fix. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [Bulk] Re: [PHP] PHP errors in Apache error logs

2005-12-20 Thread Matt
Install the php5-session port from your ports tree to enable sessions. It's located in /usr/ports/www/php5-session on a default install with the port tree. On 12/19/05, John Nichel [EMAIL PROTECTED] wrote: Jose Borquez wrote: John Nichel wrote: Jose Borquez wrote: snip The Makefile

Re: [PHP] Re: [Bulk] Re: [PHP] PHP errors in Apache error logs

2005-12-20 Thread Georgi Ivanov
You need to compile php4-extensions or php5-extensions /usr/ports/lang/ Good luck. On Monday December 19 2005 22:32, Jose Borquez wrote: John Nichel wrote: Jose Borquez wrote: snip The Makefile configuration did have --disable-all included. Here is the link to my phpinfo page;

[PHP] PHP errors in Apache error logs

2005-12-19 Thread Jose Borquez
I am attempting to configure Group Office which is a Project Management suite on FreeBSD 5.4 with apache+mod_ssl-1.3.34+2.8.25_1, MySQL 5.0.16, PHP5-MySQL 5.1.1, and PHP5.1.1 and I keep getting the following error messages in my error logs when I attempt to open a php page: [Mon Dec 19

Re: [PHP] PHP errors in Apache error logs

2005-12-19 Thread John Nichel
Jose Borquez wrote: I am attempting to configure Group Office which is a Project Management suite on FreeBSD 5.4 with apache+mod_ssl-1.3.34+2.8.25_1, MySQL 5.0.16, PHP5-MySQL 5.1.1, and PHP5.1.1 and I keep getting the following error messages in my error logs when I attempt to open a php page:

RE: [PHP] PHP errors in Apache error logs

2005-12-19 Thread Erin Fortenberry
:13 PM To: PHP Questions Lists Subject: [PHP] PHP errors in Apache error logs I am attempting to configure Group Office which is a Project Management suite on FreeBSD 5.4 with apache+mod_ssl-1.3.34+2.8.25_1, MySQL 5.0.16, PHP5-MySQL 5.1.1, and PHP5.1.1 and I keep getting the following

RE: [PHP] PHP errors in Apache error logs

2005-12-19 Thread Erin Fortenberry
You also might try; http://www.group-office.com/forum/ They have had several people asl about the same error. -Ein -Original Message- From: Erin Fortenberry Sent: Monday, December 19, 2005 2:23 PM To: Jose Borquez; PHP Questions Lists Subject: RE: [PHP] PHP errors in Apache

[PHP] Re: [Bulk] Re: [PHP] PHP errors in Apache error logs

2005-12-19 Thread Jose Borquez
John Nichel wrote: Jose Borquez wrote: I am attempting to configure Group Office which is a Project Management suite on FreeBSD 5.4 with apache+mod_ssl-1.3.34+2.8.25_1, MySQL 5.0.16, PHP5-MySQL 5.1.1, and PHP5.1.1 and I keep getting the following error messages in my error logs when I

Re: [PHP] Re: [Bulk] Re: [PHP] PHP errors in Apache error logs

2005-12-19 Thread Silvio Porcellana [tradeOver]
Jose Borquez wrote: I installed PHP from the ports and did not do any configuration. I set up the phpinfo page and the configuration line did not set disable session. Thanks in advance, Jose Maybe you have this: '--disable-all' (not sure, thou, this should enable sessions anyway,

[PHP] Re: [Bulk] Re: [PHP] Re: [Bulk] Re: [PHP] PHP errors in Apache error logs

2005-12-19 Thread Jose Borquez
Silvio Porcellana [tradeOver] wrote: Jose Borquez wrote: I installed PHP from the ports and did not do any configuration. I set up the phpinfo page and the configuration line did not set disable session. Thanks in advance, Jose Maybe you have this: '--disable-all' (not sure, thou,

Re: [PHP] PHP errors in Apache error logs

2005-12-19 Thread John Nichel
Jose Borquez wrote: snip The Makefile configuration did have --disable-all included. Here is the link to my phpinfo page; http://68.127.38.82/install/test.php You have no session support. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL

[PHP] Re: [Bulk] Re: [PHP] PHP errors in Apache error logs

2005-12-19 Thread Jose Borquez
John Nichel wrote: Jose Borquez wrote: snip The Makefile configuration did have --disable-all included. Here is the link to my phpinfo page; http://68.127.38.82/install/test.php You have no session support. I am not sure what to do now. Do I need to uninstall and reinstall it with

Re: [PHP] Re: [Bulk] Re: [PHP] PHP errors in Apache error logs

2005-12-19 Thread John Nichel
Jose Borquez wrote: John Nichel wrote: Jose Borquez wrote: snip The Makefile configuration did have --disable-all included. Here is the link to my phpinfo page; http://68.127.38.82/install/test.php You have no session support. I am not sure what to do now. Do I need to uninstall and

[PHP] errors in insert queries

2005-02-22 Thread Bryan Dina
I am having problems making proper insert queries against a MS SQL box when using a Linux server. A little background info, I have had this working correctly for many months. I am running Fedora Core 1, have compiled php 5.0.3 using the FreeTDS v.0.7 driver to access the MS SQL 2000 DBMS, and

Re: [PHP] errors in insert queries

2005-02-22 Thread Bret Hughes
On Tue, 2005-02-22 at 07:32, Bryan Dina wrote: I am having problems making proper insert queries against a MS SQL box when using a Linux server. A little background info, I have had this working correctly for many months. I am running Fedora Core 1, have compiled php 5.0.3 using the FreeTDS

[PHP] errors not reported

2005-02-09 Thread D_C
Hiya - My parse errors have disappeared from my development environment. Now whenever php cannot run a page, it just stops with a blank page in the browser and no clues. Running the same code on another server will give a fatal error class not found etc type output to the browser. Can someone

[PHP] Errors

2004-12-01 Thread olsofty
I am very new to PHP been working on a script to access MySql have got it down pretty good, but, being lazy I like to copy code to not have to re-write it, I am now getting a constant flood of errors. I have looked in my book I have searched on the php site and have had no luck. WHAT IN THE HECK

Re: [PHP] Errors

2004-12-01 Thread Greg Donald
On Wed, 1 Dec 2004 10:44:00 -0700, olsofty [EMAIL PROTECTED] wrote: I am very new to PHP been working on a script to access MySql have got it down pretty good, but, being lazy I like to copy code to not have to re-write it, I am now getting a constant flood of errors. I have looked in my book

Re: [PHP] Errors

2004-12-01 Thread M. Sokolewicz
Greg Donald wrote: On Wed, 1 Dec 2004 10:44:00 -0700, olsofty [EMAIL PROTECTED] wrote: I am very new to PHP been working on a script to access MySql have got it down pretty good, but, being lazy I like to copy code to not have to re-write it, I am now getting a constant flood of errors. I have

Re: [PHP] Errors

2004-12-01 Thread Jason Wong
On Thursday 02 December 2004 01:44, olsofty wrote: I am very new to PHP been working on a script to access MySql have got it down pretty good, but, being lazy I like to copy code to not have to re-write it, I am now getting a constant flood of errors. I have looked in my book I have searched

RE: [PHP] Errors

2004-12-01 Thread Thomas S. Crum - AAA Web Solution, Inc.
, December 01, 2004 1:25 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Errors On Wed, 1 Dec 2004 10:44:00 -0700, olsofty [EMAIL PROTECTED] wrote: I am very new to PHP been working on a script to access MySql have got it down pretty good, but, being lazy I like to copy code to not have to re-write it, I am

Re: [PHP] Errors

2004-12-01 Thread Richard Lynch
olsofty wrote: I am very new to PHP been working on a script to access MySql have got it down pretty good, but, being lazy I like to copy code to not have to re-write it, I am now getting a constant flood of errors. I have looked in my book I have searched on the php site and have had no luck.

Re: [PHP] Errors

2004-12-01 Thread Greg Donald
On Wed, 1 Dec 2004 11:51:33 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: That's Geek for you typed something so wrong, I don't even know what you're trying to do Man.. they let just about anyone post to php-general lately. :) How you doing Richard? -- Greg Donald Zend Certified

[PHP] Errors from script running in CRON - MORE DETAILED INFO.

2004-09-22 Thread Pablo Gosse
Hi again folks. Thanks to those who helped in trying to find the cause of my problem this afternoon. Sorry if the code in this message wraps, but I'm writing this through a tss connection and damned if I can figure out how to change the wrap point in outlook :o( The CMS logged a new error a

RE: [PHP] Errors running PHP from command line

2003-11-13 Thread Jonathan Duncan
Thanks. Turns out I just needed to comment some things out of my php.ini. Jonathan Jake McHenry [EMAIL PROTECTED] said: -Original Message- From: Jonathan Duncan [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 7:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Errors

[PHP] Errors running PHP from command line

2003-11-07 Thread Jonathan Duncan
I run a php script from my shell prompt and get these errors, although the script still seems to function properly. Any idea why? (PHP Version 4, FreeBSD) localhost # ./scriptfile.php PHP Warning: Function registration failed - duplicate name - textdomain in Unknown on line 0 PHP Warning:

RE: [PHP] Errors running PHP from command line

2003-11-07 Thread Jake McHenry
-Original Message- From: Jonathan Duncan [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 7:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Errors running PHP from command line I run a php script from my shell prompt and get these errors, although the script still seems

[PHP] Trapping PHP Errors

2003-06-19 Thread Gary Ogilvie
Hi everyone, How do I trap a PHP error and display my own error message instead? I have two PHP scripts - one that creates tables on MSSQL and one that deletes tables on MSSQL. I wish to capture the message that appears if the user attempts to create tables that already exist, or delete ones

Re: [PHP] Trapping PHP Errors

2003-06-19 Thread CPT John W. Holmes
How do I trap a PHP error and display my own error message instead? I have two PHP scripts - one that creates tables on MSSQL and one that deletes tables on MSSQL. I wish to capture the message that appears if the user attempts to create tables that already exist, or delete ones that do not

[PHP] errors

2003-03-27 Thread Diana Castillo
How can I skip an error? For instance in ASP it would be on error and then you would skip the next error. I want to be able to skip when I get the 404 File not found error in a specific part when I am using getimagesize. Thanks, Diana -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] php errors while displaying database fields

2003-03-13 Thread Ernest E Vogelsinger
At 23:30 12.03.2003, Boulytchev, Vasiliy said: [snip] I have searched the archives, and have found nothing on these errors I am getting. Here is the apache error logs capture: PHP Notice: Undefined index: REMOTE_ADDR in

[PHP] php errors while displaying database fields

2003-03-12 Thread Boulytchev, Vasiliy
Ladies and Gents, I have searched the archives, and have found nothing on these errors I am getting. Here is the apache error logs capture: PHP Notice: Undefined index: REMOTE_ADDR in /home/www/customflagcompany/phpshop/modules/admin/lib/ps_session.inc on line 39 PHP Notice:

  1   2   >