Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17363 > unrolled thread

syntax errors are not being displayed

Started bybill <william@TechServSys.com>
First post2017-04-21 10:40 -0400
Last post2017-04-22 10:42 -0400
Articles 7 — 3 participants

Back to article view | Back to comp.lang.php


Contents

  syntax errors are not being displayed bill <william@TechServSys.com> - 2017-04-21 10:40 -0400
    Re: syntax errors are not being displayed "J.O. Aho" <user@example.net> - 2017-04-21 18:30 +0200
      Re: syntax errors are not being displayed bill <william@TechServSys.com> - 2017-04-22 08:23 -0400
    Re: syntax errors are not being displayed Jerry Stuckle <jstucklex@attglobal.net> - 2017-04-21 20:59 -0400
      Re: syntax errors are not being displayed bill <william@TechServSys.com> - 2017-04-22 08:25 -0400
    Re: syntax errors are not being displayed bill <william@TechServSys.com> - 2017-04-22 08:29 -0400
    Re: syntax errors are not being displayed bill <william@TechServSys.com> - 2017-04-22 10:42 -0400

#17363 — syntax errors are not being displayed

Frombill <william@TechServSys.com>
Date2017-04-21 10:40 -0400
Subjectsyntax errors are not being displayed
Message-ID<odd5kp$16kr$1@gioia.aioe.org>
for no "apparent" reason my development system has stopped 
displaying syntax errors.  Runtime errors display and are logged 
in the apache2.log.

The phpinfo has:
display_errors	Off	Off
display_startup_errors	Off
but
/etc/php5/apache2/php.ini has both set to On

the only other php.ini found on the system is

/etc/php5/cli/php.ini
and I have not examined it as I am not using the cli

I seem to be missing something about syntax error display

--bill

[toc] | [next] | [standalone]


#17365

From"J.O. Aho" <user@example.net>
Date2017-04-21 18:30 +0200
Message-ID<eluqciF8tp8U1@mid.individual.net>
In reply to#17363
On 04/21/17 16:40, bill wrote:
> for no "apparent" reason my development system has stopped displaying
> syntax errors.  Runtime errors display and are logged in the apache2.log.
> 
> The phpinfo has:
> display_errors    Off    Off
> display_startup_errors    Off

Check in the beginning of the output for the
"Loaded Configuration File" this one will tell you which ini file has
been loaded

The rows below will also include extra ini files which been loaded and
those can affect the result.


-- 

 //Aho

[toc] | [prev] | [next] | [standalone]


#17367

Frombill <william@TechServSys.com>
Date2017-04-22 08:23 -0400
Message-ID<odfi0i$113d$1@gioia.aioe.org>
In reply to#17365
On 4/21/2017 12:30 PM, J.O. Aho wrote:
> On 04/21/17 16:40, bill wrote:
>> for no "apparent" reason my development system has stopped displaying
>> syntax errors.  Runtime errors display and are logged in the apache2.log.
>>
>> The phpinfo has:
>> display_errors    Off    Off
>> display_startup_errors    Off
>
> Check in the beginning of the output for the
> "Loaded Configuration File" this one will tell you which ini file has
> been loaded
>
> The rows below will also include extra ini files which been loaded and
> those can affect the result.
>
>
I looked through them and none mention "display_errors"

--bill

[toc] | [prev] | [next] | [standalone]


#17366

FromJerry Stuckle <jstucklex@attglobal.net>
Date2017-04-21 20:59 -0400
Message-ID<ode9nc$q3o$1@jstuckle.eternal-september.org>
In reply to#17363
On 4/21/2017 10:40 AM, bill wrote:
> for no "apparent" reason my development system has stopped displaying
> syntax errors.  Runtime errors display and are logged in the apache2.log.
> 
> The phpinfo has:
> display_errors    Off    Off
> display_startup_errors    Off
> but
> /etc/php5/apache2/php.ini has both set to On
> 
> the only other php.ini found on the system is
> 
> /etc/php5/cli/php.ini
> and I have not examined it as I am not using the cli
> 
> I seem to be missing something about syntax error display
> 
> --bill

In addition to what J.O. said, ensure you don't have a .htaccess file
overriding those settings.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#17368

Frombill <william@TechServSys.com>
Date2017-04-22 08:25 -0400
Message-ID<odfi37$113d$2@gioia.aioe.org>
In reply to#17366
On 4/21/2017 8:59 PM, Jerry Stuckle wrote:
> On 4/21/2017 10:40 AM, bill wrote:
>> for no "apparent" reason my development system has stopped displaying
>> syntax errors.  Runtime errors display and are logged in the apache2.log.
>>
>> The phpinfo has:
>> display_errors    Off    Off
>> display_startup_errors    Off
>> but
>> /etc/php5/apache2/php.ini has both set to On
>>
>> the only other php.ini found on the system is
>>
>> /etc/php5/cli/php.ini
>> and I have not examined it as I am not using the cli
>>
>> I seem to be missing something about syntax error display
>>
>> --bill
>
> In addition to what J.O. said, ensure you don't have a .htaccess file
> overriding those settings.
>
no .htaccess file above document_root.

I am sure that when I find it I will pound my head against the 
desk, but, for now I am stimied.

--bill

[toc] | [prev] | [next] | [standalone]


#17369

Frombill <william@TechServSys.com>
Date2017-04-22 08:29 -0400
Message-ID<odfic0$11tl$1@gioia.aioe.org>
In reply to#17363
On 4/21/2017 10:40 AM, bill wrote:
> for no "apparent" reason my development system has stopped
> displaying syntax errors.  Runtime errors display and are logged
> in the apache2.log.
>
> The phpinfo has:
> display_errors    Off    Off
> display_startup_errors    Off
> but
> /etc/php5/apache2/php.ini has both set to On
>
> the only other php.ini found on the system is
>
> /etc/php5/cli/php.ini
> and I have not examined it as I am not using the cli
>
> I seem to be missing something about syntax error display
>
> --bill

disregard prior reply, I was looking at the wrong server.
more to follow after I get some food in me.


-bill

[toc] | [prev] | [next] | [standalone]


#17370

Frombill <william@TechServSys.com>
Date2017-04-22 10:42 -0400
Message-ID<odfq55$1fni$1@gioia.aioe.org>
In reply to#17363
On 4/21/2017 10:40 AM, bill wrote:
> for no "apparent" reason my development system has stopped
> displaying syntax errors.  Runtime errors display and are logged
> in the apache2.log.
>
> The phpinfo has:
> display_errors    Off    Off
> display_startup_errors    Off
> but
> /etc/php5/apache2/php.ini has both set to On
>
> the only other php.ini found on the system is
>
> /etc/php5/cli/php.ini
> and I have not examined it as I am not using the cli
>
> I seem to be missing something about syntax error display
>
> --bill

Thank you both for your suggestions.
The problem was operator error.
Most of my development work is on a private network but 
occasionally I need to do some fixing of a internet facing shared 
server and we are not the owner/administrator of that server.  So 
I was complaining of the development server but the issues was 
the public server.

Now that I found it's error log I can proceed.

-bill

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web