Results 1 to 3 of 3

Thread: "Could not open" silentUpgrade.php error

  1. #1
    marclangston is offline Sugar Community Member
    Join Date
    Oct 2009
    Posts
    98

    Default "Could not open" silentUpgrade.php error

    I am cross-posting this from the Installation/Upgrade Help forum since I haven't seen any responses yet. Please let me know if you can help.
    marc

    I'm attempting to upgrade Sugar 5.2.1 to 5.5 (on the way to upgrading to version 6) using the Silent Upgrader and encountering an error about opening the silentupgrade.php file.

    I've created a folder named SugarOXP55upgrade under the htdocs folder of Apache. In that folder I've placed a newly created log file and the upgrade ZIP file. The command line I then enter at the C: prompt is (I've included some line breaks here for readability):

    php.exe -f silentUpgrade.php
    "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SugarOXP55upgrade\Suga rCE-Upgrade-5.2.0-to-5.5.1.zip"
    "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SugarOXP55upgrade\Suga rOXPupgradeto55log.txt"
    "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SugarOXP"
    marclangston

    I've tried a few variations on the paths shown above (which may not be the issue anyway) and I always get the same error:

    Could not open input file: silentUpgrade.php

    I was thinking this might have something to do with permissions for accessing silentUpgrade.php but thus far I haven't been able to confirm (or not) that that's the problem. Can anybody provide some guidance on what I need to do differently? I'm using Apache 2.2, PHP 5, and MySQL 5.1 on Windows Server 2003, Standard edition.

    Thanks very much.
    marc

  2. #2
    raynor is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    sydney
    Posts
    71

    Default Re: "Could not open" silentUpgrade.php error

    Had you specified the full path to the silentupgrade.php file?

    eg "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SugarOXP\silentupgrade .php"
    sugar professional 6.4.0

  3. #3
    marclangston is offline Sugar Community Member
    Join Date
    Oct 2009
    Posts
    98

    Default Re: "Could not open" silentUpgrade.php error

    I did not use the full path when I issued the command, but I was already at the C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SugarOXP\ prompt. Since my original post I (or rather, my boss) was able to figure out the issue. We needed to make sure the zipped upgrade file and the log file were in the UpgradeWizard folder of the Sugar instance being upgraded. So, from the prompt -

    C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SugarInstance\modules\ UpgradeWizard>

    the command was-

    php.exe -f silentUpgrade.php
    "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SugarInstance\modules\ UpgradeWizard\SugarCE-Upgrade-5.2.0-to-5.5.1.zip"
    "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SugarInstance\modules\ UpgradeWizard\upgradeWizard.log"
    "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SugarInstance"
    adminname

    I suppose that should have been the first thing we tried. It seems like something that should be mentioned in the Silent Upgrader documentation.
    marc

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. "Could not open input file" error with silentUgrade
    By marclangston in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2010-11-22, 09:51 PM
  2. "my open task " dashlets not visible on user home page
    By sivakumar.bdu in forum Developer Help
    Replies: 0
    Last Post: 2009-10-06, 10:07 AM
  3. Replies: 2
    Last Post: 2008-04-28, 04:54 PM
  4. Error message : "failed to open stream"
    By natoulou in forum Help
    Replies: 0
    Last Post: 2008-02-12, 02:20 PM
  5. Replies: 0
    Last Post: 2005-05-16, 03:06 PM

Tags for this Thread

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
  •