1 |
On Fri, 05 May 2017 07:24:02 -0400, |
2 |
Michael Orlitzky wrote: |
3 |
> |
4 |
> On 05/05/2017 07:13 AM, John Covici wrote: |
5 |
> > |
6 |
> > The php log is not mentioned in the .htaccess file of owncloud. But |
7 |
> > regardless of owncloud, php fatal errors are not logged anywhere under |
8 |
> > apache, even though I have log_errors and a log file name. |
9 |
> > |
10 |
> |
11 |
> Apache doesn't know anything about what happens in the PHP code, so the |
12 |
> errors should be logged in that separate PHP error log, if anywhere. |
13 |
> |
14 |
> As a temporary measure, you can try enabling "display_errors" and |
15 |
> "display_startup_errors" in your (Apache) php.ini. That should convince |
16 |
> PHP to spit out the error into your browser when you visit the page, |
17 |
> rather than (or in addition to) logging it. |
18 |
|
19 |
If I put those on, I don't even get the 500, I get nothing at all |
20 |
instead! Very odd, indeed. I just get a blank window when I use my |
21 |
php fatal error creator. |
22 |
But if I change it to http, I get the fatal error. |
23 |
|
24 |
|
25 |
For owncloud, changing to http yields the same result. However, when |
26 |
I finally changed the display_startup_errors to On, I get the |
27 |
following fatal error: |
28 |
[05-May-2017 11:44:21 UTC] PHP Fatal error: Maximum execution time of |
29 |
30 seconds exceeded in |
30 |
/var/www/covici.com/htdocs-secure/owncloud/lib/base.php on line 542 |
31 |
[05-May-2017 11:44:21 UTC] PHP Stack trace: |
32 |
[05-May-2017 11:44:21 UTC] PHP 1. {main}() |
33 |
/var/www/covici.com/htdocs-secure/owncloud/index.php:0 |
34 |
[05-May-2017 11:44:21 UTC] PHP 2. require_once() |
35 |
/var/www/covici.com/htdocs-secure/owncloud/index.php:37 |
36 |
[05-May-2017 11:44:21 UTC] PHP 3. OC::init() |
37 |
/var/www/covici.com/htdocs-secure/owncloud/lib/base.php:967 |
38 |
[05-May-2017 11:44:21 UTC] PHP 4. set_time_limit() |
39 |
/var/www/covici.com/htdocs-secure/owncloud/lib/base.php:542 |
40 |
|
41 |
|
42 |
Any insights would be appreciated. |
43 |
|
44 |
-- |
45 |
Your life is like a penny. You're going to lose it. The question is: |
46 |
How do |
47 |
you spend it? |
48 |
|
49 |
John Covici |
50 |
covici@××××××××××.com |