phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-developers] Error When deleting messages


From: Ryan Sclanders
Subject: [Phpgroupware-developers] Error When deleting messages
Date: Fri, 22 Mar 2002 17:15:58 +0200

Hi All
 
At the risk of sounding stupid, on a fresh install of phpgroupware-0.9.14.RC2. Should the email, Calender, notes work without editing the code in the individual inc files.
Example: when deleting messages, without editing any files, I get the following error:
 
===========================================================================================================================

Warning: Index referencing a non-array in /home/httpd/html/phpgroupware/email/inc/class.boaction.inc.php on line 264

Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in /home/httpd/html/phpgroupware/phpgwapi/inc/class.phpgw.inc.php on line 138

=============================================================================================================================
 
If I go look at the original class.boaction.inc.php file (On line 264) it looks like this:
 
 
                                // ----  "Go To Previous Message" Handling  -----
                                if ($nav_data['prev_msg'] != $not_set)
                                {
                                        $this->redirect_to = $GLOBALS['phpgw']->link(
                                                '/index.php',
                                                 'menuaction=email.uimessage.message'
                                                .'&'.$nav_data['prev_msg']['msgball']['uri']
                                                .'&sort='.$GLOBALS['phpgw']->msg->get_arg_value('sort')
                                                .'&order='.$GLOBALS['phpgw']->msg->get_arg_value('order')
                                                .'&start='.$GLOBALS['phpgw']->msg->get_arg_value('start'));
 
Two lines in particular being : if ($nav_data['prev_msg'] != $not_set) and
                                            .'&'.$nav_data['prev_msg']['msgball']['uri']
 
Is there not suposed to some variable behind .'& as the later lines have?
But if I edit the 'if' line to look like this, it works:  if ($nav_data['prev_msg'] == $not_set)
 
Can anyone help with this as I'm sure I am doing something drastically wrong and somehow (Luckily) getting things to work
 
Thanks
Ryan
 
 
 
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]