> I'm trying to use Jonathan Bayer's Vacation plugin
...
> When I click on the link in Option, I get the following error:
>
> Fatal error: Cannot redeclare sqstripslashes() (previously declared in
> /usr/share/squirrelmail/plugins/vacation/vac_init.php:34) in
> /usr/share/squirrelmail/src/global.php on line 71
>
> I've looked at the files listed, but I don't know php... the only thing
> see
> that may be a problem is some capitalization differences iun the two
> files.

PHP does not care about case. These functions use same name.

> For instance, the following line is from global.php:
> function sqstripslashes(&$array)
>
> But in vac_init.php:
> function sqStripSlashes($string)
>
> Could these differences cause a problem? If not, where else should I look?
...
> Any pointers? Thanks!

Check what functions do. if they do the same thing - remove the one that
is in vacation plugin. or rename it to vacation_sqStripSlashes.

Inform plugin's author about your SM version, plugin's version and this
error.

> Confidential: ...
This email is transmited in plain text over Internet thought several email
servers and later posted on mailing list archives. It is not confidential.

Change mailbox that you are using if you don't want to transmit
confidential information (or warnings about it) to this list.

-- 
Tomas


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
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

Reply via email to