Large Scale Planes Posted July 7, 2018 Posted July 7, 2018 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
Large Scale Planes Posted July 7, 2018 Author Posted July 7, 2018 Just to confirm, the full re-upload of all files made no difference, and I'm still seeing exactly the same error. Kev
Large Scale Planes Posted July 7, 2018 Author Posted July 7, 2018 I suspect I might have a PHP version issue, so I'm attempting to confirm and upgrade if possible. Kev
Misi Posted July 7, 2018 Posted July 7, 2018 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?
Large Scale Planes Posted July 7, 2018 Author Posted July 7, 2018 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
Large Scale Planes Posted July 7, 2018 Author Posted July 7, 2018 And indeed it was! Now I'm able to load the upgrade start page, but the configuration fails the memory test, so I'm going to have to deal with that before proceeding. Kev
Large Scale Planes Posted July 7, 2018 Author Posted July 7, 2018 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
Misi Posted July 7, 2018 Posted July 7, 2018 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.
Large Scale Planes Posted July 8, 2018 Author Posted July 8, 2018 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.