On Mon, 2003-11-24 at 18:25, [EMAIL PROTECTED] wrote:
> > This looks like an attempt to use a plugin that was design for SM
> > 1.2.x with SM 1.4.x. Check the plugin archives, there are plenty of
> > similar issues about this same kind of thing. It's usually a case of
> > just changing some paths, and adding a define in there.
>
> Although this plugin was designed for SM 1.4, so I'm not sure what's going
> wrong. As Jonathan said, the mailing list archives (gmane.org being your
> best bet) are full of useful help, messages about this plugin being no
> exception.
I think I should have paid more attention to the error message. I'd
have noticed it has been updated, the paths are different in the error
message than a 1.2 plugin... it just looks like SM_PATH was never
defined properly. A simple test for this isn't too difficult:
if (!defined('SM_PATH')) {
define('SM_PATH' , '../../' );
}
Put this at the top of the page causing the errors, and you're likely to
see them go away, but this is only based on a general theory on what's
wrong. There is probably something else wrong in this case, and making
the above adjustment might be a little messy in places. I might take a
look at the plugin, as I'm curious about webcalendar.
--
Jonathan Angliss
([EMAIL PROTECTED])
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
--
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