Results 1 to 8 of 8

Thread: Error after delete uploaded upgrade zip

  1. #1
    Chris_C's Avatar
    Chris_C is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Connecticut
    Posts
    227

    Default Fatal error Call to undefined function. Admin Upgrade Wizard.

    1) SugarCRM CE 6.2.0 installed on linux shared hosting, and patched to 6.3.0RC1, 6.3.0RC2, then 6.3.0 - (if I remember the version numbers correctly).
    2) Today I go into the Admin / Upgrade Wizard to upload 6.3.0-6.4.0RC1 upgrade patch zip file. It uploads successfully.
    3) I see there's a 6.3.0-6.3.1 stable upgrade patch zip available in SugarForge - so I click the Delete button next to the 6.4.0RC1 patch - I intend to upload that 6.3.1 patch instead.

    4) I got back into the Upgrade Wizard and now it shows the following error message - and the rest of the page is empty - you're not able to step through the Upgrade Wizard anymore :

    "Fatal error: Call to undefined function getVersionedScript() in /home/myaccount/public_html/mysite.com/crm/modules/UpgradeWizard/upload.php on line 282"

    Has anyone else seen this Call to undefined function error yet ?

    How do you fix the error so the Upgrade Wizard works again ?!
    Last edited by Chris_C; 2011-12-20 at 03:16 AM. Reason: clearer title.

  2. #2
    svdkar is offline Junior Member
    Join Date
    Oct 2011
    Posts
    6

    Default Re: Fatal error Call to undefined function. Admin Upgrade Wizard.

    Quote Originally Posted by Chris_C View Post
    1) SugarCRM CE 6.2.0 installed on linux shared hosting, and patched to 6.3.0RC1, 6.3.0RC2, then 6.3.0 - (if I remember the version numbers correctly).
    2) Today I go into the Admin / Upgrade Wizard to upload 6.3.0-6.4.0RC1 upgrade patch zip file. It uploads successfully.
    3) I see there's a 6.3.0-6.3.1 stable upgrade patch zip available in SugarForge - so I click the Delete button next to the 6.4.0RC1 patch - I intend to upload that 6.3.1 patch instead.

    4) I got back into the Upgrade Wizard and now it shows the following error message - and the rest of the page is empty - you're not able to step through the Upgrade Wizard anymore :

    "Fatal error: Call to undefined function getVersionedScript() in /home/myaccount/public_html/mysite.com/crm/modules/UpgradeWizard/upload.php on line 282"

    Has anyone else seen this Call to undefined function error yet ?

    How do you fix the error so the Upgrade Wizard works again ?!


    I have the same error after running into a problem ("sugarcrm Could not create the temp directory. Check file permissions.") while upgrading to 6.4

  3. #3
    Chris_C's Avatar
    Chris_C is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Connecticut
    Posts
    227

    Default Re: Fatal error Call to undefined function. Admin Upgrade Wizard.

    Quote Originally Posted by svdkar View Post
    I have the same error after running into a problem ("sugarcrm Could not create the temp directory. Check file permissions.") while upgrading to 6.4
    You should try my script fix-permissions-v3-alpha.php (attached below..) and report back your results!

    fix-permissions-v3-alpha.php

  4. #4
    graphics's Avatar
    graphics is offline Sugar Community Member
    Join Date
    Feb 2012
    Location
    Las Vegas, NV
    Posts
    42

    Default Re: Error after delete uploaded upgrade zip

    So that little script will fix permissions throughout all of sugar? If so that's pretty handy my friend

  5. #5
    Chris_C's Avatar
    Chris_C is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Connecticut
    Posts
    227

    Default Re: Error after delete uploaded upgrade zip

    Quote Originally Posted by graphics View Post
    So that little script will fix permissions throughout all of sugar? If so that's pretty handy my friend
    Yes - The reason I had to write this script is because it's meant to solve the problem of running on a shared hosting account. Bascially, the Sugar developers neglected to include the proper code for adapting file and ownership permissions to be compatible with the most popular shared linux hosting in the world - CentOS / Red Hat Enterprise Linux. This code solves that problem by setting the file permissions Sugar uses, when creating/writing files, to the correct values.

    However, if you are running on a dedicated linux server, you should be fine already. Sugar was more or less developed to run correctly, out of the box, on a dedicated server.

    That said, I've had no errors here, yet, running Sugar on a linux shared hosting account - running on CentOS/Red Hat.

    Give the script a run, then work in your sugar instance 30 days, and report back your results !
    Last edited by Chris_C; 2012-03-10 at 07:06 AM. Reason: details, clarity

  6. #6
    svdkar is offline Junior Member
    Join Date
    Oct 2011
    Posts
    6

    Default Re: Error after delete uploaded upgrade zip

    Quote Originally Posted by Chris_C View Post
    It's meant for a shared hosting account which has less free reign than code running on a dedicated server.

    No errors here, yet.

    Give it a run, then work in your sugar instance 30 days, and report back your results !
    It sure fixed my permissions :-) Great script, but I still have the same error

    Fatal error: Call to undefined function getVersionedScript() in /hermes/bosweb/web137/b1373/ipg.newwaypublisherscom/TEST/CRM/modules/UpgradeWizard/upload.php on line 282

  7. #7
    Chris_C's Avatar
    Chris_C is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Connecticut
    Posts
    227

    Default Re: Error after delete uploaded upgrade zip

    Quote Originally Posted by svdkar View Post
    It sure fixed my permissions :-) Great script, but I still have the same error

    Fatal error: Call to undefined function getVersionedScript() in /hermes/bosweb/web137/b1373/ipg.newwaypublisherscom/TEST/CRM/modules/UpgradeWizard/upload.php on line 282
    Try this.
    Edit the file '/hermes/bosweb/web137/b1373/ipg.newwaypublisherscom/TEST/CRM/modules/UpgradeWizard/upload.php'.
    Paste this on line 53 (which is a blank line):
    Code:
    require_once('include/utils.php');
    Save the file.
    Try your upgrade again.
    Report back and let us know the results!

  8. #8
    svdkar is offline Junior Member
    Join Date
    Oct 2011
    Posts
    6

    Default Re: Error after delete uploaded upgrade zip

    Quote Originally Posted by Chris_C View Post
    Try this.
    Edit the file '/hermes/bosweb/web137/b1373/ipg.newwaypublisherscom/TEST/CRM/modules/UpgradeWizard/upload.php'.
    Paste this on line 53 (which is a blank line):
    Code:
    require_once('include/utils.php');
    Save the file.
    Try your upgrade again.
    Report back and let us know the results!
    Hi Chris,

    Unfortunately this did not help :-(



    Fatal error: Call to undefined function getVersionedScript() in /hermes/bosweb/web137/b1373/ipg.newwaypublisherscom/TEST/CRM/modules/UpgradeWizard/upload.php on line 282

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 2010-07-28, 04:37 PM
  2. Replies: 1
    Last Post: 2008-08-05, 12:42 PM
  3. UPGRADE 4.5.0h to 4.5.1: UpgradeWizard - ERROR: no file uploaded!
    By creaware in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-02-13, 12:24 AM
  4. Upgrade patch 4.0.0 to 4.0.1 uploaded but not installed
    By andrews501 in forum General Discussion
    Replies: 0
    Last Post: 2006-01-31, 11:47 AM
  5. Deleted Note doesn't delete uploaded file
    By kirkland in forum General Discussion
    Replies: 3
    Last Post: 2005-05-31, 05:25 PM

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
  •