[racktables-users] Re: A brand new shiny pre-release is ready to be tested

  • From: Mateusz Blaszczyk <blahu77@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Tue, 10 Mar 2009 08:40:39 +0000

Some more strange things, might be related.

http://racktables.org/demo/temporal/?page=rackspace&tab=edit

click save button on any row

it goes here 
http://racktables.org/demo/temporal/process.php?page=rackspace&tab=edit&op=updateRow

and throws this :

Uncaught exception: PDOException
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an
error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near 'set name = ?, 0
= ?, 1 = ? where id = ?' at line 1 (42000)

at file /var/www/vhosts/racktables.org/demo/temporal/inc/revdatabase.php,
line 946

Array
(
    [0] => Array
        (
            [file] =>
/var/www/vhosts/racktables.org/demo/temporal/inc/revdatabase.php
            [line] => 946
            [function] => prepare
            [class] => PDO
            [type] => ->
            [args] => Array
                (
                    [0] => update  set name = ?, 0 = ?, 1 = ? where id = ?
                )

        )

    [1] => Array
        (
            [file] =>
/var/www/vhosts/racktables.org/demo/temporal/inc/database.php
            [line] => 94
            [function] => update
            [class] => Database
            [type] => ::
            [args] => Array
                (
                    [0] => Array
                        (
                            [name] => London
                            [0] => RackRow
                            [1] => 1
                        )

                )

        )

    [2] => Array
        (
            [file] =>
/var/www/vhosts/racktables.org/demo/temporal/inc/ophandlers.php
            [line] => 1480
            [function] => commitUpdateRow
            [args] => Array
                (
                    [0] => 1
                    [1] => London
                )

        )

    [3] => Array
        (
            [file] => /var/www/vhosts/racktables.org/demo/temporal/process.php
            [line] => 33
            [function] => updateRow
            [args] => Array
                (
                )

        )

)


Best Regards,

-mat

Other related posts: