Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Install step 7: Not loading db schema

  1. #1
    BrianJacobs is offline Junior Member
    Join Date
    Oct 2006
    Posts
    1

    Default Install step 7: Not loading db schema

    Hello,

    Thanks in advance for any help offered.

    At step 7, I see these messages:

    Creating Sugar configuration file (config.php)

    Creating Sugar application tables, audit tables, and relationship metadata...

    ...and then it dies. The file sugarcrm.log says that it can't find a table named 'config'. I looked at the database and it doesn't have any tables in it.

    So the app can't load the db schema but apparantly tried to keep going until failing to find the table.

    The installer can at least create the database and the database user (use the privileged account I assume). Is it trying to use the sugarcrm user to load the schema? That might point at why the db gets created but not populated.

    Installing SugarSuite 4.5.0d, with
    PHP 5.1.6
    MySQL 5.0.22
    Apache 2.2.0
    Fedora Core 5

    Thanks.
    Last edited by BrianJacobs; 2006-10-25 at 01:16 PM.

  2. #2
    ominc is offline Junior Member
    Join Date
    Oct 2006
    Posts
    1

    Default Re: Install step 7: Not loading db schema

    I'm having the exact.. and I mean exact same problem with the exact same setup. I've tried letting sugar create the tables, having me create the tables, ect. Please someone help.. need an answer!

  3. #3
    dahamsta is offline Junior Member
    Join Date
    Nov 2006
    Location
    The Internet
    Posts
    3

    Default

    Sorry for bumping, I'm getting this too. Also "Unsupported PHP Version Installed: ( ver 5.1.6 )" at the start of the setup. Why isn't 5.1.6 supported?

  4. #4
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Install step 7: Not loading db schema

    Quote Originally Posted by dahamsta
    Sorry for bumping, I'm getting this too. Also "Unsupported PHP Version Installed: ( ver 5.1.6 )" at the start of the setup. Why isn't 5.1.6 supported?
    We haven't tested on 5.1.6 yet. That's a "it should work, but we haven't officially tested this version yet" message.

    As to this particular issue, what can you tell us about the database configuration you set up?

    Did you check the "Create Database" or "Create User" checkboxes? Is your database on localhost or on another server?

    Clint
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  5. #5
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Install step 7: Not loading db schema

    I just checked with one of the engineers and she says that she has seen this issue when the memory_limit value in php.ini is less than 30M.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  6. #6
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Install step 7: Not loading db schema

    More info on this. It turns out the installer has a bug in that it is not properly checking for the memory_limit value.

    Sugar requires at least 32MB allocated in php.ini. A default PHP installation only has 8MB allocated. However the bug in the installer will mask this issue on your system if you have a low memory_limit value.

    Try upping the value in your php.ini to at least 32MB.

    Clint
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  7. #7
    dahamsta is offline Junior Member
    Join Date
    Nov 2006
    Location
    The Internet
    Posts
    3

    Default Re: Install step 7: Not loading db schema

    I was just about to post the same clint, I noticed that the installer reported the memory limit as unlimited, which didn't look right, so I upped it to 32MB and the install went through fine.

    Thanks,
    adam

  8. #8
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Install step 7: Not loading db schema

    Great! This installer bug gets fixed in the upcoming 4.5.0 patch G.

    Clint
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  9. #9
    dahamsta is offline Junior Member
    Join Date
    Nov 2006
    Location
    The Internet
    Posts
    3

    Default Re: Install step 7: Not loading db schema

    Excellent, thanks again clint.

  10. #10
    tgmweb is offline Junior Member
    Join Date
    Sep 2005
    Posts
    3

    Default Re: Install step 7: Not loading db schema

    I have the same problem but upping my memory limit doesn't help,

    In my apache error logs I get the following:

    [Tue Nov 21 14:12:07 2006] [error] [client 84.92.118.93] PHP Notice: Undefined index: path in /home/sites/www.host.co.uk/web/install/install_utils.php on line 701, referer: http://www.host.co.uk/install.php

    [Tue Nov 21 14:12:08 2006] [error] [client 84.92.118.93] PHP Fatal error: Cannot redeclare class DateTime in /home/sites/www.host.co.uk/web/modules/Calendar/DateTime.php on line 29, referer: http://www.host.co.uk/install.php

    I'm running PHP 5.2 and apache 2 with MySQL 4.

    Thanks,


    Tom.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

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
  •