Install Error: Parse Error

This topic contains 4 replies, has 2 voices, and was last updated by  Mauricio Soares 7 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #379006

    Mauricio Soares
    Lifetime Member
    Post count: 81

    Hi,

    I’m come back to the project of a new instalation for my site in new host, and i had this issue:

    Parse error: syntax error, unexpected T_FUNCTION in /home/storage/9/0d/ca/caraguaweb/public_html/wp-content/plugins/geodirectory/geodirectory-functions/helper_functions.php on line 831

    The host that i working now is Locaweb, in Brasil: https://www.locaweb.com.br

    My new Site: http://caraguaweb.hospedagemdesites.ws ( in construction)
    Status: Ativo
    Plataforma: Linux CentOS 5 – 64 bits
    Versão PHP: 5.2
    Caminho físico (path): /home/caraguaweb/

    GeoDirectory was install for zip file downloaded from https://wordpress.org/plugins/geodirectory/ upload and instaled

    GeoDirectory plugin for wordpress.
    Versão 1.6.19 | Por GeoDirectory | Ver detalhes

    I just had the issue same in another try months ago: https://wpgeodirectory.com/support/topic/instalation-fail/

    #379143

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    it looks like the problem is the same of last time: https://wpgeodirectory.com/support/topic/instalation-fail/#post-363437

    That file seems to be truncated, did you check it?

    Let us know,

    Thanks

    #379329

    Mauricio Soares
    Lifetime Member
    Post count: 81

    Hi,

    This issue is solved. The problem was the version of the PHP.

    By default my host use the version 5.2, and Geodirectory need the version 5.3 or greater to work. With help of host support i change the PHP version to 5.4 via .htaccess and php.ini, and now it´s working fine!!

    Just in time, what is the best version of PHP to GeoDirectory run?

    Thanks for attention and help

    #379538

    Paolo
    Site Admin
    Post count: 31206

    5.6 or even 7

    Thanks

    #379542

    Mauricio Soares
    Lifetime Member
    Post count: 81

    OK!!

    Thanks for the help

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket