Results 1 to 2 of 2

Thread: Errors cluttering up apache error log

  1. #1
    codek is offline Sugar Community Member
    Join Date
    May 2005
    Posts
    57

    Default Errors cluttering up apache error log

    Hi,

    Does anyone get this error repeatedly?

    I get it about 9000 times a day!!! it's very annoying, and makes it hard to track down real issues in the CRM:

    [Mon Jun 12 16:45:04 2006] [error] [client 172.16.3.49] PHP Notice: Undefined i
    ndex: js_custom_version in /usr/applications/SugarSuite-Live/XTemplate/xtpl.php
    on line 100, referer: http://crm/index.php?action=DetailVi...le=Calls&recor
    d=3273fbf7-1a59-75a0-b219-448959d9e723


    Any way of suppressing it? or Fixing it?

    We're running the latest version, 4.20D

    Thanks!
    Dan

  2. #2
    tegra is offline Junior Member
    Join Date
    Feb 2006
    Posts
    3

    Default Re: Errors cluttering up apache error log

    i have the same problem

    after updating from 4.0.1 to 4.2.0 i get approx 120 errors per page on my screen

    Notice: Undefined index: js_custom_version in D:\webserver\Apache2\htdocs\sugarcrm\index.php on line 555
    Notice: Undefined index: js_custom_version in D:\webserver\Apache2\htdocs\sugarcrm\index.php on line 556
    Notice: Undefined index: js_custom_version in D:\webserver\Apache2\htdocs\sugarcrm\index.php on line 557
    Notice: Undefined index: js_custom_version in D:\webserver\Apache2\htdocs\sugarcrm\index.php on line 559
    Notice: Undefined index: js_custom_version in D:\webserver\Apache2\htdocs\sugarcrm\index.php on line 560
    Notice: Undefined index: js_custom_version in D:\webserver\Apache2\htdocs\sugarcrm\index.php on line 561
    Notice: Undefined index: js_custom_version in D:\webserver\Apache2\htdocs\sugarcrm\XTemplate\xtp l.php on line 100
    Notice: Undefined index: js_custom_version in D:\webserver\Apache2\htdocs\sugarcrm\XTemplate\xtp l.php on line 100
    Notice: Undefined index: js_custom_version in D:\webserver\Apache2\htdocs\sugarcrm\XTemplate\xtp l.php on line 100
    Notice: Undefined index: js_custom_version in D:\webserver\Apache2\htdocs\sugarcrm\XTemplate\xtp l.php on line 100


    i've also installed patch 4.2.0d, nothing changed

    i did notice an error when trying to install the patch. i don't have the exact error but there was a proplem upating the sugarversion and databaseverson within the database.

    can someone post what is supposed to be in the database?
    then i can check and modify if needed

    line 555 of index.php:
    PHP Code:
    //TODO move this code into $theme/header.php so that we can be within the <DOCTYPE xxx> and <HTML> tags.
    if(empty($_REQUEST['to_pdf']) && empty($_REQUEST['to_csv'])) {
        echo 
    '<script type="text/javascript" src="include/javascript/sugar_3.js?s=' $sugar_version '&c=' $sugar_config['js_custom_version'] . '"></script>';
        echo 
    '<script type="text/javascript" src="include/javascript/cookie.js?s=' $sugar_version '&c=' $sugar_config['js_custom_version'] . '"></script>';
        echo 
    '<link rel="stylesheet" type="text/css" media="all" href="themes/'.$theme.'/calendar-win2k-cold-1.css?s=' $sugar_version '&c=' $sugar_config['js_custom_version'] . '">';
        echo 
    '<script>jscal_today = ' . (1000 strtotime($timedate->handle_offset(gmdate('Y-m-d H:i:s'gmmktime()), 'Y-m-d H:i:s'))) . ';</script>';
        echo 
    '<script type="text/javascript" src="jscalendar/calendar.js?s=' $sugar_version '&c=' $sugar_config['js_custom_version'] . '"></script>';
        echo 
    '<script type="text/javascript" src="jscalendar/lang/calendar-en.js?s=' $sugar_version '&c=' $sugar_config['js_custom_version'] . '"></script>';
        echo 
    '<script type="text/javascript" src="jscalendar/calendar-setup_3.js?s=' $sugar_version '&c=' $sugar_config['js_custom_version'] . '"></script>';
        echo 
    $timedate->get_javascript_validation();
        
    $jsalerts = new jsAlerts(); 

    thanks,
    mischa
    Last edited by tegra; 2006-06-13 at 09:52 AM. Reason: add info

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
  •