datatables.php error
azuya opened this issue · 8 comments
Hm!
Where strange. WorksForMe.
How many accounts you have on this site? Perhaps that accounts in the names contains invalid characters, eg '
, [
, "
, etc.? You used your view for this controller action or native? Have you ever changed, replaced with your code? What is your version of php?
This is fresh installation.
Login with admin and default password from gleez.
PHP 5.3.10-1ubuntu3.11 with Suhosin-Patch (cli) (built: Apr 4 2014 01:27:23) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
try to replace this code
$columnIdx = intval($request->query('order')[$i]['column']);
with
$order = $request->query('order');
$columnIdx = intval($col[$i]['column']);
and it work.
$request->query('xxx')
declared to $xxx = $request->query('xxx')
first ...
yep, this is php 5.3.x issue. thanks for report!
@sandeepone what version of php u r used ?
Thank you I'll check.
PHP 5.5.9
PHP 5.4.31
Thank you....
@sandeepone In fact we have license for PhpStorm. This IDE can check the syntax of php if you've set correct version: Settings → PHP → PHP language level
I usually use sublime or gedit or vim. I need to install the phpstrom on my new laptop.