Results 1 to 6 of 6

Thread: Alternative way to upgrade to 4.0.1 is required

  1. #1
    tigertuff is offline Junior Member
    Join Date
    Jan 2006
    Posts
    3

    Question Alternative way to upgrade to 4.0.1 is required

    I am trying to upgrade from 4.0 to 4.0.1 but I'm getting the dreaded error when trying to upload the SugarSuite-Upgrade-4.0.0_to_4.0.1.zip file, namely:

    "The specified CGI application misbehaved by not returning a complete set of HTTP headers."

    I am hosting SugarCRM on a shared server that is running IIS and PHP 4.3.11. This appears to be a general problem that appears under certain IIS/PHP configurations, which manifests itself when trying to upload large files to a Web server. Whatever the problem, I am not in a position to fix it.

    What I need, therefore, is an alternative way to fire the upgrade process, rather than using the Web form to upload the SugarSuite-Upgrade-4.0.0_to_4.0.1.zip file. In other words, I would like to FTP the upgrade file to the Web server and THEN start the upgrade process. After all, this is how I installed version 4.0

    A response to this request would be much appreciated because I am sure this is a common problem.

  2. #2
    webnetin is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    68

    Default Re: Alternative way to upgrade to 4.0.1 is required

    Quote Originally Posted by .....tuff
    I am trying to upgrade from 4.0 to 4.0.1 but I'm getting the dreaded error when trying to upload the SugarSuite-Upgrade-4.0.0_to_4.0.1.zip file, namely:

    "The specified CGI application misbehaved by not returning a complete set of HTTP headers."

    I am hosting SugarCRM on a shared server that is running IIS and PHP 4.3.11. This appears to be a general problem that appears under certain IIS/PHP configurations, which manifests itself when trying to upload large files to a Web server. Whatever the problem, I am not in a position to fix it.

    What I need, therefore, is an alternative way to fire the upgrade process, rather than using the Web form to upload the SugarSuite-Upgrade-4.0.0_to_4.0.1.zip file. In other words, I would like to FTP the upgrade file to the Web server and THEN start the upgrade process. After all, this is how I installed version 4.0

    A response to this request would be much appreciated because I am sure this is a common problem.
    You are right!

    With IIS this is a very common problem...........I think we need to now addtress this seriously..


    webnetIN

  3. #3
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Alternative way to upgrade to 4.0.1 is required

    Here is a re-write of UpgradeWizard.php that allows you to upload the zip file and then type in the full path and name of the file you uploaded into the wizard and it acts like you uploaded. I also disabled the 6M sanity check. It worked here, good luck.

    Make sure you put it somewhere that PHP/Apache/IIS has permission to go.

    BACK UP YOUR OLD FILE FIRST!

    it goes in modules/Administration
    Attached Files Attached Files
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  4. #4
    webnetin is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    68

    Default Re: Alternative way to upgrade to 4.0.1 is required

    Quote Originally Posted by kbrill
    Here is a re-write of UpgradeWizard.php that allows you to upload the zip file and then type in the full path and name of the file you uploaded into the wizard and it acts like you uploaded. I also disabled the 6M sanity check. It worked here, good luck.

    Make sure you put it somewhere that PHP/Apache/IIS has permission to go.

    BACK UP YOUR OLD FILE FIRST!

    it goes in modules/Administration
    Hi,

    I used this method also for upgrading my Sugar Pro 3.5.1a (running on Win 2003 server, IIS 6, PHP4.3), BUT i failed.

    Here What I did.....
    1) FRom admin screen, went to Upgrade Wizard, and browse the upgrade Zip file (3.5.1 to 4.0) and click Upload, got this error.
    It gives me : Error: PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file 'C:\WINDOWS\TEMP\phpE.tmp'

    Please remember, earlier in the day, I tried using HotFix for this issue, but didnt succeeded. Kindly see my posting for same in this forum

    2) Next attempt, I Browse the upgrade package same way, but didnot pressed the Updat ebutton, RATHER, went to "
    Path to FTP'd Update Package", and type the path "D:\ja\new", where I propose to send the Zip file, and this is the path of my webserver (different box from client). And press Update next to it..... Thie time the error is....
    PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file 'D:\ja\new'

    Please suggest if am wrong in my approach, and also I am highly confused help me.

    Regards
    webnetIN

  5. #5
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Alternative way to upgrade to 4.0.1 is required

    Quote Originally Posted by webnetin
    Hi,

    I used this method also for upgrading my Sugar Pro 3.5.1a (running on Win 2003 server, IIS 6, PHP4.3), BUT i failed.

    Here What I did.....
    1) FRom admin screen, went to Upgrade Wizard, and browse the upgrade Zip file (3.5.1 to 4.0) and click Upload, got this error.
    It gives me : Error: PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file 'C:\WINDOWS\TEMP\phpE.tmp'

    Please remember, earlier in the day, I tried using HotFix for this issue, but didnt succeeded. Kindly see my posting for same in this forum

    2) Next attempt, I Browse the upgrade package same way, but didnot pressed the Updat ebutton, RATHER, went to "
    Path to FTP'd Update Package", and type the path "D:\ja\new", where I propose to send the Zip file, and this is the path of my webserver (different box from client). And press Update next to it..... Thie time the error is....
    PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file 'D:\ja\new'

    Please suggest if am wrong in my approach, and also I am highly confused help me.

    Regards
    webnetIN
    Do Not "Browse For" anything, just type in the path and name of the file you uploaded. You need BOTH the path AND the name of the file you uploaded.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  6. #6
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Alternative way to upgrade to 4.0.1 is required

    Sorry about that not being clear on that screen.

    Path to FTP'd Update Package:

    Should be

    Path and name of FTP'd Update Package:

    Here is an updated version
    Attached Files Attached Files
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

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
  •