Results 1 to 6 of 6

Thread: Error while resetting password

  1. #1
    hcamargo is offline Member
    Join Date
    May 2011
    Posts
    6

    Default Error while resetting password

    I was trying to reset some password from the accounts section.

    when I click on reset password I get this error (in a small popup):

    Warning: Cannot use a scalar value as an array in /home1/sevtechs/public_html/crm/include/Pear/HTML_Safe/Safe.php on line 415
    1gcdZ5d

    Can somebody help me to fix it or tell me what I'm doing wrong?
    maybe I'm missing something.
    Currently I'm using google mail but in order to make sugarcrm work, I has to create an email account in my hosting cpanel (bluehhost.com)

    thank in advance.

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Error while resetting password

    Let us know the version of your SugarCRM instance.
    Did you install any package?

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    hcamargo is offline Member
    Join Date
    May 2011
    Posts
    6

    Default Re: Error while resetting password

    Version: Version 6.2.0RC1 (Build 6311)

    I have not installed any package.

  4. #4
    PFoley is offline Sugar Community Member
    Join Date
    Mar 2011
    Posts
    11

    Default Re: Error while resetting password

    I'm also getting the same error when i try and reset a password. I recently upgraded from CE to Pro 6.2.0 RC2.

    Any help getting this one sorted would be great.

  5. #5
    mcmlxxii's Avatar
    mcmlxxii is offline Sugar Community Member
    Join Date
    Jul 2009
    Posts
    21

    Default Re: Error while resetting password

    Try changing the file include/Pear/HTML_Safe/Safe.php as follows:

    Around line 645 change the assignment of $this->dcCounter as follows, from:

    PHP Code:
        /**
         * Clears current document data
         *
         * @return boolean
         */
        
    public function clear()
        {
            
    $this->xhtml '';
            
    $this->dcCounter 0;
            
    $this->stack = array();
            return 
    true;
        } 
    to

    PHP Code:
        /**
         * Clears current document data
         *
         * @return boolean
         */
        
    public function clear()
        {
            
    $this->xhtml '';
            
    $this->dcCounter = array();
            
    $this->stack = array();
            return 
    true;
        } 
    Jon Cutting

    SugarCRM Gold Partners EnableIT/SugarUK
    Opacus Ltd SugarCRM Extensions
    Follow Opacus on Twitter

  6. #6
    daneb is offline Junior Member
    Join Date
    Apr 2011
    Posts
    4

    Default Re: Error while resetting password

    That seemed to work for me. Thanks!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Resetting the bug counter
    By andriesp in forum Developer Help
    Replies: 3
    Last Post: 2009-04-07, 10:25 AM
  2. Build-your-own demo resetting prematurely
    By andrewm in forum General Discussion
    Replies: 1
    Last Post: 2006-09-14, 02:13 AM
  3. Resetting admin password?
    By gremln007 in forum Help
    Replies: 2
    Last Post: 2004-11-13, 08:00 PM

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
  •