error adding new user

Bug #525834 reported by Matthew Holder
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Low
Dan Garner

Bug Description

On attempting to create a new user I see the following error:

2010-02-22 16:08:06 user

<errormsg>Undefined variable: override_option</errormsg>
<errornum>8</errornum>
<errortype>Notice</errortype>
<scriptname>/var/www/xibo-server/lib/pages/user.class.php</scriptname>
<scriptlinenum>576</scriptlinenum>

2010-02-22 16:08:06 user

<errormsg>Undefined variable: homepageOption</errormsg>
<errornum>8</errornum>
<errortype>Notice</errortype>
<scriptname>/var/www/xibo-server/lib/pages/user.class.php</scriptname>
<scriptlinenum>579</scriptlinenum>

I am using server 1.0.6 and have never seen this message before. I last added a new user on 1.0.5 though.

Cheers, Matt

Revision history for this message
Alex Harrington (alexharrington) wrote :

Can you walk through exactly what you're filling in to the form please?

I've just tried adding a user on our 1.0.6 unit test server and it worked fine.

Alex

Changed in xibo:
status: New → Incomplete
Revision history for this message
Matthew Holder (matt-mattmole) wrote :

Hi,

These are the steps I follow:

1) Login as the administrator user
2) Select Management
3) Select users
4) Select "Add User"

When selecting "add user" the pop-up appears for a split second and then vanishes. The report error is then generated in the log section.

This problem has never occurred before, but I only rarely add users. This is the first user added since my upgrade from 1.0.5 to 1.0.6.

I have attached the troubleshoot.txt file. I have just walked you through the fault from my laptop at home as opposed to the normal PC I use. The fault is the same, and should disprove my work PC.

Matt

Revision history for this message
Dan Garner (dangarner) wrote :

Matt,

You are running with Debugging switched on (or in Test mode).. can you turn debugging off and put it in production mode (from Settings) and try again.

I have fixed these notices in 1.1.1 (I noticed them while testing)

Revision history for this message
Matthew Holder (matt-mattmole) wrote :

Hi Guys,

Thanks for the input. That has fixed the problem. I cannot for the life of me remember when and why I put the server in test mode!

Matt

Revision history for this message
Dan Garner (dangarner) wrote :

No problem... I usually run in test mode with debugging on while developing. Helps catch these PHP notices (that fill up the log otherwise)

Evidently in 1.0.6 I didn't visit the User form very much ;-)

Changed in xibo:
status: Incomplete → Fix Committed
importance: Undecided → Low
assignee: nobody → Dan Garner (dangarner)
milestone: none → 1.1.1
Dan Garner (dangarner)
Changed in xibo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.