examples not working on my server

examples not working on my server

f.talamini@stmingegneria.euf.talamini@stmingegneria.eu Posts: 23Questions: 11Answers: 0

Hello, i purchased Editor extension and installed the files on my server.
When I run the examplesI always get a dialog with the following error: "DataTables warning: table id=example - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1".
Since I didn't modified anything (I am learning right now) I'm figuring it's some setting on my php.ini (which is empty at the moment).
The link is www.bollettamia.it/lib/Editor-PHP-1.5.6/examples
Any idea?
Thank you,
Franco

Answers

  • allanallan Posts: 61,864Questions: 1Answers: 10,136 Site admin

    Do you actually have PHP on your server? The Ajax request is just returning the PHP code rather than executing it.

    It looks to me that, although you have Apache on the server, you don't have PHP installed, or it is not correctly configured.

    Allan

  • f.talamini@stmingegneria.euf.talamini@stmingegneria.eu Posts: 23Questions: 11Answers: 0

    Found it!
    It was a
    AddType text/html .php
    directive in my .htaccess file.
    Now everything is working properly.
    Thank you
    Franco

This discussion has been closed.