Home Forums Support Error when accepting terms

This topic contains 13 replies, has 4 voices, and was last updated by  moramo 3 weeks, 2 days ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #14207

    wammbe
    Participant

    Hi,

    I just updated my self-hosted ninja with the help of softaculous. I get 2 checkboxes for accepting the terms. When I try to accept them, I get the folowing errors.
    What is the problem?
    Ninja version 4.4.3
    PHP 7.0.30

    Whoops, looks like something went wrong.
    (3/3) QueryException
    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'accepted_terms_version' in 'field list' (SQL: update <code>users</code> set <code>updated_at</code> = 2018-05-31 07:35:05, <code>accepted_terms_version</code> = 1.0.1, <code>accepted_terms_timestamp</code> = 2018-05-31 07:35:05, <code>accepted_terms_ip</code> = 78.20.45.194 where <code>id</code> = 1)
    
    in Connection.php (line 647)
    at Connection->runQueryCallback('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1), object(Closure))
    in Connection.php (line 607)
    at Connection->run('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1), object(Closure))
    in Connection.php (line 477)
    at Connection->affectingStatement('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1))
    in Connection.php (line 416)
    at Connection->update('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1))
    in Builder.php (line 2147)
    at Builder->update(array('updated_at' => '2018-05-31 07:35:05', 'accepted_terms_version' => '1.0.1', 'accepted_terms_timestamp' => '2018-05-31 07:35:05', 'accepted_terms_ip' => '78.20.45.194'))
    in Builder.php (line 759)
    at Builder->update(array('updated_at' => '2018-05-31 07:35:05', 'accepted_terms_version' => '1.0.1', 'accepted_terms_timestamp' => '2018-05-31 07:35:05', 'accepted_terms_ip' => '78.20.45.194'))
    in Model.php (line 595)
    at Model->performUpdate(object(Builder))
    in Model.php (line 515)
    at Model->save()
    in UserController.php (line 403)
    at UserController->acceptTerms()
    at call_user_func_array(array(object(UserController), 'acceptTerms'), array())
    in Controller.php (line 55)
    at Controller->callAction('acceptTerms', array())
    in ControllerDispatcher.php (line 44)
    at ControllerDispatcher->dispatch(object(Route), object(UserController), 'acceptTerms')
    in Route.php (line 203)
    at Route->runController()
    in Route.php (line 160)
    at Route->run()
    in Router.php (line 572)
    at Router->Illuminate\Routing\{closure}(object(Request))
    in Pipeline.php (line 30)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Authenticate.php (line 122)
    at Authenticate->handle(object(Request), object(Closure), 'user')
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in DatabaseLookup.php (line 21)
    at DatabaseLookup->handle(object(Request), object(Closure), 'user')
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in StartupCheck.php (line 234)
    at StartupCheck->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in QueryLogging.php (line 32)
    at QueryLogging->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in DuplicateSubmissionCheck.php (line 41)
    at DuplicateSubmissionCheck->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in TransformsRequest.php (line 30)
    at TransformsRequest->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in VerifyCsrfToken.php (line 65)
    at VerifyCsrfToken->handle(object(Request), object(Closure))
    in VerifyCsrfToken.php (line 44)
    at VerifyCsrfToken->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in ShareErrorsFromSession.php (line 49)
    at ShareErrorsFromSession->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in StartSession.php (line 64)
    at StartSession->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in AddQueuedCookiesToResponse.php (line 37)
    at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in EncryptCookies.php (line 59)
    at EncryptCookies->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Pipeline.php (line 102)
    at Pipeline->then(object(Closure))
    in Router.php (line 574)
    at Router->runRouteWithinStack(object(Route), object(Request))
    in Router.php (line 533)
    at Router->dispatchToRoute(object(Request))
    in Router.php (line 511)
    at Router->dispatch(object(Request))
    in Kernel.php (line 176)
    at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
    in Pipeline.php (line 30)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Debugbar.php (line 51)
    at Debugbar->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in CheckForMaintenanceMode.php (line 46)
    at CheckForMaintenanceMode->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in HandlePreflight.php (line 46)
    at HandlePreflight->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Pipeline.php (line 102)
    at Pipeline->then(object(Closure))
    in Kernel.php (line 151)
    at Kernel->sendRequestThroughRouter(object(Request))
    in Kernel.php (line 116)
    at Kernel->handle(object(Request))
    in index.php (line 51)
    (2/3) PDOException
    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'accepted_terms_version' in 'field list'
    
    in PDOConnection.php (line 79)
    at PDOConnection->prepare('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?')
    in Connection.php (line 470)
    at Connection->Illuminate\Database\{closure}('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1))
    in Connection.php (line 640)
    at Connection->runQueryCallback('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1), object(Closure))
    in Connection.php (line 607)
    at Connection->run('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1), object(Closure))
    in Connection.php (line 477)
    at Connection->affectingStatement('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1))
    in Connection.php (line 416)
    at Connection->update('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1))
    in Builder.php (line 2147)
    at Builder->update(array('updated_at' => '2018-05-31 07:35:05', 'accepted_terms_version' => '1.0.1', 'accepted_terms_timestamp' => '2018-05-31 07:35:05', 'accepted_terms_ip' => '78.20.45.194'))
    in Builder.php (line 759)
    at Builder->update(array('updated_at' => '2018-05-31 07:35:05', 'accepted_terms_version' => '1.0.1', 'accepted_terms_timestamp' => '2018-05-31 07:35:05', 'accepted_terms_ip' => '78.20.45.194'))
    in Model.php (line 595)
    at Model->performUpdate(object(Builder))
    in Model.php (line 515)
    at Model->save()
    in UserController.php (line 403)
    at UserController->acceptTerms()
    at call_user_func_array(array(object(UserController), 'acceptTerms'), array())
    in Controller.php (line 55)
    at Controller->callAction('acceptTerms', array())
    in ControllerDispatcher.php (line 44)
    at ControllerDispatcher->dispatch(object(Route), object(UserController), 'acceptTerms')
    in Route.php (line 203)
    at Route->runController()
    in Route.php (line 160)
    at Route->run()
    in Router.php (line 572)
    at Router->Illuminate\Routing\{closure}(object(Request))
    in Pipeline.php (line 30)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Authenticate.php (line 122)
    at Authenticate->handle(object(Request), object(Closure), 'user')
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in DatabaseLookup.php (line 21)
    at DatabaseLookup->handle(object(Request), object(Closure), 'user')
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in StartupCheck.php (line 234)
    at StartupCheck->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in QueryLogging.php (line 32)
    at QueryLogging->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in DuplicateSubmissionCheck.php (line 41)
    at DuplicateSubmissionCheck->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in TransformsRequest.php (line 30)
    at TransformsRequest->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in VerifyCsrfToken.php (line 65)
    at VerifyCsrfToken->handle(object(Request), object(Closure))
    in VerifyCsrfToken.php (line 44)
    at VerifyCsrfToken->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in ShareErrorsFromSession.php (line 49)
    at ShareErrorsFromSession->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in StartSession.php (line 64)
    at StartSession->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in AddQueuedCookiesToResponse.php (line 37)
    at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in EncryptCookies.php (line 59)
    at EncryptCookies->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Pipeline.php (line 102)
    at Pipeline->then(object(Closure))
    in Router.php (line 574)
    at Router->runRouteWithinStack(object(Route), object(Request))
    in Router.php (line 533)
    at Router->dispatchToRoute(object(Request))
    in Router.php (line 511)
    at Router->dispatch(object(Request))
    in Kernel.php (line 176)
    at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
    in Pipeline.php (line 30)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Debugbar.php (line 51)
    at Debugbar->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in CheckForMaintenanceMode.php (line 46)
    at CheckForMaintenanceMode->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in HandlePreflight.php (line 46)
    at HandlePreflight->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Pipeline.php (line 102)
    at Pipeline->then(object(Closure))
    in Kernel.php (line 151)
    at Kernel->sendRequestThroughRouter(object(Request))
    in Kernel.php (line 116)
    at Kernel->handle(object(Request))
    in index.php (line 51)
    (1/3) PDOException
    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'accepted_terms_version' in 'field list'
    
    in PDOConnection.php (line 77)
    at PDO->prepare('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array())
    in PDOConnection.php (line 77)
    at PDOConnection->prepare('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?')
    in Connection.php (line 470)
    at Connection->Illuminate\Database\{closure}('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1))
    in Connection.php (line 640)
    at Connection->runQueryCallback('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1), object(Closure))
    in Connection.php (line 607)
    at Connection->run('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1), object(Closure))
    in Connection.php (line 477)
    at Connection->affectingStatement('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1))
    in Connection.php (line 416)
    at Connection->update('update <code>users</code> set <code>updated_at</code> = ?, <code>accepted_terms_version</code> = ?, <code>accepted_terms_timestamp</code> = ?, <code>accepted_terms_ip</code> = ? where <code>id</code> = ?', array('2018-05-31 07:35:05', '1.0.1', '2018-05-31 07:35:05', '78.20.45.194', 1))
    in Builder.php (line 2147)
    at Builder->update(array('updated_at' => '2018-05-31 07:35:05', 'accepted_terms_version' => '1.0.1', 'accepted_terms_timestamp' => '2018-05-31 07:35:05', 'accepted_terms_ip' => '78.20.45.194'))
    in Builder.php (line 759)
    at Builder->update(array('updated_at' => '2018-05-31 07:35:05', 'accepted_terms_version' => '1.0.1', 'accepted_terms_timestamp' => '2018-05-31 07:35:05', 'accepted_terms_ip' => '78.20.45.194'))
    in Model.php (line 595)
    at Model->performUpdate(object(Builder))
    in Model.php (line 515)
    at Model->save()
    in UserController.php (line 403)
    at UserController->acceptTerms()
    at call_user_func_array(array(object(UserController), 'acceptTerms'), array())
    in Controller.php (line 55)
    at Controller->callAction('acceptTerms', array())
    in ControllerDispatcher.php (line 44)
    at ControllerDispatcher->dispatch(object(Route), object(UserController), 'acceptTerms')
    in Route.php (line 203)
    at Route->runController()
    in Route.php (line 160)
    at Route->run()
    in Router.php (line 572)
    at Router->Illuminate\Routing\{closure}(object(Request))
    in Pipeline.php (line 30)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Authenticate.php (line 122)
    at Authenticate->handle(object(Request), object(Closure), 'user')
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in DatabaseLookup.php (line 21)
    at DatabaseLookup->handle(object(Request), object(Closure), 'user')
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in StartupCheck.php (line 234)
    at StartupCheck->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in QueryLogging.php (line 32)
    at QueryLogging->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in DuplicateSubmissionCheck.php (line 41)
    at DuplicateSubmissionCheck->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in TransformsRequest.php (line 30)
    at TransformsRequest->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in VerifyCsrfToken.php (line 65)
    at VerifyCsrfToken->handle(object(Request), object(Closure))
    in VerifyCsrfToken.php (line 44)
    at VerifyCsrfToken->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in ShareErrorsFromSession.php (line 49)
    at ShareErrorsFromSession->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in StartSession.php (line 64)
    at StartSession->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in AddQueuedCookiesToResponse.php (line 37)
    at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in EncryptCookies.php (line 59)
    at EncryptCookies->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Pipeline.php (line 102)
    at Pipeline->then(object(Closure))
    in Router.php (line 574)
    at Router->runRouteWithinStack(object(Route), object(Request))
    in Router.php (line 533)
    at Router->dispatchToRoute(object(Request))
    in Router.php (line 511)
    at Router->dispatch(object(Request))
    in Kernel.php (line 176)
    at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
    in Pipeline.php (line 30)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Debugbar.php (line 51)
    at Debugbar->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in CheckForMaintenanceMode.php (line 46)
    at CheckForMaintenanceMode->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in HandlePreflight.php (line 46)
    at HandlePreflight->handle(object(Request), object(Closure))
    in Pipeline.php (line 148)
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    in Pipeline.php (line 53)
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    in Pipeline.php (line 102)
    at Pipeline->then(object(Closure))
    in Kernel.php (line 151)
    at Kernel->sendRequestThroughRouter(object(Request))
    in Kernel.php (line 116)
    at Kernel->handle(object(Request))
    in index.php (line 51)
    #14208

    Hillel Coren
    Keymaster

    Most likely the database migrations haven’t run.

    What do you see if you view /update (or /public/update)

    #14209

    wammbe
    Participant

    /public/update:
    The Process class relies on proc_open, which is not available on your PHP installation.

    #14210

    Hillel Coren
    Keymaster

    A common error with shared hosting is “open_basedir restriction in effect”, if you see this you’ll need to either temporarily modify your open_basedir settings or run the update from the command line.

    http://docs.invoiceninja.com/en/latest/update.html

    #14211

    wammbe
    Participant

    I’m sorry but that sounds like chineese for me… The url you send me, said the same als you but I can’t find how te do that?

    #14212

    Hillel Coren
    Keymaster

    I think you’ll need to ask your webhost for help with the open_basedir setting.

    #14213

    wammbe
    Participant

    Ok! I will email them. Thanks!

    #15160

    patman
    Participant

    Hi,
    I get the same error after upgrading from 4.2.2 to 4.4.4. I have used SOFTACULOUS to update.
    I am using a shared hosting.
    I have first duplicated the invoiceninja installation (via softaculous) and then performed the update on this version.

    the results from /public/update
    is_executable():open_basedir restriction in effect. File(/usr/local/php70/bin/php) is not within the allowed path(s): (/home/patrikt237/domains/slimvanhetbegin.eu/:/home/patrikt237/domains/include/:/etc/pki/tls/certs:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php70/lib/php/)

    Please advice
    Patrick

    #15162

    Hillel Coren
    Keymaster

    You’ll need to either SSH into the server and manually run the database migrations or temporarily change your web server settings.

    #15165

    patman
    Participant

    ssh seems not to be an option. I can’t ssh
    What web sever settings need to be changed?

    #15169

    Hillel Coren
    Keymaster

    You need to either disable or reconfigure the open_basedir restriction

    #15172

    patman
    Participant

    Is this something that can be done only for my installation of Invoiceninja? Or is this something on server level?

    #15173

    Hillel Coren
    Keymaster

    It’s at the server level.

    Enabling SSH would probably be easier.

    #17080

    moramo
    Participant

    i am having this same issue did any one manage to fix it?

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.

Posted in: