Any ideas please.
TRIED coming from 1.0.9 to 1.1b2
got some mysql error , line 972, about DB name. when i tried to login
never could get around it
so I deleted the entire thing
re-upped db backup
done a fill 1.1b2 install
old forum is there
i can login
i can access admin
naturally some the features/settings is off. Logo is gone
after looking around a bit I start go run through the settings...
Admin/Configuration/Layout
gets this error
Fatal error: Cannot redeclare class MarkRead_Controller in /home/(hosted_name)/public_html/sources/controllers
SOMETHING to note....
during install, was no settings.php file
install adopted the .bak version
Can anyone offer any ideas and help, please?
That's bad, some details on the errors could have helped identify the issue... :(
This is usually due to overwriting a 1.0 install with the 1.1 files, this leaves the Markasread.controller.php (present in v1.0) that contains the class MarkRead_Controller, the same name as the file MarkRead.controller.php (present in v1.1).
So the solution is: delete Markasread.controller.php.
I'm not sure we can easily deal with duplicate class names... we could use namespaces, but seems a bit too much for the moment to use namespaces on controllers. Or maybe not?
I fixed the error on 1460 in a pending PR, ignore it for now.
Seems like you still have the old file in your install ...
/home/account/public_html/sources/controllers/Markasread.controller.php on lin e 0
so delete that file since its not part of 1.1
My mistake: the file slipped into the package... :-[
Just delete /sources/controller/Markasread.controller.php
I wonder how the heck it could happen since the build is completely automated... :-\
My forum also logged the abovementioned error. Where can I look for the fix(es)? Is it related to 1460 of ManageThemes.controller.php?
That could be because... well, user_access_mentions is not set. :P
$user_access_mentions = \Util::unserialize($modSettings['user_access_mentions']);
into:
if (!empty($modSettings['user_access_mentions']))
{
$user_access_mentions = \Util::unserialize($modSettings['user_access_mentions']);
}
else
{
$user_access_mentions = array();
}