Ask, reply and learn. Join the community of Akaunting.
I got this syntax error
Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in /home/akalikoa/domains/onn.co.th/public_html/akaunting/index.php on line 24
before install
How can I fix it.
Thanks
Hello Jmod,
Can you please make sure your PHP version is 5.6.4 or higher?
Regards
Thanks Denis,
My hosting people was update PHP version but I found another problem.
is it still PHP version issue?
Regards,
in VerifyCsrfToken.php (line 68)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 TrustProxies.php (line 56)at TrustProxies->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 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 ValidatePostSize.php (line 27)at ValidatePostSize->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 Request.php (line 111)at Request->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 28)
I used to have those errors about tokens (I think) it was when had several browsers and logins opened. If it is so, just open a private browser tab and that would be cleared.
I'm getting the following error when I try to install:
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /home2/mydomain/accounting.mydomainname.com/index.php on line 17
I'm running php 7.3.6
Showing 1 to 5 of 5 discussions