Ticket #446 (closed unknown: fixed)

Opened 4 years ago

Last modified 8 days ago

turn off PHP notices on the live site

Reported by: guaka Owned by:
Priority: major Milestone: unassigned
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

comment:1 Changed 4 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 4 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 4 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 4 years ago by feuerdaemon

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

comment:5 Changed 4 years ago by guaka

  • Keywords notices, php added; notices removed
  • Priority changed from minor to major
  • show_on_bw changed from 0 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.

comment:6 Changed 4 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 4 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 8 days ago by planetcruiser

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.