Results 1 to 3 of 3

Thread: Listviewdata.php generating fatal error after new installation prior to first login.

  1. #1
    sugar.crm.1's Avatar
    sugar.crm.1 is offline Junior Member
    Join Date
    Apr 2011
    Location
    West of Sepulveda!
    Posts
    3

    Question Listviewdata.php generating fatal error after new installation prior to first login.

    /**
    * generates the additional details span to be retrieved via ajax
    *
    * @param GUID id id of the record
    * @return array string to attach to field
    */
    function getAdditionalDetailsAjax($id)
    {
    global $app_strings;

    $jscalendarImage = SugarThemeRegistry::current()->getImageURL('info_inline.gif');
    $extra = "<span id='adspan_" . $id . "' onmouseout=\"return SUGAR.util.clearAdditionalDetailsCall()\" ""
    . "onmouseover=\"lvg_dtails ('$id')\"
    . "onmouseout=\"return nd(1000);\" style='position: relative;'><img vertical-align='middle' class='info' border='0' src='$jscalendarImage'></span>";


    return array('fieldToAddTo' => $this->additionalDetailsFieldToAdd, 'string' => $extra);
    }

    The line in red bold is giving an error after new installation prior to logging in after the set-up wizard completes:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/virads/public_html/vl2/include/ListView/ListViewData.php on line 490


    ---------------------------------

    My editing program (Dreamweaver) says, "Marked invalid because it contains a duplicate attribute. Remove the duplicate attribute."

    I am an html programmer, not a php programmer, but can get into the code and make changes if someone can tell me what to do to fix this. Thanks!

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Listviewdata.php generating fatal error after new installation prior to first log

    Shouldn't be necessary to get into the code.

    This sounds like an environmental issue. Can you share some info about your server, for example, version of PHP, SQL server type (and version), Operating System, etc.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    sugar.crm.1's Avatar
    sugar.crm.1 is offline Junior Member
    Join Date
    Apr 2011
    Location
    West of Sepulveda!
    Posts
    3

    Default Re: Listviewdata.php generating fatal error after new installation prior to first log

    Thanks for the reply!

    Apache version 2.2.16
    PHP version 5.2.14
    MySQL version 5.0.92-50
    Architecture x86_64
    Operating system linux
    php.ini is set to 64mb memory (cant change that)

    Sugar 6.1.4

    The thing is that I installed this same package earlier on the same server and didn't get this.
    Why now?
    Last edited by sugar.crm.1; 2011-04-28 at 03:45 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Installation: php-Fatal error
    By alias5000 in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2009-08-12, 11:31 PM
  2. Fatal Error at Login
    By Akael.d2 in forum Help
    Replies: 1
    Last Post: 2008-05-13, 03:05 PM
  3. Replies: 0
    Last Post: 2008-02-01, 08:29 PM
  4. Up to 4.2.1 causes fatal error on login...
    By beedsley in forum Help
    Replies: 2
    Last Post: 2006-07-07, 06:43 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
  •