SMF Support > Install and Upgrade Help
Upgrade Error 1.1.4 -> 2.0
shadowskimmer:
I am trying to upgrade SMF 1.1.4 to 2.0 with the large updater.
However, while updating the database i run into an error (at 38%) and the log says as below:
--- Quote ---PHP Fatal error: Function name must be a string in /forum/Sources/Subs.php on line 3756
--- End quote ---
The line is as follows:
--- Quote --- // Step 2: Entities we left to letters, where applicable, lowercase.
$words = un_htmlspecialchars($smcFunc['strtolower']($words));
--- End quote ---
If I comment that line out it all runs on smoothly, however i don't know if this will have any impact on the result in this case. What would be the "real" solution for this problem?
The system is running on Windows Server 2008 with a FastCGI php installation.
Regards
Shadowskimmer
JimM:
Make sure your FTP client overwrote all the forum files. Are you really upgrading from 1.1.4 or 1.1.14?
Bill St. Clair:
I changed the line to the following, and it appears to be working:
--- Code: --- $words = un_htmlspecialchars(strtolower($words));
--- End code ---
JimM:
Marking this one as solved as the OP has evidently abandoned the topic.
Armada:
My apologies for replying to a 'solved' thread.
I'm in the middle of testing an upgrade from 1.0.7 to 2.2 and came up with exactly the same Fatal Error as the original poster.
I've now modified the Subs.php file as directed above so I'll see if it works (I have to restore a 4Gb database first though, so it could take some time).
Thanks.
Navigation
[0] Message Index
[#] Next page
Go to full version