Menu

#1 Error messages in SM 1.4.2 in Options Menus

open
nobody
None
7
2003-10-27
2003-10-27
No

This problem occurs when this plugin is loaded in SM
1.4.2 (possibly 1.4.x) and using LDAP (possible other
methods too).

Error message appears when clicking on "New Mail
Options" (and other menu items) and is as follows:

Fatal error: Failed opening required
'../config/config.php' (include_path='.:/php/includes')
in /usr/local/sm/plugins/retrieveuserdata/ldap.php on
line 40

I have a clean install, plus the following modules:

1. delete_move_next
2. sent_subfolders
3. squirrelspell
4. newmail
5. view_as_html
6. address_add
7. twc_weather
8. vacation
9. retrieveuserdata
-----------------------------------------------------
The following is a FIX for the problem:
Find "require_once('../config/config.php'); in
[dba|vpopmail|ldap|textfile].php

Replace with:

if (!defined('SM_PATH')) {
define('SM_PATH','../../');
}
require_once(SM_PATH .
"plugins/retrieveuserdata/config.php");

Discussion

  • Robert Carsey

    Robert Carsey - 2003-10-27
    • priority: 5 --> 7
     
  • Nobody/Anonymous

    Logged In: NO

    I think your fix is wrong, you need the squirrelmail config
    included there, not the retrieveuserdata config. so the fix
    would be (tested and working on mine):

    if (!defined('SM_PATH')) {
    define('SM_PATH','../../');
    }
    require_once(SM_PATH . 'config/config.php');

     
  • Mike Battersby

    Mike Battersby - 2004-11-11

    Logged In: YES
    user_id=6651

    Is this module unmaintained?

    This bug causes interoperability problems with a number of
    other modules include avelsieve and useracl.

    How about a new release with the fix?

     

Log in to post a comment.

Monday.com Logo