Results 1 to 7 of 7

Thread: index.php unknow file type

  1. #1
    kevin_qiu is offline Junior Member
    Join Date
    Dec 2009
    Posts
    4

    Default index.php unknow file type

    OS: Fedora 11
    Sugar: 5.5 CE
    Webserver: httpd-2.2.13-1.fc11.i586
    PHP: php-5.2.11-2.fc11.i586
    MySQL: mysql-server-5.1.37-1.fc11.i586

    Sugar CRM was running well for a long time. I never change setting. I only 'yum update' my OS.

    But I can not open sugar again from my last 'yum update'. When I open it, 'index.php' save to file. It is unknow file type. And the orther website is running well at same server. I check everywhere, but I can't find any wrong.

    Please help. Thank you very much.
    Attached Files Attached Files

  2. #2
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default Re: index.php unknow file type

    Something wrong with Apache or PHP.
    Letrium ltd. - Only high quality service
    http://letrium.com

  3. #3
    kevin_qiu is offline Junior Member
    Join Date
    Dec 2009
    Posts
    4

    Default Re: index.php unknow file type

    Quote Originally Posted by AlexAv View Post
    Something wrong with Apache or PHP.
    No the other php works well, it only hapen sugar crm.

    I had checked php.ini and conf.d/php.conf . and yum update with no error.

    I open sugar crm with text mode is well

    The first picture is text mode.
    the second picture with firefox
    Attached Images Attached Images   
    Last edited by kevin_qiu; 2009-12-10 at 08:35 AM.

  4. #4
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default Re: index.php unknow file type

    Can you give URL to this page ?
    My skype id you can see in my user profile.
    Letrium ltd. - Only high quality service
    http://letrium.com

  5. #5
    kevin_qiu is offline Junior Member
    Join Date
    Dec 2009
    Posts
    4

    Default Re: index.php unknow file type

    Quote Originally Posted by AlexAv View Post
    Can you give URL to this page ?
    My skype id you can see in my user profile.
    I had send you a privte message.

    By the way, this is sencond time to meet this problem. I could not fix it .So I moved it from Debian to fedora 11.
    I worked will until 'yum update'
    I think it may be php bugs. but the other php is good. and I can not fix and see any error logs.
    I newly installed on Debian, but still had this problem.

    Debian Info.
    mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.0
    PHP 5.2.11-2 with Suhosin-Patch 0.9.7 (cli) (built: Nov 21 2009 21:17:44)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    Server version: Apache/2.2.14 (Debian)
    Server built: Nov 21 2009 09:22:43

  6. #6
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default Re: index.php unknow file type

    Replace this code in the ../include/utils.php.

    Wrong code
    // zlib module
    if(function_exists('gzclose') && headers_sent() == false) {
    ini_set('zlib.output_compression', 1);
    }


    Correct code
    // zlib module
    if(function_exists('gzclose') && headers_sent() == false) {
    ini_set('zlib.output_compression', 'true');
    }
    Letrium ltd. - Only high quality service
    http://letrium.com

  7. #7
    kevin_qiu is offline Junior Member
    Join Date
    Dec 2009
    Posts
    4

    Default Re: index.php unknow file type

    Great! it help me fix it. Sugar works well now.

    Thank you very mush.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SQL Query unknow email-addresses
    By badjo in forum General Discussion
    Replies: 0
    Last Post: 2009-11-22, 08:20 PM
  2. where the index.php file resides of modules
    By sujitkirve in forum Developer Help
    Replies: 2
    Last Post: 2008-02-21, 03:27 PM
  3. Changing index.php file extension?
    By sunside in forum Help
    Replies: 0
    Last Post: 2007-02-23, 06:31 PM
  4. Replies: 2
    Last Post: 2005-12-09, 08:15 PM
  5. Replies: 0
    Last Post: 2005-10-07, 06:54 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
  •