Jump to content

Upgrade to v4 Failed!


Recommended Posts

Posted

I've logged a support ticket about this, but not knowing how long that will take, and with our forum completely offline for the duration, I thought I'd post the problem here too, in case it's something the community can help with.

Basically, after uploading all the files for v4.3.4 via FTP, and navigating to /admin/upgrade/, I'm presented with the following fatal PHP error:

Quote

Parse error: syntax error, unexpected '.' in /path/to/public_html/forums/system/Db/Db.php on line 508

I've re-uploaded the files using the 'replace if newer/different' option, in case something failed to upload properly, but this made no difference. I'm currently in the process of re-uploading all files from scratch, but I suspect the outcome will be the same.

Anyone have any ideas?

Kev

Posted

 

44 minutes ago, Large Scale Planes said:

Parse error: syntax error, unexpected '.' in /path/to/public_html/forums/system/Db/Db.php on line 508

Did you check that single file what could be wrong on line 508?

Posted

 

17 minutes ago, Misi said:

 

Did you check that single file what could be wrong on line 508?

Yeah, I had a look, and line 508 looks like this:

$stmt->bind_param( ...$bind->get() );

I'm not familiar with any PHP syntax that starts with three dots, but I've discovered my server is running PHP 5.6, rather than the 7.1 I thought it was. I've just completed an upgrade to 7.2, and will now test to see if that was the issue. Back soon!

Kev

Posted

So, 6.5 hours later, the upgrade is finally done! I've come across the first of what I'm sure will be many minor problems, however. I've adjusted the behaviour of the return/enter key in the editor settings (from creating a new paragraph to going to the next line), but it appears not to have taken. A bug perhaps, or have I done something wrong?

Kev

Posted
5 hours ago, Large Scale Planes said:

$stmt->bind_param( ...$bind->get() );

I'm not familiar with any PHP syntax that starts with three dots,

It's the splat operator.

Posted
18 hours ago, Misi said:

It's the splat operator.

Thanks! Apparently it's compatible with PHP 5.6, which is what I thought was on my server before upgrading it to 7.2. Clearly, it was even earlier than that! Anyway, it's all working happily now.

Kev

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...