When I edit a reservervation send me this error

Thanks in advance

Modify Reservation

Error encountered
Unkown error type: [8] Undefined variable: virtual
Error at 3678 in /var/www/html/vcl/.ht-inc/utils.php
Array
(
    [images] => Array
        (
            [5] => Array
                (
                    [id] => 5
                    [name] => vmwarelinux-LINUX5-v0
                    [prettyname] => LINUX
                    [ownerid] => 1
                    [owner] => admin@Local
                    [platformid] => 1
                    [platform] => i386
                    [osid] => 36
                    [os] => vmwarelinux
                    [minram] => 0
                    [minprocnumber] => 0
                    [minprocspeed] => 0
                    [minnetwork] => 0
                    [maxconcurrent] =>
                    [reloadtime] => 10
                    [deleted] => 0
                    [test] => 0
                    [resourceid] => 12
                    [lastupdate] => 2011-04-13 13:34:53
                    [forcheckout] => 1
                    [maxinitialtime] => 0
                    [imagemetaid] => 1
                    [checkuser] => 1
                    [rootaccess] => 1
                    [usergroupid] =>
                    [usergroup] =>
                    [sysprep] => 1
                    [subimages] => Array
                        (
                        )

                    [imagerevision] => Array
                        (
                            [5] => Array
                                (
                                    [id] => 5
                                    [revision] => 0
                                    [userid] => 1
                                    [user] => admin@Local
[datecreated] => 2011-04-13 13:34:53
                                    [prettydate] => 4/13/11 1:34 PM
                                    [production] => 1
[imagename] => vmwarelinux- LINUX5-v0
                                )

                        )

                )

            [4] => Array
                (
                    [id] => 4
                    [name] => noimage
                    [prettyname] => No Image
                    [ownerid] => 1
                    [owner] => admin@Local
                    [platformid] => 1
                    [platform] => i386
                    [osid] => 2
                    [os] => sun4x_58
                    [minram] => 0
                    [minprocnumber] => 1
                    [minprocspeed] => 0
                    [minnetwork] => 10
                    [maxconcurrent] =>
                    [reloadtime] => 0
                    [deleted] => 0
                    [test] => 0
                    [resourceid] => 4
                    [lastupdate] =>
                    [forcheckout] => 0
                    [maxinitialtime] => 0
                    [imagemetaid] =>
                    [imagerevision] => Array
                        (
                            [4] => Array
                                (
                                    [id] => 4
                                    [revision] => 0
                                    [userid] => 1
                                    [user] => admin@Local
[datecreated] => 1980-01-01 00:00:00
                                    [prettydate] => 1/01/80 12:00 AM
                                    [production] => 1
                                    [imagename] => noimage
                                )

                        )

                )

            [7] => Array
                (
                    [id] => 7
                    [name] => vmwarewin7-WINDOWS77-v0
                    [prettyname] => WINDOWS 7
                    [ownerid] => 1
                    [owner] => admin@Local
                    [platformid] => 1
                    [platform] => i386
                    [osid] => 35
                    [os] => vmwarewin7
                    [minram] => 0
                    [minprocnumber] => 0
                    [minprocspeed] => 0
                    [minnetwork] => 0
                    [maxconcurrent] =>
                    [reloadtime] => 10
                    [deleted] => 0
                    [test] => 1
                    [resourceid] => 16
                    [lastupdate] => 2011-04-19 06:35:24
                    [forcheckout] => 1
                    [maxinitialtime] => 0
                    [imagemetaid] => 3
                    [checkuser] => 1
                    [rootaccess] => 1
                    [usergroupid] =>
                    [usergroup] =>
                    [sysprep] => 0
                    [subimages] => Array
                        (
                        )

                    [imagerevision] => Array
                        (
                            [7] => Array
                                (
                                    [id] => 7
                                    [revision] => 0
                                    [userid] => 1
                                    [user] => admin@Local
[datecreated] => 2011-04-19 06:35:24
                                    [prettydate] => 4/19/11 6:35 AM
                                    [production] => 1
[imagename] => vmwarewin7- WINDOWS77-v0
                                )

                        )

                )

            [6] => Array
                (
                    [id] => 6
                    [name] => vmwarewinxp-WINDOWSXP6-v0
                    [prettyname] => WINDOWS XP
                    [ownerid] => 1
                    [owner] => admin@Local
                    [platformid] => 1
                    [platform] => i386
                    [osid] => 16
                    [os] => vmwarewinxp
                    [minram] => 0
                    [minprocnumber] => 0
                    [minprocspeed] => 0
                    [minnetwork] => 0
                    [maxconcurrent] =>
                    [reloadtime] => 10
                    [deleted] => 0
                    [test] => 0
                    [resourceid] => 14
                    [lastupdate] => 2011-04-14 10:04:49
                    [forcheckout] => 1
                    [maxinitialtime] => 0
                    [imagemetaid] => 2
                    [checkuser] => 1
                    [rootaccess] => 1
                    [usergroupid] =>
                    [usergroup] =>
                    [sysprep] => 0
                    [subimages] => Array
                        (
                        )

                    [imagerevision] => Array
                        (
                            [6] => Array
                                (
                                    [id] => 6
                                    [revision] => 0
                                    [userid] => 1
                                    [user] => admin@Local
[datecreated] => 2011-04-14 10:04:49
                                    [prettydate] => 4/14/11 10:04 AM
                                    [production] => 1
[imagename] => vmwarewinxp- WINDOWSXP6-v0
                                )

                        )

                )

        )

    [imageid] => 7
    [imagerevisionid] => 7
    [start] => 1303411500
    [end] => 1303417800
    [requestid] => 18
    [userid] => 0
    [ignoreprivileges] => 0
    [forimaging] => 0
    [requestInfo] => Array
        (
            [start] => 1303411500
            [end] => 1303417800
            [imageid] => 7
            [computers] => Array
                (
                    [0] => 0
                )

            [images] => Array
                (
                    [0] => 7
                )

        )

    [allocatedcompids] => Array
        (
            [0] => 0
        )

    [now] => 1
    [nowfuture] => now
    [starttime] => 6585
    [endtime] => 6690
[query] => SELECT DISTINCT rs.computerid FROM reservation rs, request rq WHERE '2011-04-21 13:45:00' < (rq.end + INTERVAL 900 SECOND) AND '2011-04-21 15:45:00' > rq.start AND rq.id != 18 AND rs.requestid = rq.id AND rq.stateid NOT IN (1, 5, 12)
    [scheduleids] => Array
        (
            [0] => 1
        )

    [qh] => Resource id #47
    [row] =>
    [count] => 1
    [requestData] => Array
        (
            [stateid] => 14
            [laststateid] => 13
            [userid] => 1
            [start] => 2011-04-21 13:45:00
            [end] => 2011-04-21 15:00:00
            [daterequested] => 2011-04-21 13:59:51
            [datemodified] =>
            [logid] => 13
            [test] => 0
            [forimaging] => 0
            [id] => 18
            [reservations] => Array
                (
                )

        )

    [startstamp] => 2011-04-21 13:45:00
    [endstamp] => 2011-04-21 15:45:00
    [key] => 0
    [platformid] => 1
    [tmp] => Array
        (
            [0] => 4
            [1] => 1
            [2] => 2
            [3] => 3
            [4] => 4
        )

    [mappedcomputers] => 4,1,2,3,4
    [computerids] => Array
        (
            [0] => 2
        )

    [currentids] => Array
        (
            [0] => 2
        )

    [blockids] => Array
        (
        )

    [altRemoveBlockCheck] => 1
    [res] => Array
        (
            [imageid] => 7
            [imagerevisionid] => 7
            [managementnodeid] => 1
            [production] => 1
            [image] => vmwarewin7-WINDOWS77-v0
            [prettyimage] => WINDOWS 7
            [OS] => Windows 7 (VMware)
            [computerid] => 2
            [reservationid] => 18
            [reservedIP] => 10.25.19.167
            [hostname] => centosbase1
            [forcheckout] => 1
            [password] =>
            [remoteIP] =>
        )

    [key2] => 0
    [compid] => 2
    [usedComputerids] => Array
        (
            [0] => 4
        )

)



Backtrace:
=-=-=-=-=-=-=-=-=-=-=-=
Call#:1 => index.php:submitEditRequest() (line#:86)
Call#:2 => requests.php:isAvailable() (line#:1811)
Call#:3 => utils.php:errorHandler() (line#:3678)

Backtrace with Arguments:
=-=-=-=-=-=-=-=-=-=-=-=
Call#:1 => index.php:submitEditRequest() (line#:86)
Arguments(none):
-----------------------
Call#:2 => requests.php:isAvailable() (line#:1811)
Arguments(6)

Argument#: 1 => Array
(
    [5] => Array
        (
            [id] => 5
            [name] => vmwarelinux-LINUX5-v0
            [prettyname] => LINUX
            [ownerid] => 1
            [owner] => admin@Local
            [platformid] => 1
            [platform] => i386
            [osid] => 36
            [os] => vmwarelinux
            [minram] => 0
            [minprocnumber] => 0
            [minprocspeed] => 0
            [minnetwork] => 0
            [maxconcurrent] =>
            [reloadtime] => 10
            [deleted] => 0
            [test] => 0
            [resourceid] => 12
            [lastupdate] => 2011-04-13 13:34:53
            [forcheckout] => 1
            [maxinitialtime] => 0
            [imagemetaid] => 1
            [checkuser] => 1
            [rootaccess] => 1
            [usergroupid] =>
            [usergroup] =>
            [sysprep] => 1
            [subimages] => Array
                (
                )

            [imagerevision] => Array
                (
                    [5] => Array
                        (
                            [id] => 5
                            [revision] => 0
                            [userid] => 1
                            [user] => admin@Local
                            [datecreated] => 2011-04-13 13:34:53
                            [prettydate] => 4/13/11 1:34 PM
                            [production] => 1
                            [imagename] => vmwarelinux-LINUX5-v0
                        )

                )

        )

    [4] => Array
        (
            [id] => 4
            [name] => noimage
            [prettyname] => No Image
            [ownerid] => 1
            [owner] => admin@Local
            [platformid] => 1
            [platform] => i386
            [osid] => 2
            [os] => sun4x_58
            [minram] => 0
            [minprocnumber] => 1
            [minprocspeed] => 0
            [minnetwork] => 10
            [maxconcurrent] =>
            [reloadtime] => 0
            [deleted] => 0
            [test] => 0
            [resourceid] => 4
            [lastupdate] =>
            [forcheckout] => 0
            [maxinitialtime] => 0
            [imagemetaid] =>
            [imagerevision] => Array
                (
                    [4] => Array
                        (
                            [id] => 4
                            [revision] => 0
                            [userid] => 1
                            [user] => admin@Local
                            [datecreated] => 1980-01-01 00:00:00
                            [prettydate] => 1/01/80 12:00 AM
                            [production] => 1
                            [imagename] => noimage
                        )

                )

        )

    [7] => Array
        (
            [id] => 7
            [name] => vmwarewin7-WINDOWS77-v0
            [prettyname] => WINDOWS 7
            [ownerid] => 1
            [owner] => admin@Local
            [platformid] => 1
            [platform] => i386
            [osid] => 35
            [os] => vmwarewin7
            [minram] => 0
            [minprocnumber] => 0
            [minprocspeed] => 0
            [minnetwork] => 0
            [maxconcurrent] =>
            [reloadtime] => 10
            [deleted] => 0
            [test] => 1
            [resourceid] => 16
            [lastupdate] => 2011-04-19 06:35:24
            [forcheckout] => 1
            [maxinitialtime] => 0
            [imagemetaid] => 3
            [checkuser] => 1
            [rootaccess] => 1
            [usergroupid] =>
            [usergroup] =>
            [sysprep] => 0
            [subimages] => Array
                (
                )

            [imagerevision] => Array
                (
                    [7] => Array
                        (
                            [id] => 7
                            [revision] => 0
                            [userid] => 1
                            [user] => admin@Local
                            [datecreated] => 2011-04-19 06:35:24
                            [prettydate] => 4/19/11 6:35 AM
                            [production] => 1
                            [imagename] => vmwarewin7-WINDOWS77-v0
                        )

                )

        )

    [6] => Array
        (
            [id] => 6
            [name] => vmwarewinxp-WINDOWSXP6-v0
            [prettyname] => WINDOWS XP
            [ownerid] => 1
            [owner] => admin@Local
            [platformid] => 1
            [platform] => i386
            [osid] => 16
            [os] => vmwarewinxp
            [minram] => 0
            [minprocnumber] => 0
            [minprocspeed] => 0
            [minnetwork] => 0
            [maxconcurrent] =>
            [reloadtime] => 10
            [deleted] => 0
            [test] => 0
            [resourceid] => 14
            [lastupdate] => 2011-04-14 10:04:49
            [forcheckout] => 1
            [maxinitialtime] => 0
            [imagemetaid] => 2
            [checkuser] => 1
            [rootaccess] => 1
            [usergroupid] =>
            [usergroup] =>
            [sysprep] => 0
            [subimages] => Array
                (
                )

            [imagerevision] => Array
                (
                    [6] => Array
                        (
                            [id] => 6
                            [revision] => 0
                            [userid] => 1
                            [user] => admin@Local
                            [datecreated] => 2011-04-14 10:04:49
                            [prettydate] => 4/14/11 10:04 AM
                            [production] => 1
                            [imagename] => vmwarewinxp-WINDOWSXP6-v0
                        )

                )

        )

)

Argument#: 2 => 7
Argument#: 3 => 7
Argument#: 4 => 1303411500
Argument#: 5 => 1303417800
Argument#: 6 => 18
-----------------------
Call#:3 => utils.php:errorHandler() (line#:3678)
Arguments(5)

Argument#: 1 => 8
Argument#: 2 => Undefined variable: virtual
Argument#: 3 => /var/www/html/vcl/.ht-inc/utils.php
Argument#: 4 => 3678
Argument#: 5 => Array
(
    [images] => Array
        (
            [5] => Array
                (
                    [id] => 5
                    [name] => vmwarelinux-LINUX5-v0
                    [prettyname] => LINUX
                    [ownerid] => 1
                    [owner] => admin@Local
                    [platformid] => 1
                    [platform] => i386
                    [osid] => 36
                    [os] => vmwarelinux
                    [minram] => 0
                    [minprocnumber] => 0
                    [minprocspeed] => 0
                    [minnetwork] => 0
                    [maxconcurrent] =>
                    [reloadtime] => 10
                    [deleted] => 0
                    [test] => 0
                    [resourceid] => 12
                    [lastupdate] => 2011-04-13 13:34:53
                    [forcheckout] => 1
                    [maxinitialtime] => 0
                    [imagemetaid] => 1
                    [checkuser] => 1
                    [rootaccess] => 1
                    [usergroupid] =>
                    [usergroup] =>
                    [sysprep] => 1
                    [subimages] => Array
                        (
                        )

                    [imagerevision] => Array
                        (
                            [5] => Array
                                (
                                    [id] => 5
                                    [revision] => 0
                                    [userid] => 1
                                    [user] => admin@Local
[datecreated] => 2011-04-13 13:34:53
                                    [prettydate] => 4/13/11 1:34 PM
                                    [production] => 1
[imagename] => vmwarelinux- LINUX5-v0
                                )

                        )

                )

            [4] => Array
                (
                    [id] => 4
                    [name] => noimage
                    [prettyname] => No Image
                    [ownerid] => 1
                    [owner] => admin@Local
                    [platformid] => 1
                    [platform] => i386
                    [osid] => 2
                    [os] => sun4x_58
                    [minram] => 0
                    [minprocnumber] => 1
                    [minprocspeed] => 0
                    [minnetwork] => 10
                    [maxconcurrent] =>
                    [reloadtime] => 0
                    [deleted] => 0
                    [test] => 0
                    [resourceid] => 4
                    [lastupdate] =>
                    [forcheckout] => 0
                    [maxinitialtime] => 0
                    [imagemetaid] =>
                    [imagerevision] => Array
                        (
                            [4] => Array
                                (
                                    [id] => 4
                                    [revision] => 0
                                    [userid] => 1
                                    [user] => admin@Local
[datecreated] => 1980-01-01 00:00:00
                                    [prettydate] => 1/01/80 12:00 AM
                                    [production] => 1
                                    [imagename] => noimage
                                )

                        )

                )

            [7] => Array
                (
                    [id] => 7
                    [name] => vmwarewin7-WINDOWS77-v0
                    [prettyname] => WINDOWS 7
                    [ownerid] => 1
                    [owner] => admin@Local
                    [platformid] => 1
                    [platform] => i386
                    [osid] => 35
                    [os] => vmwarewin7
                    [minram] => 0
                    [minprocnumber] => 0
                    [minprocspeed] => 0
                    [minnetwork] => 0
                    [maxconcurrent] =>
                    [reloadtime] => 10
                    [deleted] => 0
                    [test] => 1
                    [resourceid] => 16
                    [lastupdate] => 2011-04-19 06:35:24
                    [forcheckout] => 1
                    [maxinitialtime] => 0
                    [imagemetaid] => 3
                    [checkuser] => 1
                    [rootaccess] => 1
                    [usergroupid] =>
                    [usergroup] =>
                    [sysprep] => 0
                    [subimages] => Array
                        (
                        )

                    [imagerevision] => Array
                        (
                            [7] => Array
                                (
                                    [id] => 7
                                    [revision] => 0
                                    [userid] => 1
                                    [user] => admin@Local
[datecreated] => 2011-04-19 06:35:24
                                    [prettydate] => 4/19/11 6:35 AM
                                    [production] => 1
[imagename] => vmwarewin7- WINDOWS77-v0
                                )

                        )

                )

            [6] => Array
                (
                    [id] => 6
                    [name] => vmwarewinxp-WINDOWSXP6-v0
                    [prettyname] => WINDOWS XP
                    [ownerid] => 1
                    [owner] => admin@Local
                    [platformid] => 1
                    [platform] => i386
                    [osid] => 16
                    [os] => vmwarewinxp
                    [minram] => 0
                    [minprocnumber] => 0
                    [minprocspeed] => 0
                    [minnetwork] => 0
                    [maxconcurrent] =>
                    [reloadtime] => 10
                    [deleted] => 0
                    [test] => 0
                    [resourceid] => 14
                    [lastupdate] => 2011-04-14 10:04:49
                    [forcheckout] => 1
                    [maxinitialtime] => 0
                    [imagemetaid] => 2
                    [checkuser] => 1
                    [rootaccess] => 1
                    [usergroupid] =>
                    [usergroup] =>
                    [sysprep] => 0
                    [subimages] => Array
                        (
                        )

                    [imagerevision] => Array
                        (
                            [6] => Array
                                (
                                    [id] => 6
                                    [revision] => 0
                                    [userid] => 1
                                    [user] => admin@Local
[datecreated] => 2011-04-14 10:04:49
                                    [prettydate] => 4/14/11 10:04 AM
                                    [production] => 1
[imagename] => vmwarewinxp- WINDOWSXP6-v0
                                )

                        )

                )

        )

    [imageid] => 7
    [imagerevisionid] => 7
    [start] => 1303411500
    [end] => 1303417800
    [requestid] => 18
    [userid] => 0
    [ignoreprivileges] => 0
    [forimaging] => 0
    [requestInfo] => Array
        (
            [start] => 1303411500
            [end] => 1303417800
            [imageid] => 7
            [computers] => Array
                (
                    [0] => 0
                )

            [images] => Array
                (
                    [0] => 7
                )

        )

    [allocatedcompids] => Array
        (
            [0] => 0
        )

    [now] => 1
    [nowfuture] => now
    [starttime] => 6585
    [endtime] => 6690
[query] => SELECT DISTINCT rs.computerid FROM reservation rs, request rq WHERE '2011-04-21 13:45:00' < (rq.end + INTERVAL 900 SECOND) AND '2011-04-21 15:45:00' > rq.start AND rq.id != 18 AND rs.requestid = rq.id AND rq.stateid NOT IN (1, 5, 12)
    [scheduleids] => Array
        (
            [0] => 1
        )

    [qh] => Resource id #47
    [row] =>
    [count] => 1
    [requestData] => Array
        (
            [stateid] => 14
            [laststateid] => 13
            [userid] => 1
            [start] => 2011-04-21 13:45:00
            [end] => 2011-04-21 15:00:00
            [daterequested] => 2011-04-21 13:59:51
            [datemodified] =>
            [logid] => 13
            [test] => 0
            [forimaging] => 0
            [id] => 18
            [reservations] => Array
                (
                )

        )

    [startstamp] => 2011-04-21 13:45:00
    [endstamp] => 2011-04-21 15:45:00
    [key] => 0
    [platformid] => 1
    [tmp] => Array
        (
            [0] => 4
            [1] => 1
            [2] => 2
            [3] => 3
            [4] => 4
        )

    [mappedcomputers] => 4,1,2,3,4
    [computerids] => Array
        (
            [0] => 2
        )

    [currentids] => Array
        (
            [0] => 2
        )

    [blockids] => Array
        (
        )

    [altRemoveBlockCheck] => 1
    [res] => Array
        (
            [imageid] => 7
            [imagerevisionid] => 7
            [managementnodeid] => 1
            [production] => 1
            [image] => vmwarewin7-WINDOWS77-v0
            [prettyimage] => WINDOWS 7
            [OS] => Windows 7 (VMware)
            [computerid] => 2
            [reservationid] => 18
            [reservedIP] => 10.25.19.167
            [hostname] => centosbase1
            [forcheckout] => 1
            [password] =>
            [remoteIP] =>
        )

    [key2] => 0
    [compid] => 2
    [usedComputerids] => Array
        (
            [0] => 4
        )

)


Reply via email to