Results 1 to 2 of 2

Thread: Fatal error: Cannot redeclare class DateTime after Ubuntu upgrade

  1. #1
    apjjr is offline Member
    Join Date
    Jul 2006
    Posts
    5

    Default Fatal error: Cannot redeclare class DateTime after Ubuntu upgrade

    I was running the community version Sugar 4.2.1a on Ubuntu 6.06 LTS. Worked great.
    I upgraded to the new LTS version 8.04.

    The first time I tried to login to Sugar, I got the login screen. After logging in I got the following message:

    Fatal error: Cannot redeclare class DateTime in /var/www/SugarSuite-Full-4.2.1a/modules/Calendar/DateTime.php on line 29

    Now I get that message every time I try to get to Sugar instead of the login screen.

    If I go to http://ls2/test/phpinfo.php on my server, it displays:
    System Linux LS2 2.6.24-16-386 #1 Thu Apr 10 12:50:06 UTC 2008 i686
    Build Date Feb 27 2008 20:27:58
    Server API Apache 2.0 Handler
    Virtual Directory Support disabled
    Configuration File (php.ini) Path /etc/php5/apache2
    Loaded Configuration File /etc/php5/apache2/php.ini
    Scan this dir for additional .ini files /etc/php5/apache2/conf.d
    additional .ini files parsed /etc/php5/apache2/conf.d/curl.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini
    PHP API 20041225
    PHP Extension 20060613
    . . .

    Anyone know what I can do to fix this? I know I should have upgraded as they were released. Should I install the latest version now?

    Thanks for any help,
    Alex

  2. #2
    apjjr is offline Member
    Join Date
    Jul 2006
    Posts
    5

    Default Re: Fatal error: Cannot redeclare class DateTime after Ubuntu upgrade

    I got the old 4.2.1 to work again by following the instructions in http://www.sugarcrm.com/forums/showthread.php?t=23319

    I think now I will backup and do the upgrade to4.5.0d with the upgrade wizard then to 5.

    Alex

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Query Failed: AND users.id = '1'::MySQL error 1064:
    By artco001 in forum Installation and Upgrade Help
    Replies: 63
    Last Post: 2009-05-07, 05:56 AM
  2. Replies: 4
    Last Post: 2009-03-26, 03:12 AM
  3. Replies: 19
    Last Post: 2008-04-11, 05:41 PM
  4. New Install - Fatal error: Cannot redeclare class user
    By csiddall in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-04-14, 07:14 PM
  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
  •