phpgroupware-users
[Top][All Lists]
Advanced

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

[Phpgroupware-users] Re: Mail wont Compose, Addressbook won't View


From: Andy Tschiersch
Subject: [Phpgroupware-users] Re: Mail wont Compose, Addressbook won't View
Date: Mon, 2 Oct 2006 07:49:25 -0700 (MST)


i have found the error of "notes" in this file:
/path/to/phpgroupware/notes/inc/class.sonotes.inc.php


Fatal error: Cannot redeclare sonotes::$grants in 
/path/to/phpgroupware/notes/inc/class.sonotes.inc.php on line 22

so you can fix it:
------------------
open this file in a text-editor

in top you will find:class sonotes
        {
                var $grants;
                var $db;
                var $db2;
                var $grants;
                var $owner;
                var $total_records;
the line "var $grants;" is once too much
delete one of them so that it looks like:class sonotes
        {
                var $grants;
                var $db;
                var $db2;
                var $owner;
                var $total_records;
then save the file and it schould works no


i think the reason that the error not appeared in log-file is that include() 
and include_once() produces warnings instead off errors. but i'm wondering why 
no warning in log-file appeared.

error_reporting  =  E_ALL & ~E_NOTICE (in my ini.php is set)

how ever, it works no  :) 

Sent from the phpGroupWare forums @ http://forums.phpGroupWare.org




reply via email to

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