Opened 11 years ago

Closed 7 years ago

Last modified 6 years ago

#446 closed task (fixed)

turn off PHP notices on the live site

Reported by: guaka Owned by:
Priority: major Milestone: Legacy Resolved
Component: ServerSetup Keywords: notices, php
Cc:

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 (9)

comment:1 Changed 11 years ago by guaka

  • Keywords notices added
  • 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.

comment:2 Changed 11 years ago 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.

comment:3 Changed 11 years ago 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...

comment:4 Changed 11 years ago by feuerdaemon

  • Milestone changed from unassigned to BigPicture
  • version set to all

comment:5 Changed 11 years ago by guaka

  • Keywords php added
  • Milestone changed from BigPicture to 0.1.5 - short - xxx
  • Priority changed from minor to major
  • show_on_bw changed from 0 to 1

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

comment:6 Changed 11 years ago 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.

comment:7 Changed 11 years ago by philipp

  • Milestone changed from 0.1.5 - short - xxx to 0.2 - community

Milestone 0.1.5 - short - xxx deleted

comment:8 Changed 7 years ago by planetcruiser

  • Resolution set to fixed
  • Status changed from new to closed

comment:9 Changed 6 years ago by TimLoal

  • Milestone changed from unassigned to Legacy Resolved
  • Type changed from unknown to developer task
Note: See TracTickets for help on using tickets.