PHP Notice messages on EDIT/includes/addparentchild.php

Project:RUcore dlr/EDIT
Version:6.1
Component:Code
Category:bug report
Priority:critical
Assigned:jgeng
Status:closed
Description

Notice: Use of undefined constant localhost - assumed 'localhost' in /mellon/htdocs/dlr/EDIT/includes/dbinfo.php on line 5

Notice: Undefined variable: str_CurrParent in /mellon/htdocs/dlr/EDIT/includes/functions.php on line 137

Notice: Undefined variable: arr_AddParent in /mellon/htdocs/dlr/EDIT/includes/functions.php on line 200

Comments

#1

Priority:normal» critical

#2

No permission to change /dlr/EDIT/includes/addparentchild.php file

The first line has been fixed.
Jie

#3

Status:active» test

Notice: Undefined variable: collid in /mellon/htdocs/dlr/EDIT/includes/addparentchild.php on line 40 (No permission to edit this.)

Below has been fixed.

Notice: Use of undefined constant localhost - assumed 'localhost' in /mellon/htdocs/dlr/EDIT/includes/dbinfo.php on line 5

Notice: Undefined variable: str_CurrParent in /mellon/htdocs/dlr/EDIT/includes/functions.php on line 137

Notice: Undefined variable: arr_AddParent in /mellon/htdocs/dlr/EDIT/includes/functions.php on line 200

#4

Assigned to:chadmills» jgeng
Status:test» active

Permission should be set to edit, please attempt.

#5

Status:active» test

please test.
Jie

#6

Status:test» closed

Tested and also edited some more. There were some other problems in includes/functions.php I fixed.

I tested by clicking Mange parents and adding a new parent collection. I then closed the window and refresh the main screen and the addition showed up. I then choose Manage parents again and removed the collection I just added. I closed the screen and refreshed the main window, the collection was then removed from the display.

I also tested adding an invalid ID, I was prevented from doing so as expected.

Back to top