v6.x-2.6 works fine

Comments

andy inman’s picture

Hi, thanks for the info. If you have access to your webserver error log, could you see what error is reported there? You might find something in the Drupal log too. 2.7 works fine here, and presumably for others, so I need more information to track down the problem, and the error reported by the webserver is the most useful information.

hachreak’s picture

Hi guys,
I have the same problem. WSOD!
This is the error:

Error: Call to undefined function language_from_browser() in
/sites/all/modules/multilink/multilink.module, line 301

Require some includes? O_O"

Thanks. ;)
hachreak

andy inman’s picture

Thanks for that. It looks like Drupal's language.inc is needed - http://api.drupal.org/api/drupal/includes!language.inc/function/language...
The issue is probably configuration-dependent and may depend on settings for other multi-language related modules.

This should only be happening if you've enabled the MultiLink Redirect Cached sub-module - please confirm?

As a quick fix try adding:

    require_once(variable_get('language_inc', './includes/language.inc'));

into multilink_redirect_cached.module around line #16

A better solution (for performance reasons) would be to check for existence of the required function before calling it and load the include file only on demand.

andy inman’s picture

Issue summary: View changes
Status: Active » Closed (outdated)