wiki | forum | trac | otrs | joomla | tech blog | mailman | bewelcome Branches: test.bw | alpha.bw | www.bw Participate: download | get involved

Ticket #446 (new unknown)

Opened 9 months ago

Last modified 7 months ago

turn off PHP notices on the live site

Reported by: guaka Assigned to:
Priority: major Milestone: unassigned
Component: ServerSetup Version: all
Keywords: notices, php Cc:
Follow up needed: none Frequently reported: 1
Announce on BW: 1

Description

Stuff like "Notice: Undefined index: description in /home/bwrox/www.bewelcome.org/templates/apps/rox/volunteer.php on line 212" is great for testing, alpha and dev environments, but it's not really needed on the live site. Turn off notices on the live servers.

Change History

03/03/08 23:29:20 changed by guaka

  • keywords set to notices.
  • summary changed from turn of PHP notices on the live site to turn off PHP notices on the live site.

These notices are also showing for non-developers. In fact, I don't think it's easy to set it up that notices are only shown to developers.

03/03/08 23:57:55 changed by feuerdaemon

But to turn off the notices, should not be the resolution for the problem. ;) Is it not better, to log (on the production server) the notices somewhere, then print it to the Members? But please don't blanket.

03/04/08 07:49:08 changed by guaka

Sure, logging them is great. As long as they're not shown to members. Ideally they have already been found and eradicated before entering the live server, but sometimes they slip through...

03/31/08 20:46:03 changed by feuerdaemon

  • version set to all.
  • milestone changed from unassigned to BigPicture.

04/04/08 16:53:23 changed by guaka

  • keywords changed from notices to notices, php.
  • priority changed from minor to major.
  • show_on_bw set to 1.
  • milestone changed from BigPicture to 0.1.5 - short - xxx.

I see 7 notices on http://www.bewelcome.org/forums/edit/ now. Increasing the priority.

04/05/08 09:59:26 changed by guaka

Related: check #472, the wrong $_SESSION['username'] (is Username now) should have given a PHP Notice on development, test and alpha. Please check if Notices are turned on on test and alpha.

04/23/08 11:49:12 changed by philipp

  • milestone changed from 0.1.5 - short - xxx to 0.2 - community.

Milestone 0.1.5 - short - xxx deleted

Trac Customization: trac stylesheet
SourceForge.net Logo