Hello Lpdpmq001,
On Wednesday, January 29, 2003, [EMAIL PROTECTED] wrote...
>> Create a new folder, extract the 1.4rc2a source into that folder,
>> check to see if you can login, use the software, browser about and
>> such (without errors). Then add the weather plugin (Paul, is this
>> fixed for 1.4?)... and I can already tell you the notes plugin is
>> going to break. I can produce a fixed version if you'd like.
>>
> OK, when I started all over again, when I installed and used the
> notes plugin by itself, I got these errors:
> Warning: Failed opening '../src/validate.php' for inclusion
> (include_path='.:/usr/share/pear') in
> /usr/share/squirrelmail/plugins/notes/notes.php on line 14
> Fatal error: Failed opening required 'SM_PATHfunctions/strings.php'
> (include_path='.:/usr/share/pear') in
> /usr/share/squirrelmail/functions/page_header.php on line 14
Excellent... this is what I had partially hoped to see. You can do a
little updating of code, it shouldn't be too difficult in this case.
Open up the file notes.php in the plugins/notes folder, and look right
at the top. Chances are, you'll see something like this:
chdir("..");
include_once('../src/validate.php');
And a couple of others... this is where the 'mistake' is. You should
change it to look like this:
define('SM_PATH' , '../../');
include_once(SM_PATH . 'validate.php');
Repeat this for the other "includes" too, and hopefully that should be
it.
> And when I install the weather plugin by itself, I get this error:
> Fatal error: Failed opening required '../src/validate.php'
> (include_path='.:/usr/share/pear') in
> /usr/share/squirrelmail/plugins/weather/options.php on line 14
The same applies here as for above. Give it a go :)
> I'm the only person that uses these features -- but I love a good puzzle.
*grins* who doesn't ;)
--
Jonathan Angliss
([EMAIL PROTECTED])
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users