Skip to Content Skip to Menu

errors in inbox/outbox

  • chrissy6930
  • chrissy6930
  • OFFLINE
  • Posts: 27
  • Thanks: 0
  • Karma: 1
  • Add-ons
14 years 7 months ago #130584 by chrissy6930
errors in inbox/outbox was created by chrissy6930
hi there,

on my test session I have: J!1.5.15, CB 1.2.2, uddeIM 2.0

if I send a new message all is well
if I receive a new message all is well

if I receive a message in response to a message I have sent the following error occurs:

[code:1]Notice: Trying to get property of non-object in ../components/com_uddeim/inbox.php on line 492

Notice: Trying to get property of non-object in ../components/com_uddeim/inbox.php on line 492[/code:1]

If I respond to such a message received as a reply to a message a message that it has been sent shows up

if I now open the respective message in the outboxx the following error occurs:

[code:1]Notice: Trying to get property of non-object in ../components/com_uddeim/outbox.php on line 329

Notice: Trying to get property of non-object in ../components/com_uddeim/outbox.php on line 329[/code:1]

I have encryption set to obfuscating and a key for it has been set

could you please advice?

Post edited by: chrissy6930, at: 2010/04/19 10:59

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
14 years 7 months ago #130585 by slabbi
Replied by slabbi on topic Re:errors in inbox/outbox
The encryption/obfuscating is not the problem. It seems that the SQL query fails to read the message from your database.
Don't know why. Have you updated from a very old version of uddeIM? It seems that some table fields are missing, e.g. "cryptmode". Please deinstall uddeIM, remove all tables prefixed "uddeim" and install again.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • chrissy6930
  • chrissy6930
  • OFFLINE
  • Posts: 27
  • Thanks: 0
  • Karma: 1
  • Add-ons
14 years 7 months ago #130586 by chrissy6930
Replied by chrissy6930 on topic Re:errors in inbox/outbox
no its a clean install of everything including J!

prior to reinstalling uddeIM I checked the tables and #__uddeim includes field cryptmode

a table dump is currently looking like this:

[code:1]--
-- Table structure for table `jos__uddeim`
--

CREATE TABLE IF NOT EXISTS `jos_uddeim` (
`id` int(10) unsigned NOT NULL auto_increment,
`replyid` int(11) NOT NULL default '0',
`fromid` int(11) NOT NULL default '0',
`toid` int(11) NOT NULL default '0',
`message` text NOT NULL,
`datum` int(11) default NULL,
`toread` int(1) NOT NULL default '0',
`totrash` int(1) NOT NULL default '0',
`totrashdate` int(11) default NULL,
`totrashoutbox` int(1) NOT NULL default '0',
`totrashdateoutbox` int(11) default NULL,
`expires` int(11) NOT NULL default '0',
`disablereply` int(1) NOT NULL default '0',
`systemmessage` varchar(60) default NULL,
`archived` int(1) NOT NULL default '0',
`cryptmode` int(1) NOT NULL default '0',
`flagged` int(1) NOT NULL default '0',
`crypthash` varchar(32) default NULL,
`publicname` text,
`publicemail` text,
PRIMARY KEY (`id`),
KEY `toid_toread` (`toid`,`toread`),
KEY `fromid` (`fromid`),
KEY `replyid` (`replyid`),
KEY `datum` (`datum`),
KEY `totrashdate` (`totrashdate`),
KEY `totrashdateoutbox_datum` (`totrashdateoutbox`,`datum`),
KEY `toread_totrash_datum` (`toread`,`totrash`,`datum`),
KEY `totrash_totrashdate` (`totrash`,`totrashdate`),
KEY `archived_totrash_toid_datum` (`archived`,`totrash`,`toid`,`datum`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;

--
-- Dumping data for table `jos_uddeim`
--

INSERT INTO `jos_uddeim` (`id`, `replyid`, `fromid`, `toid`, `message`, `datum`, `toread`, `totrash`, `totrashdate`, `totrashoutbox`, `totrashdateoutbox`, `expires`, `disablereply`, `systemmessage`, `archived`, `cryptmode`, `flagged`, `crypthash`, `publicname`, `publicemail`) VALUES
(1, 0, 63, 63, 'Welcome to uddeIM!\n\nYou have succesfully installed uddeIM.\n\nTry viewing this message with different templates. You can set them in the administration backend of uddeIM.\n\nuddeIM is a project in development. If you find bugs or weaknesses, please write them to me so that we can make uddeIM better together.\n\nGood luck and have fun!', 1269199577, 1, 0, NULL, 1, 1269199577, 0, 1, 'uddeIM', 0, 0, 0, NULL, NULL, NULL),
(2, 0, 62, 63, 'FxoQA1RPAEUTRQIMWE0=', 1271659328, 1, 0, NULL, 0, NULL, 0, 0, NULL, 0, 1, 0, 'fecd65a929048dd08c8ded7b40bc223f', NULL, NULL),
(3, 2, 63, 62, 'ERcNBQZIGgsVRQIBThlEXEAXUhQVB1USAhdofGQhNDpmbDwtJi8reSw6f28CAUJKEFBAQxNZBBFVBw==', 1271659363, 1, 0, NULL, 0, NULL, 0, 0, NULL, 0, 1, 0, 'fecd65a929048dd08c8ded7b40bc223f', NULL, NULL),
(4, 3, 62, 63, 'GhcNUBVIHBEaAARJRFdVNDlueCYvK3ksOi06KTYmM0JcRxYAFxkaQVMRGgBWHU5KRBleBgEKERNDfm9/b3tjdGZvZmw8LSYvKyt5ERoMBUlCShBYExcXCgQ=', 1271659490, 1, 0, NULL, 0, NULL, 0, 0, NULL, 0, 1, 0, 'fecd65a929048dd08c8ded7b40bc223f', NULL, NULL),
(5, 0, 62, 63, 'EBccUANOFgtSER4AWBlVS0EMAFkDHEkEFlIQBg==', 1271659583, 1, 0, NULL, 0, NULL, 0, 0, NULL, 0, 1, 0, 'fecd65a929048dd08c8ded7b40bc223f', NULL, NULL),
(6, 5, 63, 62, 'FxcKBB1IFGh4aHxkIWZvZmw8LSYvK3l+bwEAE0lcUVVXExcaEANUQwEXHRdWGkNWR0oTFgI=', 1271659604, 1, 0, NULL, 0, NULL, 0, 0, NULL, 0, 1, 0, 'fecd65a929048dd08c8ded7b40bc223f', NULL, NULL);[/code:1]

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
14 years 7 months ago #130595 by slabbi
Replied by slabbi on topic Re:errors in inbox/outbox
Very strange, I cannot reproduce the problem here.

Could you check following please:

In includes.db.php serach for

"function uddeIMselectInboxMessage($myself, $messageid, $config, $trashed=-1)"

After
"$database->setQuery($sql);
$value = $database->loadObjectList();"
add
"var_dump($value);"

Open the message in the Outbox(!) that cause that error and post what the array dump shows.

As a bugfix you could disable message reply linking in uddeIM backend (it is responsible for showing "This is a reply to..." and "The message has following replies...".

Post edited by: slabbi, at: 2010/04/19 13:40

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • chrissy6930
  • chrissy6930
  • OFFLINE
  • Posts: 27
  • Thanks: 0
  • Karma: 1
  • Add-ons
14 years 7 months ago #130597 by chrissy6930
Replied by chrissy6930 on topic Re:errors in inbox/outbox
just reinstalled uddeIM after dropping all uddeIM tables.
once I have adjusted config and saved it the following error occurs:

Important: You have not updated your database! Please refer to the README how to update uddeIM correctly!

the readme / FAQ suggests this to being an error that can occur when upgrading from a much older version which is not the case here

I went to check the db and ... hmmm ... none of the uddeim tables have been created

my first installation of uddeim was while accessing my test session located at ../public_html/test this way:
www.mysite.com/test

I have however set up a subdomain for this test session several days ago and am now accessing the session via subdomain test.mysite.com which is forwarded to ../public_html/test

should it matter?

could you please advice?

Post edited by: chrissy6930, at: 2010/04/19 13:55

Please Log in or Create an account to join the conversation.

  • chrissy6930
  • chrissy6930
  • OFFLINE
  • Posts: 27
  • Thanks: 0
  • Karma: 1
  • Add-ons
14 years 7 months ago #130601 by chrissy6930
Replied by chrissy6930 on topic Re:errors in inbox/outbox
well I uninstalled again and this time installation went smooth... all greens, all tables created, sending messages works but I still get those errors mentioned above

just to make sure if I have some general prob I posted a comment (com_jomcomment), edited a blog entry (com_myblog), edited profile (com_comprofiler) and signed a profilebook (plug_cbprofilebook)

all working well, no errors whatsoever.

I also checked the error_log which is empty

called my host (dedi server) to see if they can see anything I cannot but was told that all is properly set up

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum