Jump to content

Migration from old to newer server


Recommended Posts

I am in the process of moving to a newer server, but I am getting a 500 page error due to redis being enabled.

My host is handling the migration but I have no idea how to resolve this issue, I had a old contraints.php file saved with Redis turned off but switching file names around has no effect. I'm a little fish in a massive pool and I have no clue.

Link to comment
Share on other sites

@Ryan Ashbrook

This is the Redis error, I think I need to try to connect with FTP.

Quote

Backend fatal error: PHP Fatal error:  Uncaught BadMethodCallException in /home/prideofn/public_html/system/Redis/Redis.php:120\nStack trace:\n#0 /home/prideofn/public_html/system/Data/Store/Redis.php(50): IPS\\_Redis->connection('write')\n#1 /home/prideofn/public_html/system/Data/Store.php(42): IPS\\Data\\Store\\_Redis->__construct(Array)\n#2 /home/prideofn/public_html/system/Application/Application.php(190): IPS\\Data\\_Store::i()\n#3 /home/prideofn/public_html/system/Application/Application.php(161): IPS\\_Application::getStore()\n#4 /home/prideofn/public_html/system/Application/Application.php(228): IPS\\_Application::applications()\n#5 /home/prideofn/public_html/init.php(893) : eval()'d code(61): IPS\\_Application::appIsEnabled('linkedaccounts')\n#6 /home/prideofn/public_html/system/Dispatcher/Standard.php(314): IPS\\linkedaccounts_hook_la_getAccounts::loggedIn()\n#7 [internal function]: IPS\\Dispatcher\\_Standard->__destruct()\n#8 {main}\n  thrown in /home/prideofn/public_html/system/Redis/Redis.php on line 120\n, referer: https://prideofnottingham.co.uk/

This is another error thrown for another site, it only shows via the ACP which logs in as a guest without a login box ever coming up.

Quote

ErrorException: count(): Parameter must be an array or an object that implements Countable (2)
#0 [internal function]: IPS\IPS::errorHandler(2, 'count(): Parame...', '/home/poetryar/...', 1054, Array)
#1 /home/poetryar/public_html/system/Http/Url.php(1054): count('admin')
#2 /home/poetryar/public_html/init.php(434) : eval()'d code(95): IPS\Http\_Url->examineFurl(Array, 'admin/', Array, NULL)
#3 /home/poetryar/public_html/init.php(434) : eval()'d code(21): IPS\Http\cms_hook_Url->getFriendlyUrlData()
#4 /home/poetryar/public_html/system/Login/Login.php(346): IPS\Helpers\hook26->values()
#5 /home/poetryar/public_html/applications/core/modules/admin/system/login.php(52): IPS\_Login->authenticate()
#6 /home/poetryar/public_html/system/Dispatcher/Controller.php(96): IPS\core\modules\admin\system\_login->manage()
#7 /home/poetryar/public_html/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute()
#8 /home/poetryar/public_html/admin/index.php(13): IPS\_Dispatcher->run()
#9 {main}

 

Link to comment
Share on other sites

This is driving me mad, I don't know how you good folks manage to do it for a living (even with your level of knowledge).

I managed to disabled all the plugins, then boom a new error. lol

Quote

ErrorException: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? (2)
#0 /home/poetryar/public_html/system/Output/Javascript/Javascript.php(1057): IPS\IPS::errorHandler(2, '"continue" targ...', '/home/poetryar/...', 227, Array)
#1 /home/poetryar/public_html/system/Output/Javascript/Javascript.php(1057): require_once()
#2 /home/poetryar/public_html/system/Output/Javascript/Javascript.php(935): IPS\Output\_Javascript::_minify('//     Undersco...')
#3 /home/poetryar/public_html/system/Output/Javascript/Javascript.php(783): IPS\Output\_Javascript::_writeJavascriptFromResultset(Array, 'library.js', 'global', 'root')
#4 /home/poetryar/public_html/system/Output/Output.php(471): IPS\Output\_Javascript::compile('global', 'root', 'library.js')
#5 /home/poetryar/public_html/system/Output/Output.php(245): IPS\_Output::_getJavascriptFileObject('global', 'root', 'library.js')
#6 /home/poetryar/public_html/system/Dispatcher/Standard.php(74): IPS\_Output->js('library.js')
#7 /home/poetryar/public_html/init.php(434) : eval()'d code(8): IPS\Dispatcher\_Standard::baseJs()
#8 /home/poetryar/public_html/system/Dispatcher/Admin.php(91): IPS\Dispatcher\featuredcontent_hook_includeJSandCSS::baseJs()
#9 /home/poetryar/public_html/system/Dispatcher/Dispatcher.php(86): IPS\Dispatcher\_Admin->init()
#10 /home/poetryar/public_html/admin/index.php(13): IPS\_Dispatcher::i()
#11 {main}

The first site is fine since disababling Redit.

Thank you so much for everyone's help so far. ❤

Link to comment
Share on other sites

  • Recently Browsing   0 members

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