i m using DataTables Editor that works fine on localhost wamp server but in my site with the same configuration take<< An error has occurred - Please contact the system administrator>> ?please help me on this.
Thanks for the link to the test case. The error message you are seeing on first load above a JSON error, means exactly what is says on the tin - that there the return front he server is not valid JSON. In fact it is an error message:
[code]
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/epithimo/public_html/DataTables-1.9.4/extras/Editor-1.2.4-trial/examples/php/browsers.php on line 12
[/code]
I very much suspect that this means you are using an old version of PHP - 5.2 perhaps? The Editor PHP libraries require PHP 5.3 or newer. Are you able to upgrade - 5.3 added a lot of great new features with the Editor libraries make use of.
*edit* - I missed the bit where you explicitly say 5.2.17! That's the problem. Are you able to upgrade? I do have 5.2 compatibility libraries from an old version of Editor, but they are no longer supported, have a different API and not as many features as the new libraries!
Replies
http://www.datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read
The corresponding link to datatable works fine
PHP_VERSION, "5.2.17"
[code]
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/epithimo/public_html/DataTables-1.9.4/extras/Editor-1.2.4-trial/examples/php/browsers.php on line 12
[/code]
I very much suspect that this means you are using an old version of PHP - 5.2 perhaps? The Editor PHP libraries require PHP 5.3 or newer. Are you able to upgrade - 5.3 added a lot of great new features with the Editor libraries make use of.
*edit* - I missed the bit where you explicitly say 5.2.17! That's the problem. Are you able to upgrade? I do have 5.2 compatibility libraries from an old version of Editor, but they are no longer supported, have a different API and not as many features as the new libraries!
Allan