Results 1 to 9 of 9

Thread: Upgraded from php4 to php 5.1, now Sugar not wokring

  1. #1
    revi2003 is offline Member
    Join Date
    Aug 2006
    Posts
    5

    Question Upgraded from php4 to php 5.1, now Sugar not wokring

    I recently upgraded php and apache on a windows 2003 server, PHP is now:5.1.4 and apache 2.2.3 and SugarCRM is 4.2.0.

    After the upgrades, Sugar stopped working. When i access the index.php file it gives me a blank page.

    Should i downgrade to php 5.0.4?

    Thanks

  2. #2
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Upgraded from php4 to php 5.1, now Sugar not wokring

    You are probabbly running out of memory

    Check your php.ini for memory_limit and set it to memory_limit = 50M
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  3. #3
    revi2003 is offline Member
    Join Date
    Aug 2006
    Posts
    5

    Default Re: Upgraded from php4 to php 5.1, now Sugar not wokring

    Quote Originally Posted by umeco
    You are probabbly running out of memory

    Check your php.ini for memory_limit and set it to memory_limit = 50M
    I dont think thats the problem because memory_limit was set to 120M from the beginning.Even before the upgrade and it worked then.

    Is SugarCRM compatible with PHP 5.1? or apache 2.2?

  4. #4
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Upgraded from php4 to php 5.1, now Sugar not wokring

    Is there any log generated by Apache?

    Did you set the following variable in php.ini?
    PHP Code:
    register_long_arrays On 
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  5. #5
    mrobertson is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    42

    Default Re: Upgraded from php4 to php 5.1, now Sugar not wokring

    It might be that the php version is not compatable with the apache version. However, I do believe that sugar is not compatable with one of them. I don't remember if it was the php version or the apache version.

    I would make a backup of your current config.php and then replace it with a blank file to run the install pages, that will tell you which of them is incompatible, and from memory it will also say the version it is compatable with.

  6. #6
    revi2003 is offline Member
    Join Date
    Aug 2006
    Posts
    5

    Default Re: Upgraded from php4 to php 5.1, now Sugar not wokring

    Quote Originally Posted by ruchida
    Is there any log generated by Apache?

    Did you set the following variable in php.ini?
    PHP Code:
    register_long_arrays On 
    Errrors generated by Apache:
    PHP Warning: include(include/utils/security_utils.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in D:\\webroot\\include\\utils.php on line 32
    PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'include/utils/security_utils.php' for inclusion (include_path='D:\\php\\includes') in D:\\webroot\\include\\utils.php on line 32
    PHP Warning: require_once(include/utils/db_utils.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in D:\\webroot\\include\\utils.php on line 2474
    Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'include/utils/db_utils.php' (include_path='D:\\php\\includes') in D:\\webroot\\include\\utils.php on line 2474

    register_long_arrays was set to off, changed to on but it did not make it work.

  7. #7
    revi2003 is offline Member
    Join Date
    Aug 2006
    Posts
    5

    Default Re: Upgraded from php4 to php 5.1, now Sugar not wokring

    Quote Originally Posted by mrobertson
    It might be that the php version is not compatable with the apache version. However, I do believe that sugar is not compatable with one of them. I don't remember if it was the php version or the apache version.

    I would make a backup of your current config.php and then replace it with a blank file to run the install pages, that will tell you which of them is incompatible, and from memory it will also say the version it is compatable with.
    Made a backup of my current config.php and then replaced it with a blank config.php file. Tried running index.php and it would change address to install.php but it would also display a blank page.

  8. #8
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Upgraded from php4 to php 5.1, now Sugar not wokring

    Edit php.ini and enable the line below

    PHP Code:
    include_path ".;d:\php\includes" 
    and resrart Apache.
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  9. #9
    revi2003 is offline Member
    Join Date
    Aug 2006
    Posts
    5

    Default Re: Upgraded from php4 to php 5.1, now Sugar not wokring

    Quote Originally Posted by ruchida
    Edit php.ini and enable the line below

    PHP Code:
    include_path ".;d:\php\includes" 
    and resrart Apache.
    Thanks it worked.

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
  •