Fatal error: require_once(): Failed opening required '/sites/gg/sites/all/modules/languageassign/user.admin.inc' (include_path='.:/usr/lib/php') in /sites/gg/includes/menu.inc on line 499
Had only just enabled, set up a View to use VBO 'set to language' and successfully applied it (so nice going so far - thanks for the module) but then found some other pages were trying to call this in the menu.inc
Obvious to anyone what is going on?
We may be able to dig in to this, but probably only need module on for an hour to set some old content to correct languages and will then disable, so unsure that we will get to it.

Comments

Andrew Schulman’s picture

Thanks for reporting this bug. I've committed a fix for it. It works in my testing, but I'd appreciate it if you would also test it and report your findings. To test:

  1. Install the 7.x-1.x-dev release of May 26 or later (I just committed the fix, so it will take 12 hours or so to show up in the next -dev release), or, if you prefer, apply the patch.
  2. Clear your site's cache ("Clear all caches" at admin/config/development/performance).
  3. Go to admin/people/people or admin/people/create.

Without the patch, either of those two paths will give the error message that you found. With the patch, they should both work.(admin/people/people seems to be the same as admin/people, so I'm not sure why it's there, but Language Assignment still shouldn't break it.) Please let me know.

This error doesn't occur in D6.

Andrew Schulman’s picture

Assigned: Unassigned » Andrew Schulman
Status: Active » Fixed

Fixed in 7.x-1.2. Please reopen this bug if you think otherwise.

Andrew Schulman’s picture

I was wrong in #1. This error did occur in D6, when the user tried to visit admin/user/user/list or admin/user/user/create. Shame on me for not spotting that.

I've committed a fix and released it in version 6.x-1.5.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sgurlt’s picture

Version: 7.x-1.1 » 7.x-1.2
Issue summary: View changes

I am still getting this error when trying to open the permissions page.

Fatal error: require_once(): Failed opening required 'iptp/sites/all/modules/modified/languageassign/user.admin.inc' (include_path='.;C:\seu\xampp\php\PEAR') in C:\seu\xampp\htdocs\iptp\includes\menu.inc on line 515

Any idea how to fix that?

sgurlt’s picture

Status: Closed (fixed) » Needs work
sgurlt’s picture

What i dont get is, that the error only occures on the page
admin/people/permissions

But when i uncomment the function:

function languageassign_menu_alter(&$items) {
  foreach (array('admin/people', 'admin/people/create', 'admin/people/people') as $key) {
    $items[$key]['page callback'] = 'languageassign_user_admin';
    $items[$key]['file'] = 'languageassign.admin.inc';
    $items[$key]['file path'] = drupal_get_path('module', 'languageassign');
    dpm($items);
  }
}

the error is gone. The point I dont get is, that admin/people/permission even is effected.

sgurlt’s picture

Found out that just a little "/" was missing there ;-)

sgurlt’s picture

Status: Needs work » Needs review
augustyip’s picture

Status: Needs review » Reviewed & tested by the community