awhmuser Posted March 7 Share Posted March 7 Hello guys, I had to move my folder structure during some problems with my host and I backup and restored my zip with whmcs to the new folder and also the database but now I receive : I tried since hours to fix that somehow but I cannot find a solution for this since everything is the same only the folder structure changed completly from like /var/www/vhosts/main.domain/placeholder.domain to /var/www/vhosts/placeholder.domain/httpdocs/ I would be really thankful if someone could help me out with that. thank you! WHMCS\Exception: Could not determine admin user id in /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Admin.php:0 Stack trace: #0 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Admin/Controller/HomepageController.php(0): WHMCS\Admin->hasPermission() #1 [internal function]: WHMCS\Admin\Controller\HomepageController->index() #2 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/CallableHandler.php(26): call_user_func_array() #3 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/fast-route/src/FastRoute.php(96): Middlewares\Utils\CallableHandler::execute() #4 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/HandleProcessor.php(0): Middlewares\FastRoute->process() #5 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\HandleProcessor->_process() #6 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\HandleProcessor->process() #7 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #8 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #9 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): Middlewares\Utils\Delegate->process() #10 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Admin\ApplicationSupport\Route\Middleware\Assent->process() #11 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #12 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #13 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): Middlewares\Utils\Delegate->process() #14 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Security/Middleware/Authorization.php(0): WHMCS\Security\Middleware\Authorization->process() #15 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/AbstractProxyMiddleware.php(0): WHMCS\Security\Middleware\Authorization->process() #16 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\AbstractProxyMiddleware->_process() #17 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\AbstractProxyMiddleware->process() #18 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #19 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #20 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): Middlewares\Utils\Delegate->process() #21 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/AbstractProxyMiddleware.php(0): WHMCS\Admin\ApplicationSupport\Route\Middleware\Authentication->process() #22 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\AbstractProxyMiddleware->_process() #23 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\AbstractProxyMiddleware->process() #24 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #25 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #26 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): Middlewares\Utils\Delegate->process() #27 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Admin\ApplicationSupport\Route\Middleware\DirectoryValidation->process() #28 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #29 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #30 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendPsr7Response.php(0): Middlewares\Utils\Delegate->process() #31 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendPsr7Response.php(0): WHMCS\Route\Middleware\BackendPsr7Response->_process() #32 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\BackendPsr7Response->process() #33 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #34 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #35 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process() #36 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendDispatch.php(0): Middlewares\Utils\Dispatcher->dispatch() #37 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\BackendDispatch->_process() #38 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\BackendDispatch->process() #39 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #40 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #41 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutePathMatch.php(0): Middlewares\Utils\Delegate->process() #42 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutePathMatch->_process() #43 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutePathMatch->process() #44 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #45 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #46 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/WhitelistFilter.php(0): Middlewares\Utils\Delegate->process() #47 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): WHMCS\Route\Middleware\WhitelistFilter->_process() #48 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\WhitelistFilter->process() #49 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #50 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #51 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableClientModuleRequest.php(0): Middlewares\Utils\Delegate->process() #52 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableClientModuleRequest->_process() #53 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableClientModuleRequest->process() #54 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #55 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #56 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableAdminRequestUri.php(0): Middlewares\Utils\Delegate->process() #57 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableAdminRequestUri->_process() #58 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableAdminRequestUri->process() #59 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #60 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #61 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestUri.php(0): Middlewares\Utils\Delegate->process() #62 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestUri->_process() #63 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestUri->process() #64 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #65 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #66 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestQueryUri.php(0): Middlewares\Utils\Delegate->process() #67 /var/www/vhosts/placeholder.domain/httpdocs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestQueryUri->_process() #68 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestQueryUri->process() #69 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}() #70 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func() #71 /var/www/vhosts/placeholder.domain/httpdocs/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process() #72 /var/www/vhosts/placeholder.domain/httpdocs/admin/index.php(0): Middlewares\Utils\Dispatcher->dispatch() #73 {main} 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.