Update 19.2 to 1.0.0rc1: "APPLICATION WARNING #403"

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
minibbjd
Posts: 3
Joined: 19 Aug 2005, 16:56

Update 19.2 to 1.0.0rc1: "APPLICATION WARNING #403"

Post by minibbjd »

Solved. See fourth posting.

Hi!

After upgrading from 19.2 to 1.0.0rc1 I get "APPLICATION WARNING #403" at various places, e.g. on the view_all_bugs page I get:

APPLICATION WARNING #403: Database field 'refresh_delay' not found.
APPLICATION WARNING #403: Database field 'advanced_report' not found.
APPLICATION WARNING #403: Database field 'advanced_update' not found.

(I get the last one for each and every bug row listed on that page.)

My understanding is that these fields should be in mantis_user_pref_table and the strange thing is, they *are*. Here's a screenshot of the table structure in phpmyadmin:

Image

This looks ok to me and the fields that I get warnings about seem to be old fields introduced in pre 19.2 versions anyway. The upgrade script actually did upgrade the first time I called it after installing 1.0.0.rc1, but now it says it's up-to-date.

Anyone can shed some light into this? Thanks a lot!

Marcus
Last edited by minibbjd on 21 Aug 2005, 14:28, edited 1 time in total.
Guest

Post by Guest »

No one? I'll be happy to help with debugging the problem, e.g. by trying source changes to locate the problem or check something in the database.

Marcus
minibbjd
Posts: 3
Joined: 19 Aug 2005, 16:56

Post by minibbjd »

Additionally I also see email notifications do not work:

08-21-2005 14:55 CEST mail_recipient bug= 2632, add reporter=14
08-21-2005 14:55 CEST mail_recipient bug= 2632, add handler=0
08-21-2005 14:55 CEST mail_recipient bug= 2632, add note=14
08-21-2005 14:55 CEST mail_recipient bug= 2632, add project=9
08-21-2005 14:55 CEST mail_recipient bug= 2632, add project=1784
08-21-2005 14:55 CEST mail_recipient bug= 2632, add project=14
08-21-2005 14:55 CEST mail_recipient bug= 2632, drop 14 (own)
08-21-2005 14:55 CEST mail_recipient bug= 2632, drop 0 (disabled)
08-21-2005 14:55 CEST mail_recipient bug= 2632, drop 9 (pref email_on_bugnote off)
08-21-2005 14:55 CEST mail_recipient bug= 2632, drop 1784 (pref email_on_bugnote off)
08-21-2005 14:55 CEST mail bug=2632, type=bugnote, msg=email_notification_title_for_action_bugnote_submitted, recipients=()

I checked it for user 1784 and all email_on fields for this user are set to 1 and all severity fields are set to 0 in the mantis_user_pref_table table, so he should get the notification but does not. (User 9 should also get a notification and he did, just like 1784 before I upgraded.)

When I look at the manage_user_edit_page.php page the user preferences are not shown correctly (what is shown on this page is not what's in the database, all checkboxes are always unticked) however I can use this page to *set* the values (I checked in phpmyadmin). So, it seems that Mantis has problems *reading* values from the mantis_user_pref_table, which could also explain the warning messages I am seeing.

Marcus
minibbjd
Posts: 3
Joined: 19 Aug 2005, 16:56

Post by minibbjd »

Found the solution here: http://bugs.mantisbt.org/view.php?id=5257

Using the CVS version of user_pref_api.php works for me.
Post Reply