php-general Digest 24 Apr 2012 04:14:46 -0000 Issue 7786
Topics (messages 317650 through 317654):
No error reporting on
317650 by: Dotan Cohen
317651 by: Jim Giner
317652 by: Dotan Cohen
317653 by: Jim Lucas
317654 by: Dotan Cohen
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Given this code:
error_reporting(-1);
$image = imagecreatefromjpeg($source); // Crashes on a big image
I would expect some type of message, but there is none in either the
HTML output nor the httpd error_log. How can I get information about
crashes?
Thanks.
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
--- End Message ---
--- Begin Message ---
Just my $.02, but don't you need:
ini_set('display_errors', '1');
as well?
"Dotan Cohen" <dotanco...@gmail.com> wrote in message
news:CAKDXFkMOH63=hnlekxugampqwrhvvet2x4iw-42soqkisrg...@mail.gmail.com...
> Given this code:
>
> error_reporting(-1);
--- End Message ---
--- Begin Message ---
On Mon, Apr 23, 2012 at 14:18, Jim Giner <jim.gi...@albanyhandball.com> wrote:
> Just my $.02, but don't you need:
>
> ini_set('display_errors', '1');
>
> as well?
>
Possibly, thanks. I actually don't have access to that!
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
--- End Message ---
--- Begin Message ---
On 04/23/2012 01:21 PM, Dotan Cohen wrote:
On Mon, Apr 23, 2012 at 14:18, Jim Giner<jim.gi...@albanyhandball.com> wrote:
Just my $.02, but don't you need:
ini_set('display_errors', '1');
as well?
Possibly, thanks. I actually don't have access to that!
That line should be placed in your script. not the php.ini file
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
--- End Message ---
--- Begin Message ---
On Mon, Apr 23, 2012 at 16:53, Jim Lucas <li...@cmsws.com> wrote:
>> Possibly, thanks. I actually don't have access to that!
>>
>
> That line should be placed in your script. not the php.ini file
>
Yes, I'm working on a functions file that is include()ed by the main
script. I'm not supposed to touch the main script without a very good
reason.
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
--- End Message ---