Hi,
I'm using PHP 4.4.4. In our php.ini file we have notices and warnings
turned off. However, I would like to enable them for a small subset
of pages. I know the pages specifically, but I would also settle for
enabling notices and warnings for a certain directory.
Is this possible, and if so, how?
Thanks, - Dave 2 2642
On 14.05.2007 19:02 la***********@z ipmail.com wrote:
Hi,
I'm using PHP 4.4.4. In our php.ini file we have notices and warnings
turned off. However, I would like to enable them for a small subset
of pages. I know the pages specifically, but I would also settle for
enabling notices and warnings for a certain directory.
Is this possible, and if so, how?
Thanks, - Dave
Yes, put the "php_value" directive with "error_reportin g" and desired
error level in that dir's .htaccess
--
gosha bine
extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok la***********@z ipmail.com wrote:
Hi,
I'm using PHP 4.4.4. In our php.ini file we have notices and warnings
turned off. However, I would like to enable them for a small subset
of pages. I know the pages specifically, but I would also settle for
enabling notices and warnings for a certain directory.
Is this possible, and if so, how?
Thanks, - Dave
Dave,
Probably the most accurate way is to add to the top of the pages you
wish to have errors shown:
<?php
error_reporting (E_ALL);
ini_set('displa y_errors', 1);
?>
You could also add to an .htaccess (or the appropriate directory entry
in your httpd.conf file)
php_value error_reporting 6143
php_value display_errors 1
(6143 is is the decimal value for E_ALL).
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== === This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: CES |
last post by:
All,
Could someone please point me to a step by step resource on setting up a
..net Web Application on IIS.
I'm having a problem setting up IIS to except a new Web Application. I'm
deploying the default Asp.net Web Application as is setup by VStudio with no
code changed, other then adding "Hello World to the <title> tag. I've been
able to narrow down the problem to IIS by compiling the Application and
deploying it to my production...
|
by: tommy |
last post by:
hello everbody,
i write a little asp-application with forms-authentication.
i copy my aspx-files with web.config to my webspace and i get the
error above...
i tried to set the custom-errors-tag ="off"
but nothing happens....
what is my failure????
|
by: Matt |
last post by:
The ASP.NET application connects to MS-SQL database, and I already disabled
Anonymous access in IIS, and add ASPNET user in it. When I run the
application, it throws the following error on windows authentication:
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify...
|
by: Sean |
last post by:
HI There,
I am having trouble deploying my .aspx pages to a remote server, I have made
changes to the config file and it still returns an error. I have also
contacted the server administrator to create an application in IIS, what
other checks can I make?
Sean
!-- error mesage
|
by: caa |
last post by:
We are intermittently getting the infamous Configuration error: "It is an
error to use a section registered as allowDefinition='MachineToApplication'
beyond application level. This error can be caused by a virtual directory not
being configured as an application in IIS." However, in our case the relevant
directory is definitely configured as an IIS Application. I've done a lot of
research online, and haven't found anyone else who gets this...
| |
by: Dirk |
last post by:
Hi,
I started with asp.net 2.0. I defined directory inetpub/wwwroot/aspnet as an
application in IIS and the directory security is set to "anonymous access"
(even when unchecked i get the error). When starting a simple file like:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
|
by: laredotornado |
last post by:
Hi,
I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed
using Apache's apxs and the php library was installed to
/usr/local/php. However, when I set my "error_reporting" setting to be
"E_ALL", notices are still not getting reported. The perms on my file
are 664, with owner root and group root. The php.ini file is located
at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem
to be having an effect? ...
|
by: William Youngman |
last post by:
I am on a team that is developing a proposal generation web application and we are using a custom base page (ProGenBase.cs) located in the app_code directory and all of the app's web pages inherit from this custom page. Additionally I have a main menu tab control that is located in a master page and certain tabs are displayed dependant on the users authentication level. I am using boolean properties in the master page to control the visible...
|
by: daokfella |
last post by:
I have a custom web.config section similar to the following:
<CustomAuthSettings attr1="" attr2="">
<Locations RedirectUrl="Invalid.aspx">
<add Path="test.aspx" Roles="1,2,3" Permissions="4,5,6" />
</Locations>
</CustomAuthSettings>
Everything seems to work just fine. When I have config files in nested
folders, Attr1 and Attr2 of the CustomAuthSettings section correctly
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |