Results 1 to 3 of 3

Thread: headers problem

  1. #1
    sarabjeetdhillon is offline Junior Member
    Join Date
    Nov 2006
    Posts
    2

    Default headers problem

    hi

    as i install sugarcrm on server i get the following messages on the index page:

    Notice: Undefined offset: 2 in C:\wiki\sugarcrm\modules\Users\authentication\Suga rAuthenticate\SugarAuthenticate.php on line 253

    Warning: Cannot modify header information - headers already sent by (output started at C:\wiki\sugarcrm\modules\Users\authentication\Suga rAuthenticate\SugarAuthenticate.php:253) in C:\wiki\sugarcrm\include\utils.php on line 1952


    please help me out in solving these issues

    thanks
    sarabjeet

  2. #2
    sanjaykatiyar1's Avatar
    sanjaykatiyar1 is offline Sugar Community Member
    Join Date
    Feb 2006
    Location
    Bangalore
    Posts
    600

    Default Re: headers problem

    Can you check for any extra line or blank space after the closing php tag in those files.
    Sanjay Katiyar
    iPhone and Android solutions http://www.apptility.com

  3. #3
    eugenevdm is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    48

    Default Re: headers problem

    I had a similar problem:

    Notice: Undefined offset: 1 in /var/www/vhosts/crm.snowball.co.za/httpdocs/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 258

    Notice: Undefined offset: 1 in /var/www/vhosts/crm.snowball.co.za/httpdocs/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 258

    Notice: Undefined offset: 2 in /var/www/vhosts/crm.snowball.co.za/httpdocs/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 258

    Notice: Undefined offset: 2 in /var/www/vhosts/crm.snowball.co.za/httpdocs/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 258

    The problem started after I upgraded my Plesk server from 8.01 to 8.1

    Indeed that file did not have a closing "?>" PHP tag, but adding it, and making sure there weren't any extra spaces didn't sort it out.

    I worked around the problem by commenting out most of the "for" loop around lines 258 that checks for session_parts == client_parts except the line that reads $classCheck=1; and now the warnings are gone. This is my quick fix.
    Last edited by eugenevdm; 2011-03-16 at 09:52 PM.

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
  •