Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Parse Error , before install

Jmod Penn   ( User )

Commented 6 years ago

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


Denis Dulici   ( Admin )

Commented 6 years ago

Hello Jmod,


Can you please make sure your PHP version is 5.6.4 or higher?


Regards

Jmod Penn   ( User )

Commented 6 years ago

Thanks Denis,

My hosting people was update PHP version but I found another problem.

is it still PHP version issue?

Regards,


(1/1) TokenMismatchException


 


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)

Sebastian Di Luise   ( User )

Commented 6 years ago

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.

Kevin   ( User )

Commented 3 years ago

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

Please login or register to leave a response.

Showing 1 to 5 of 5 discussions