Results 1 to 8 of 8

Thread: Cant open sugar with db issues

  1. #1
    tshepoth is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    44

    Default Cant open sugar with db issues

    Hi all

    Have sugar community 6.3.1 on a hosted shared server. Sugar was working very well until I change the password of the database user which is linked to my sugar install for another database I created. When i tried to open my sugar I got the following error:

    Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'crmhotrp_pulego'@'localhost' (using password: YES) in /home/crmhotrp/public_html/angelinternational/include/database/MysqliManager.php on line 297
    Could not connect to the database. Please refer to sugarcrm.log for details.

    I know I have to change user access using phpMyadmin but dont know how to do that. Tried to read a few articles and im not winning. Any easy way to do this?

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Cant open sugar with db issues

    Did you changin the the password of the mysql user in the config.php file?
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    tshepoth is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    44

    Default Re: Cant open sugar with db issues

    Just changed that and got the following issues:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/crmhotrp/public_html/angelinternational/config.php:1) in /home/crmhotrp/public_html/angelinternational/include/MVC/SugarApplication.php on line 580

    Warning: Cannot modify header information - headers already sent by (output started at /home/crmhotrp/public_html/angelinternational/config.php:1) in /home/crmhotrp/public_html/angelinternational/include/utils.php on line 2387

    Warning: Cannot modify header information - headers already sent by (output started at /home/crmhotrp/public_html/angelinternational/config.php:1) in /home/crmhotrp/public_html/angelinternational/include/MVC/SugarApplication.php on line 122

    Any ideas how to solve this?

  4. #4
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Cant open sugar with db issues

    Perhaps you did a typo in the config.php, check the Apostrophes, the must be ' Apostrophes , no ` or ´ .
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  5. #5
    tshepoth is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    44

    Default Re: Cant open sugar with db issues

    Thanks for a quick response. The is no typo whatsoever. Tried to create a new user with all privileges to the database which took me back to the first problem!

  6. #6
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Cant open sugar with db issues

    There must be a big in the config.php.

    How does the end look like?

    is there an empty line after the "?>"

    remove it
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  7. #7
    tshepoth is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    44

    Default Re: Cant open sugar with db issues

    Quote Originally Posted by kuske View Post
    There must be a big in the config.php.

    How does the end look like?

    is there an empty line after the "?>"

    remove it
    This is how the file ends:

    'upload_dir' => 'cache/upload/',
    'upload_maxsize' => 3000000,
    'use_common_ml_dir' => false,
    'use_real_names' => true,
    'vcal_time' => '2',
    'verify_client_ip' => true,
    );

    I cannot find "?>"

  8. #8
    tshepoth is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    44

    Default Re: Cant open sugar with db issues

    Thanks Kuske for trying to help. I got the solution from Rafael's post on http://www.sugarcrm.com/forums/f22/h...69/#post269927

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2009-08-26, 07:05 AM
  2. Replies: 18
    Last Post: 2008-02-13, 08:31 PM
  3. Replies: 1
    Last Post: 2007-07-26, 04:32 PM
  4. Replies: 0
    Last Post: 2007-07-25, 07:18 PM
  5. SugarCRM Open Source - Licence Issues
    By Ram Kumar in forum General Discussion
    Replies: 1
    Last Post: 2007-03-29, 02:18 AM

Tags for this Thread

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
  •