ryansuitposungkono / openjs-grid

Automatically exported from code.google.com/p/openjs-grid
0 stars 0 forks source link

not working with php version 5.4.7 #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. i have this code:
          mysql_query("SET NAMES utf8");
           $grid -> joins = array (
              "LEFT JOIN roles ON (users.role = roles.role_id)"
          ) ;
          $grid -> fields = array (
              "role_title" => "roles.role_title",
               "name" => " CONCAT(users.first_name, ' ', users.last_name)"
          ) ;
$grid -> load () ;

echo json_encode ( $grid -> data ) ;
2. it does work great on php version:5.3.4
3. i get these errors: undefined offset: 0 in grid.php line 282.
and undefined offset: 1 in grid.php line 323.

What is the expected output? What do you see instead?
it should load all the users

What version of the product are you using? On what operating system?
1.8, windows 7

Please provide any additional information below.
it worked great untill i have upgrade xampp with the new php version

Original issue reported on code.google.com by Rsh...@gmail.com on 28 Oct 2012 at 8:26

GoogleCodeExporter commented 9 years ago
anybody please help!

Original comment by Rsh...@gmail.com on 28 Oct 2012 at 1:42