News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Error in updater

Started by Bigguy, November 13, 2018, 06:27:15 AM

Previous topic - Next topic

Bigguy

I am trying to update to the latest on GH right now and when running the upgrader I get this error.

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(0, 'unapproved_post', 1), (0, 'buddy_request', 1), (0, 'warn_any', 1), (0, '' at line 22
Anyone have any ideas how to solve this. I can not continue the update. This is on step 4: database changes.

Bigguy

This is were it stops:
Please be patient - this may take some time on large forums. The time elapsed increments from the server to show progress is being made!  Executing: "Adding support for alerts" (13 of 64)

Bigguy

I figured it out. In the file "upgrade_2-1_mysql.sql" on line "765,766" around there. There is an error. This line:

    (0, 'unapproved_attachment', 1)

Should be:

(0, 'unapproved_attachment', 1),

Update successful after changing this.

Advertisement: