Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13273

[Updating 3.0.12 -> 3.1.0] SYNTAX ERROR, UNEXPECTED 'CASE' (T_CASE) IN \INCLUDES\FUNCTIONS_USER.PHP ON LINE 568

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Invalid
    • 3.1.0
    • 3.1.2-RC1
    • Installation system
    • None

    Description

      While updating from 3.0.12 to 3.1.0 using the "Automatic Installer" method, I got to the part where you need to click "Continue updating database". Several times the installer had me click the button, so I assume it got part way through database updates before I saw this error message: http://i.imgur.com/o4rjRGd.png

      The "Continue database updates" button is gone, replaced with the above error message, so I can't continue the update.

      I'll copy/past it here so it becomes searchable:

      PARSE ERROR: SYNTAX ERROR, UNEXPECTED 'CASE' (T_CASE) IN D:\WAMP\WWW\GEN\INCLUDES\FUNCTIONS_USER.PHP ON LINE 568
      CALL STACK

      1. TIME MEMORY FUNCTION LOCATION
        1 0.0020 316536 {main}

        ( ) ..\database_update.php:0
        2 7.2924 11752168 phpbb\db\migrator->update( ) ..\database_update.php:206
        3 7.3024 11765320 phpbb\db\migrator->try_apply( ) ..\migrator.php:174
        4 7.3324 11768152 phpbb\db\migrator->process_data_step( ) ..\migrator.php:294
        5 7.3944 12770144 phpbb\db\migrator->run_step( ) ..\migrator.php:456
        6 7.3944 12770904 call_user_func_array:

        {D:\wamp\www\GEN\phpbb\db\migrator.php:510}

        ( ) ..\migrator.php:510
        7 7.3944 12771640 phpbb\db\migration\data\v310\bot_update->update_bots( ) ..\migrator.php:510

      I haven't tried to redo this update yet. I'll do that after posting this bug and report back if it works. Just wanted to throw this up here in case it happens again to me or someone else.

      Thanks!

      Attachments

        Activity

          People

            nicofuma nicofuma
            GregariousJB GregariousJB [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: