API ERROR

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krustyx
    Member
    • Jul 2007
    • 85

    API ERROR

    Ugrading from 4.2.2 to the latest version

    This is what I get from trying to upgrade from the console

    Upgrading to 5.1.0 Alpha 1
    ----------------------------------
    Step 10 - <b>API Error</b><br><b>Error:</b> invalid_data<br>

    And this is from the browser upgrade

    Unexpected Text:
    <?xml version="1.0" encoding="windows-1252"?> <b>API Error</b><br><b>Error:</b> invalid_data<br>

  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74150

    #2
    Put your site in debug mode and rerun the upgrader so we can see the real error.
    Enable debug mode on your site. Follow these instructions.

    1. Open your /config.php file and find the following line:
    Code:
      [COLOR=#000000][FONT=Helvetica][SIZE=14px]$config['debug'] = false;[/SIZE][/FONT][/COLOR]
      [COLOR=#000000][FONT=Helvetica][SIZE=14px][/SIZE][/FONT][/COLOR]


    2. Change this line to:
    Code:
      [COLOR=#000000][FONT=Helvetica][SIZE=14px]$config['debug'] = true;[/SIZE][/FONT][/COLOR]
      [COLOR=#000000][FONT=Helvetica][SIZE=14px][/SIZE][/FONT][/COLOR]


    3. Save the file and upload it to your server.

    4. Open the /core/includes/config.php file and find the following line:
    Code:
      [COLOR=#000000][FONT=Helvetica][SIZE=14px]// $config['Misc']['debug'] = true;[/SIZE][/FONT][/COLOR]
      [COLOR=#000000][FONT=Helvetica][SIZE=14px][/SIZE][/FONT][/COLOR]


    5. Change it to:
    Code:
      [COLOR=#000000][FONT=Helvetica][SIZE=14px]$config['Misc']['debug'] = true;[/SIZE][/FONT][/COLOR]
      [COLOR=#000000][FONT=Helvetica][SIZE=14px][/SIZE][/FONT][/COLOR]


    6. Save and upload the file to your server.

    Reload the page you had the error on.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • krustyx
      Member
      • Jul 2007
      • 85

      #3
      Ok, I don't know what happened, but i retried the php -f upgrade.php and it went thru.

      But, there's something wrong

      Comment

      • krustyx
        Member
        • Jul 2007
        • 85

        #4
        I fixed everything, thanks

        Comment

        Related Topics

        Collapse

        Working...