Follow-up Comment #12, sr #971 (project savane):

The thing is that group_id not supposed to be set at all :(

When group_id is set, it means we are on a specific group page (like at Gna
we are here on a page specific to the project savane).

The error message you get is in fact telling you that a group_id was passed
as argument when no such group was found in the database (obviously, this
group does not exists).

What I definitely do not understand is how you could have group_id. There is
definitely something wrong.

I'm running out of ideas. We may have to go the harsh way to understand what
happen:

Could you add a 
   print "GROUPID $group_id";
in include/pre.php at the Line 330?

You see, the bit of code causing this error is likely to be

if (isset($group_id))
{
  if (!$res_grp)
    {
      $res_grp = db_query("SELECT unix_group_name,status FROM groups WHERE
group_id='$group_id'");
    }
  # Check if the group truly exists
  if (!db_numrows($res_grp))
    {
      exit_error(_("Project not found"));
    }

The is how the hell isset($group_id) can return true while no $group_id was
passed as argument.



    _______________________________________________________

Reply to this item at:

  <http://gna.org/support/?func=detailitem&item_id=971>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


Répondre à