xister Posted May 22, 2017 Share Posted May 22, 2017 (edited) Hello, after update to 7.2.1 we get a Error 500 on the frontend. Backend is working well, but our frontend isn´t working... Error: exception 'Whoops\Exception\ErrorException' with message 'file(english.php): failed to open stream: No such file or directory' in /var/www/virtual/domain.tld/portal/htdocs/lang/langupdate.php:11 Stack trace: #0 [internal function]: Whoops\Run->handleError(2, 'file(english.ph...', '/var/www/virtua...', 11, Array) #1 /var/www/virtual/domain.tld/portal/htdocs/lang/langupdate.php(11): file('english.php') #2 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Language/Loader/WhmcsLoader.php(0): unknown() #3 /var/www/virtual/domain.tld/portal/htdocs/vendor/symfony/translation/Translator.php(416): WHMCS\Language\Loader\WhmcsLoader->load('/var/www/virtua...', 'langupdate', 'messages') #4 /var/www/virtual/domain.tld/portal/htdocs/vendor/symfony/translation/Translator.php(427): Symfony\Component\Translation\Translator->doLoadCatalogue('langupdate') #5 /var/www/virtual/domain.tld/portal/htdocs/vendor/symfony/translation/Translator.php(312): Symfony\Component\Translation\Translator->loadFallbackCatalogues('override_langup...') #6 /var/www/virtual/domain.tld/portal/htdocs/vendor/symfony/translation/Translator.php(292): Symfony\Component\Translation\Translator->initializeCatalogue('override_langup...') #7 /var/www/virtual/domain.tld/portal/htdocs/vendor/symfony/translation/Translator.php(248): Symfony\Component\Translation\Translator->loadCatalogue('override_langup...') #8 /var/www/virtual/domain.tld/portal/htdocs/vendor/symfony/translation/Translator.php(209): Symfony\Component\Translation\Translator->getCatalogue(NULL) #9 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Language/AbstractLanguage.php(0): Symfony\Component\Translation\Translator->trans() #10 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Language/AbstractLanguage.php(0): WHMCS\Language\AbstractLanguage->getLanguageLocale() #11 /var/www/virtual/domain.tld/portal/htdocs/vendor/illuminate/support/Facades/Facade.php(215): WHMCS\Language\AbstractLanguage::getLocales() #12 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): Illuminate\Support\Facades\Facade::__callStatic('getLocales', Array) #13 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): WHMCS\ClientArea->outputWithoutExit() #14 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Http/Message/AbstractViewableResponse.php(0): WHMCS\ClientArea->getOutputContent() #15 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/CallableHandler.php(39): WHMCS\Http\Message\AbstractViewableResponse->getBody() #16 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/fast-route/src/FastRoute.php(96): Middlewares\Utils\CallableHandler::execute(Array, Array) #17 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Route/RouteServiceProvider.php(0): Middlewares\FastRoute->process() #18 [internal function]: WHMCS\Route\RouteServiceProvider->WHMCS\Route\{closure}(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #19 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/CallableHandler.php(26): call_user_func_array(Object(Closure), Array) #20 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/CallableMiddleware.php(37): Middlewares\Utils\CallableHandler::execute(Object(Closure), Array) #21 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/Dispatcher.php(76): Middlewares\Utils\CallableMiddleware->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #22 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #23 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #24 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableAdminRequestUri.php(0): Middlewares\Utils\Delegate->process() #25 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableAdminRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #26 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #27 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #28 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableClientModuleRequest.php(0): Middlewares\Utils\Delegate->process() #29 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableClientModuleRequest->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #30 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #31 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #32 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestUri.php(0): Middlewares\Utils\Delegate->process() #33 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #34 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #35 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #36 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestQueryUri.php(0): Middlewares\Utils\Delegate->process() #37 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestQueryUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #38 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #39 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #40 /var/www/virtual/domain.tld/portal/htdocs/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #41 /var/www/virtual/domain.tld/portal/htdocs/index.php(0): Middlewares\Utils\Dispatcher->dispatch() #42 {main} We´ve running php 5.6 and only updated the whmcs. greetings xister Edited May 23, 2017 by xister 0 Quote Link to comment Share on other sites More sharing options...
EsquioNet Posted May 22, 2017 Share Posted May 22, 2017 It seems that you missed some files in the update proccess. Try to restore them from backups 0 Quote Link to comment Share on other sites More sharing options...
xister Posted May 22, 2017 Author Share Posted May 22, 2017 It seems that you missed some files in the update proccess. Try to restore them from backups I´ve downloaded the full package and reuploaded them today, but the files like langupdate.php aren´t included in the 721 zip. 0 Quote Link to comment Share on other sites More sharing options...
furrymitn Posted May 22, 2017 Share Posted May 22, 2017 I´ve downloaded the full package and reuploaded them today, but the files like langupdate.php aren´t included in the 721 zip. I had the same issue - and found that the lang files were all identical, so I removed langupdate.php(based on it not being in the 7.2.1 full package). I also noted the following files had a version in them from 7.0.2, while the full update package had 7.2.1, so I copied from the full package, overwriting my local copy: downloads.php vendor/whmcs/whmcs-foundation/lib/Installer/Composer/Hooks/ComposerInstallerHook.php vendor/whmcs/whmcs-foundation/lib/Installer/Composer/Hooks/ComposerInstaller.php vendor/whmcs/whmcs-foundation/lib/Installer/Composer/Hooks/UpdateConfig.php 0 Quote Link to comment Share on other sites More sharing options...
xister Posted May 23, 2017 Author Share Posted May 23, 2017 I had the same issue - and found that the lang files were all identical, so I removed langupdate.php(based on it not being in the 7.2.1 full package). I can´t find this file. where you removed it? I also noted the following files had a version in them from 7.0.2, while the full update package had 7.2.1, so I copied from the full package, overwriting my local copy: downloads.php vendor/whmcs/whmcs-foundation/lib/Installer/Composer/Hooks/ComposerInstallerHook.php vendor/whmcs/whmcs-foundation/lib/Installer/Composer/Hooks/ComposerInstaller.php vendor/whmcs/whmcs-foundation/lib/Installer/Composer/Hooks/UpdateConfig.php I´ve copied the full 7.2.1 package several times (ascii and binary mode), but it doesn´t work 0 Quote Link to comment Share on other sites More sharing options...
KevinR Posted May 23, 2017 Share Posted May 23, 2017 I'm having a similar issue https://forum.whmcs.com/showthread.php?129043-v7-2-1-Errors/page2 , support took 3 days to reply, and their solution was to delete lang/langupdate.php Which didn't exist already, so that did not help my issue. My client area has been down for 5 days. Most of the admin area however works fine. 0 Quote Link to comment Share on other sites More sharing options...
xister Posted May 23, 2017 Author Share Posted May 23, 2017 Ok, i saw the lang/langupdate.php in my shell and deleted it. now everthing is running fine... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.