On the template step, I get this
Notice: Undefined index: ucwords in D:\Hosting\4456506\html\forum\Sources\Load.php on line 2001
Fatal error: Function name must be a string in D:\Hosting\4456506\html\forum\Sources\Load.php on line 2001
I went to the file and I got this
$context['languages'][$matches[1]] =
array('name' => $smcFunc['ucwords'](strtr($matches[1], array('_' => ' '))),
'selected' => false,
'filename' => $matches[1],
'location' => $language_dir . '/index.' . $matches[1] . '.php',
);
Any clue why it wont upgrade?
Thanks
Try starting the upgrade again and see if you get past this point.
I have almost the same problem. I try to upgrade from 1.1.11 to 2.0 RC2, and after the database changes step, i get the error:
"Notice: Undefined index: ucwords in /home/org/historia/www/interactief/Sources/Load.php on line 2002
Fatal error: Function name must be a string in /home/org/historia/www/interactief/Sources/Load.php on line 2002"
So the difference is the line number. I tried starting the upgrade again, but it didn't solve anything. Any solutions?
EDIT: weird, right after I posted my question here, the problem simply disappeared.
Welcome to SMF. Glad it fixed itself! ;)
I wasn't so lucky when upgrading from 1.1.15 to 2.0 RC5, but I found this in upgrade.php:
// Are we going to be mimic'ing SSI at this point?
if (isset($_GET['ssi']))
{
require_once($sourcedir . '/Subs.php');
require_once($sourcedir . '/Errors.php');
require_once($sourcedir . '/Load.php');
require_once($sourcedir . '/Security.php');
require_once($sourcedir . '/Subs-Package.php');
loadUserSettings();
loadPermissions();
}
And I was able to fix the problem by adding reloadSettings(); before loadUserSettings();
Great, I'll mark this as solved, seeing as it is an old topic, to keep it off our support queue.
Quote from: ke on February 26, 2011, 11:58:57 PM
I wasn't so lucky when upgrading from 1.1.15 to 2.0 RC5, but I found this in upgrade.php:
// Are we going to be mimic'ing SSI at this point?
if (isset($_GET['ssi']))
{
require_once($sourcedir . '/Subs.php');
require_once($sourcedir . '/Errors.php');
require_once($sourcedir . '/Load.php');
require_once($sourcedir . '/Security.php');
require_once($sourcedir . '/Subs-Package.php');
loadUserSettings();
loadPermissions();
}
And I was able to fix the problem by adding reloadSettings(); before loadUserSettings();
Fwiw, I just ran into this same issue installing 2.0 Gold over top of 1.1.14
Adding
reloadSettings(); as noted by
ke resolved it for me also.
Thank you for sharing this. Are you also on a windows server?
I am using Linux/Apache