Menu

#70 ms_sharename / mysqli_num_rows()

0.98.0.0
closed-fixed
7
2006-06-05
2006-05-15
mockie
No

This error pops up when selecting "File Sharing" using
ALP - XAMPP Packaged 0.98.2.

users.php?show=3&per=50

Error: Error in SQL Query
1054 : Unknown column 'ms_workgroup' in 'order clause'
Warning: mysqli_num_rows() expects parameter 1 to be
mysqli_result, boolean given in
C:\alp982\htdocs\include\genesis_mysqli.php on line 107
Error: Error in SQL Query
1054 : Unknown column 'ms_sharename' in 'order clause'
Warning: mysqli_num_rows() expects parameter 1 to be
mysqli_result, boolean given in
C:\alp982\htdocs\include\genesis_mysqli.php on line 107
Error: Error in SQL Query
1054 : Unknown column 'ms_workgroup' in 'where clause'
Warning: mysqli_num_rows() expects parameter 1 to be
mysqli_result, boolean given in
C:\alp982\htdocs\include\genesis_mysqli.php on line 107

I believe the error is due to nonexistent columns. I
also had a similar problem within the restaurants page.

Error: Error in SQL Query
1054 : Unknown column '6785' in 'order clause'
Warning: mysqli_num_rows() expects parameter 1 to be
mysqli_result, boolean given in
C:\alp982\htdocs\include\genesis_mysqli.php on line 107

Discussion

  • Jarrod Mast

    Jarrod Mast - 2006-06-05

    Logged In: YES
    user_id=798475

    replace the following (line 54, 55)
    $x->add_field('ms_workgroup','workgroup name',0,
    $group);
    $x->add_field('ms_sharename','sharename',0,
    $group);

    with this:
    $x->add_field('sharename','sharename',0,$group);

     
  • Jarrod Mast

    Jarrod Mast - 2006-06-05
    • labels: --> Other Modules
    • milestone: --> 0.98.0.0
    • priority: 5 --> 7
    • assigned_to: nobody --> travispk
    • status: open --> closed-fixed
     
  • Jarrod Mast

    Jarrod Mast - 2006-06-05

    Logged In: YES
    user_id=798475

    This has been fixed in CVS

    The next release will include this fix

     

Log in to post a comment.