Re: squirrelmail can't read plugin configurations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This entire email is quoted as if there is no original material in it.
 If you want to ask a question, please do so clearly.

On Jan 25, 2008 1:05 PM, Max Stricker <maxstricker@xxxxxxxx> wrote:
>
> > On Jan 25, 2008 12:37 PM, Max Stricker
> > wrote:
> >>
> >>
> >>
> >>
> >On Fri, 25 Jan 2008 11:43:05 -0800
> >"Paul Lesniewski" wrote:
> >>On Fri, 25 Jan 2008 03:17:23 -0800
> >>"Paul Lesniewski" wrote:
> >>> PLEASE READ the mailing list posting guidelines.
> >>> Replies should never
> >>> go offlist and top posting is not acceptable, thank
> >>>you.
> >>>
> >>>>I am fairly new with squirellmail but have
> >>>encounterd
> >>>>a
> >>>>>problem I can't
> >>>>resolve by myself.
> >>>>I configured all as I wished (including
> >>>>change_sqlpass,
> >>>>>calendar plugins),
> >>>>then i tried
> >>>>to add the spam_buttons plugin so that users
> >>can
> >& gt;>>learn
>
>
> >>>>>spam and ham.
> >>>>From there on the trouble begins.
> >>>>Squirellmail is now not anymore able to read
> >>the
> >>>>>setup.php for the plugins.
> >>>>what i trie d:
> >>>>- removing spam_buttons plugin -> no effect,
> >>error
> >>>>for
> >>>>>another plugin like
> >>>>ERROR: You have enabled the spam_buttons plugin
> >>>but I
> >>>>>cannot read its
> >>>>setup.php file.
> >>>>- reinstalling (using apt-get on debian) ->
> >>with
> >>>no
> >>>>>plugins selected it
> >>>>works perfect, otherwise
> >>>>same error as above
> >>>>- even chmod 777 does not work (httpd runs as
> >>>>www-data,
> >>>>>files belong to
> >>>>root)
> >>>>
>  >>>> chmod 777 on WHAT exactly? You should NEVER need
> >>to
> >>>do
> >>>>this. Your
> >>>> problem, as indicated by the error you showed
> >>>above,
> >>>>is
> >>>>that the
> >>>> config.php file for the spam_buttons plugin is
> >>>>unreadable (or does not
> >>>> exist ). The next logical step is to find that
> >>file
> >>>and
> >>>>figure out
> >>>> what's wrong with it. Did you read and follow
> >>that
> >>>>plugin's INSTALL
> >>>> document completely? If so, show the config file
> >>>>listing in the
> >>>> plugin directory.
> >>>>
> >>>i made chmod 777 on the config files because I
> >>first
> >>>>thought it is a
> >>>permission error.
> >>>SquirrelMail configtest says that all is OK except
> >>>>all(!) setup.php files
> >>>from installed plugins cannot be read. If i enable
> >>>>change_sqlpass,
> >>>spam_buttons and compatibility it looks like this:
> >>>>
> >>>ERROR: You have enabled the spam_buttons plugin
> >>but
> >>>>I cannot read its
> >>>setup.php file.
> >>>>
> >>>ERROR: You have enabled the change_sqlpass plugin
> >>>>but I cannot read its
> >>>setup.php file.
> >>>>
> >>>ERROR: You have enabled the compatibility plugin
> >>but
> >>>>I cannot read its
> >>>setup.php file.
> >>>>
> >>>all other (data dir, attachement dir, php
> >>extensions)
> >>>>are ok, and if I
> >>>disable all plugins i can
> >>>>
> >>>work with SM normaly, otherwise it hangs after
> >>typing
> >>>in
> >>>>my username and
> >>>pass.
> >>>>
> >>>I read all INSTALL files and i also patched when
> >>>>required (for example for
> >>>spam_buttons).
> >>>>
> >>>It is really strange for me.
> >>>>
> >>>Here is for example the content of the
> >>change_sqlpass
> >>>>setup.php:>
> >>> No one asked for the setup.php file. I asked you to
> >>>show the
> >>> directory listing for the configuration file(s) in
> >>>question. You
> >>> should also read the mailing list posting
> >>guidelines
> >>>to
> >>>see what PHP
> >>> is telling you about why the files cannot be
> >>accessed.
> >>> If you want to
> >>> be thorough here, show the full directory listing
> >>for
> >>>the plugins in
> >>> questi on, but the setup.php files have nothing to
>
> >>do
> >>>with the issue.
> >>here is the directory listening for the plugins
> >>folder:
> >>max@myhost:/usr/share/squirrelmail/plugins$ ls -al
> >>total 92
> >>drwxr-xr-x 21 root root 4096 Jan 24 20:06 .
> >>drwxr-xr-x 12 root root 4096 Jan 14 13:31 ..
> >>-rw-r--r-- 1 root root 945 Jan 24 20:06
> >>README.plugins
> >>drwxr-xr-x 2 root root 4096 Jan 14 13:31 abook_take
> >>drwxr-xr-x 2 root root 4096 Jan 14 13:31
> >>administrator
> >>drwxr-xr-x 2 root root 4096 Jan 14 13:31 bug_report
> >>drwxr-xr-x 2 root root 4096 Jan 14 13:31 calendar
> >>drw-r--r-- 3 root root 4096 Jan 25 09:17
> >>change_sqlpass
> >>
> >> No one has permission to go inside this plugin
> >>directory. Change
> >> permissions to 755 (rwxr-xr-x). PHP isn't showing
> >>errors because you
> >> probab ly don't have error reporting turned all the way
>
> >>up per the
> >> mailing list posting guidelines.
> >>
> >>
> >i turned error reporting on now, and this are the errors
> >>that the plugins
> >raise:
> >Fatal error: Call to undefined function
> >>get_current_hook_name() in
> >/usr/share/squirrelmail/plugins/spam_buttons/functions.php
> >>on line 540
> >>
> >Fatal error: Call to undefined function load_config() in
> >/usr/share/squirrelmail/plugins/change_sqlpass/functions.php
> >>on line 326

Please READ the Compatibility plugin's INSTALL file.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux