editor JSON formatting error

editor JSON formatting error

poulpatorpoulpator Posts: 2Questions: 0Answers: 0
edited April 2014 in Editor
Hi, I try to run the editor sample : https://editor.datatables.net/tutorials/installing on my server before buying it ;-)

I just change the Config.php

As you can see :editor JSON formatting error

http://mytestwebsite.fr/DataTables/extras/Editor/examples/

Thanks
Emmanuel

Replies

  • allanallan Posts: 63,530Questions: 1Answers: 10,473 Site admin
    Hi Emmanuel,

    Thanks very much for the link to your page. The server is returning an error:

    > Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in

    In my experience this means that you are running a very old version of PHP on your server - v5.2 or older! The Editor PHP libraries require PHP 5.3 or newer as they make use of a number of the features introduced in the "newer" versions of PHP.

    Are you able to upgrade your PHP install? I do have PHP 5.2 compatible libraries I can send you, but they do not provide the same set of functionality as the new ones, and are no longer supported.

    Allan
  • poulpatorpoulpator Posts: 2Questions: 0Answers: 0
    Hi Allan !!

    It's work with php 5.3 !
    Thank you Very very very much !!!

    Best regards from French Alps ;-)

    Emmanuel.
This discussion has been closed.