Results 1 to 2 of 2

Thread: Cannot redeclare class SuggarLogger

  1. #1
    TSA
    TSA is offline Member
    Join Date
    Aug 2009
    Posts
    7

    Exclamation Cannot redeclare class SuggarLogger

    Hi,

    I used previouly Sugar 4.5.0h.
    I've first upgrade to 4.5.1l, seems that upgrade OK.

    I've then upgrade from this fresh upgraded 4.5.1l to 5.1.0c.
    At the end of the upgrade process, i had a error printed
    Fatal error: Cannot redeclare class SugarLogger in /var/www/SugarOS-Full-4.5.0g/include/SugarLogger/SugarLogger.php on line 45
    The line 45 is the main first line defining the class :
    PHP Code:
    class SugarLogger 
    Does somebody can explain me what's wrong ?
    Thanks !
    Last edited by TSA; 2009-08-05 at 10:11 AM.

  2. #2
    TSA
    TSA is offline Member
    Join Date
    Aug 2009
    Posts
    7

    Talking Re: Cannot redeclare class SuggarLogger

    fIle include/SugarLogger/LoggerManager.php, line 88
    replace :
    PHP Code:
    require('include/SugarLogger/'$logger '.php'); 
    with
    PHP Code:
    require_once('include/SugarLogger/'$logger '.php'); 
    Quite noob !

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 2009-03-26, 03:12 AM
  2. Cannot redeclare class Tracker
    By noswalnod in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-11-13, 08:04 PM
  3. Cannot redeclare class Tracker Error
    By cebula in forum Help
    Replies: 1
    Last Post: 2008-11-13, 01:44 PM
  4. Cannot redeclare class user
    By dchouinard in forum Help
    Replies: 0
    Last Post: 2007-11-14, 11:07 AM
  5. Fatal error: Cannot redeclare class soapclient
    By preginald in forum Web Self Service Portal
    Replies: 0
    Last Post: 2007-04-12, 01:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •