Thanks Wes for the bit of info confirming the template has it on,
For my webapps that don't need high security, that works fine. The only
issue, is the webapps I am concerned with are in a secure webspace I
created that has an .htaccess file that first checks to see if the
requested URL was through the magicscript, and if not, it then pulls the
URL into the magicscript as well as using https. At that point, my
magicscript.php that includes an include to the "real" magicscript.php
has a lot of "other" code in it to verify that a user's credentials are
intact, and based on who they logged into the .htaccess prompt as will
show them different information.
So I can't get those errors unless I change my .htaccess everytime, or
move the file out of the secure webspace (which to be honest is a
hassle) ... lately I've been using the combination of SSHing to zoo and
running the PHP file command line to get the errors (usually does the
trick pretty well) and using that web syntax checker I found... but in
all reality... its very time consuming and much harder than it used to
be to find errors.
To the Web Team:
Perhaps you could turn on error reporting once again? Pretty please?
Wesley Alan Wright wrote:
> The first two lines of the "real" magicscript are
> error_reporting( E_ALL );
> ini_set( 'display_errors', 'off' );
> However, it appears that no combination of those in your own scripts
> gets things turned on again.
> However, if the failed URL is, say,
> certainly will show your errors
> On Nov 13, 2009, at 11:55 AM, Tyler Whitney wrote:
>> Hi Folks,
>> I still seem to be having issues with error reporting working. I get
>> no errors at all when my scripts don't work, I should also note that
>> I AM using the UVM Template, so I am curious as to whether or not the
>> include in the magicscript.php changes the error reporting level?
>> It is rather frustrating, but either way, error_reporting(E_ALL)
>> among other solutions that I have tried do not seem to be working. I
>> know there is a syntax error or such somewhere when I see the blank
>> template and notice that the footer bar is missing, meaning not all
>> scripts ran correctly, and then begins the search of syntax with no
>> I've even used a site that lets you copy and paste your PHP code to
>> find my errors, and that usually points them out right away.
>> Any light on this? Perhaps the magicscript has error_reporting off?
>> On Tue, Nov 10, 2009 at 9:31 AM, Jim Lawson <[log in to unmask]> wrote:
>> Hi Tyler,
>> The default for error_reporting on www.uvm.edu is "E_ALL & ~E_NOTICE",
>> or "report all errors except notices".
>> display_errors is on.
>> It's possible that some other script that you are including changes the
>> error_reporting level. But, in any event, you should be able to call
>> error_reporting(E_ALL) as you like.
>> Tyler Whitney wrote:
>> > Hello All:
>> > Just curious, not sure if I missed a previous discussion about
>> this, is
>> > error reporting turned off in PHP5? If so, is this on purpose? If
>> so, I
>> > should be able to use the function error_reporting( ); in my scripting
>> > to turn it on per page to help with debugging am I right? I guess I
>> > could simply test it... but my code is so good I have nothing to
>> test it
>> > with (haha, more like I spent ages trying to find a missing $) ...
>> > Tyler
>> Jim Lawson
>> Systems Architecture & Administration
>> Enterprise Technology Services
>> University of Vermont
>> Burlington, VT USA
> | Wesley Alan Wright <mailto:[log in to unmask]> |
> | Academic Computing Services __0__ |
> | Room 407 Lafayette Building / \ | \ |
> | University of Vermont \77 |
> | Burlington, Vermont 05405-0160 USA. \\ http://www.uvm.edu/skivt-l |
> | Voice:802-656-1254 FAX:802-???-???? vv |
> | aim:goim?screenname=maddogskideath http://www.uvm.edu/~waw/ |
IT Support Specialist
Department of Residential Life
The University of Vermont
Robinson Hall, 406 South Prospect Street
Burlington, VT 05405-0364
Phone: (802)656-7937; Fax: (802)656-1142; Cell: (518)335-3196
E-mail: [log in to unmask]
Staff IT Line; (805)656-7934
Submit a Footprint; http://reslife.uvm.edu/staffit
Subit a Website Issue/Problem; http://reslife.uvm.edu/bugs