Jump to content

Recommended Posts

i suppose this would work:



[code]
php_flag error_reporting 2047
[/code]

name that file .htaccess and place it in your directory.

error_reporting > [a href=\"http://www.php.net/manual/en/ref.errorfunc.php#errorfunc.constants\" target=\"_blank\"]predefined constants[/a]
Link to comment
https://forums.phpfreaks.com/topic/3352-help-please/#findComment-11740
Share on other sites

[!--quoteo(post=345853:date=Feb 14 2006, 05:09 PM:name=Bane)--][div class=\'quotetop\']QUOTE(Bane @ Feb 14 2006, 05:09 PM) [snapback]345853[/snapback][/div][div class=\'quotemain\'][!--quotec--]
i suppose this would work:
[code]
php_flag error_reporting 2047
[/code]

name that file .htaccess and place it in your directory.

error_reporting > [a href=\"http://www.php.net/manual/en/ref.errorfunc.php#errorfunc.constants\" target=\"_blank\"]predefined constants[/a]
[/quote]

Thanks for answer Bane.
I'm doing this in.htaccess

php_flag display_errors On
php_value error_reporting 2047

but there is no any affect. Have you idea why it's so?

I hope you will answer again.
Thanks.
Link to comment
https://forums.phpfreaks.com/topic/3352-help-please/#findComment-11768
Share on other sites

Hi,
to tell you honestly, i'm a bit rusty on my PHP. this is the first time i'm using it after a period of almost 3-4 months with no PHP whatsoever.

but from what i can recall, what you posted should work. try using the integer 1 instead of the string "On":

[code]
php_flag display_errors 1
php_value error_reporting 2047
[/code]

also, is your apache configured to allow .htaccess per directory? because that feature can be turned off. you might want to check that up.

and try this using ini_set() as well to check if the errors show up at all before you proceed.
Link to comment
https://forums.phpfreaks.com/topic/3352-help-please/#findComment-11793
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.