[wicked] head update
Douglas Phillips
doug at sbscomp.net
Thu Oct 12 20:35:23 PDT 2006
> I got rid of the error messages by turning them ALL off.
> Unfortunitly I need register_globals = on
I haven't been able to mess with this much lately - everything's been pretty
crazy around here, but here's something I came up with a while back and
havent chased down yet.
This is a print_r() output of the $_SESSION[ 'wicked' ] variable -- the
value being an object. So I don't know if the object is not handling the
history element (or doesn't have it).
Anyway, hope this can shed some light - but that would be why it's
complaining about a scalar not being able to be used as an array.
A note to the obvious: the XXXX's are where I removed DB connection
information :) Also, I put the print_r() at line 93 (just before the
reference to $_SESSION[ 'wicked' ][ 'history' ]
-----
wicked_driver_sql Object ( [_params] => Array ( [persistent] => [hostspec]
=> XXXX [username] => XXXX [password] => XXXX [port] => 3306 [protocol] =>
tcp [database] => XXXX [charset] => iso-8859-1 [phptype] => mysql [table] =>
wicked_pages [historytable] => wicked_history [attachmenttable] =>
wicked_attachments [attachmenthistorytable] => wicked_attachment_history
[driverconfig] => horde ) [_vfs] => [_db] => db_mysql Object ( [phptype] =>
mysql [dbsyntax] => mysql [features] => Array ( [limit] => alter [new_link]
=> 4.2.0 [numrows] => 1 [pconnect] => 1 [prepare] => [ssl] => [transactions]
=> 1 ) [errorcode_map] => Array ( [1004] => -15 [1005] => -15 [1006] => -15
[1007] => -5 [1008] => -17 [1022] => -5 [1044] => -26 [1046] => -14 [1048]
=> -3 [1049] => -27 [1050] => -5 [1051] => -18 [1054] => -19 [1061] => -5
[1062] => -5 [1064] => -2 [1091] => -4 [1100] => -21 [1136] => -22 [1142] =>
-26 [1146] => -18 [1216] => -3 [1217] => -3 ) [connection] => Resource id
#27 [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] =>
XXXX [password] => XXXX [protocol] => tcp [hostspec] => XXXX [port] => 3306
[socket] => [database] => XXXX [persistent] => [charset] => iso-8859-1
[table] => wicked_pages [historytable] => wicked_history [attachmenttable]
=> wicked_attachments [attachmenthistorytable] => wicked_attachment_history
[driverconfig] => horde ) [autocommit] => 1 [transaction_opcount] => 0 [_db]
=> XXXX [_debug] => [_default_error_mode] => [_default_error_options] =>
[_default_error_handler] => [_error_class] => DB_Error [_expected_errors] =>
Array ( ) [fetchmode] => 1 [fetchmode_object_class] => stdClass
[was_connected] => [last_query] => SELECT page_id, page_name FROM
wicked_pages [options] => Array ( [result_buffering] => 500 [persistent] =>
[ssl] => [debug] => 0 [seqname_format] => %s_seq [autofree] => [portability]
=> 17 [optimize] => performance ) [last_parameters] => Array ( )
[prepare_tokens] => Array ( ) [prepare_types] => Array ( )
[prepared_queries] => Array ( ) ) )
-----
--
Douglas G. Phillips
Simple Business Solutions
More information about the wicked
mailing list