> 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 > >>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 > > question, 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 probably don't have error reporting turned all the way up per the mailing list posting guidelines. > drw-r--r-- 5 root root 4096 Jan 14 13:34 compatibility > drwxr-xr-x 2 root root 4096 Jan 14 13:31 delete_move_next > drwxr-xr-x 3 root root 4096 Jan 14 13:31 f ilters > drwxr-xr-x 2 root root 4096 Jan 14 13:31 fortune > -rw-r--r-- 1 root root 487 May 10 2007 index.php > drwxr-xr-x 2 root root 4096 Jan 14 13:31 info > drwxr-xr-x 2 root root 4096 Jan 14 13:31 listcommands > drwxr-xr-x 2 root root 4096 Jan 14 13:31 mail_fetch > drwxr-xr-x 2 root root 4096 Jan 14 13:31 message_details > drwxr-xr-x 3 root root 4096 Jan 14 13:31 newmail > drwxr-xr-x 2 root root 4096 Jan 14 13:31 sent_subfolders > drw-r--r-- 5 root root 4096 Jan 25 09:18 spam_buttons > drwxr-xr-x 2 root root 4096 Jan 14 13:31 spamcop > drwxr-xr-x 5 root root 4096 Jan 14 13:35 squirrelspell > drwxr-xr-x 2 root root 4096 Jan 14 13:31 translate > > and the contents of the thre plugins that won't work: > myhost:/usr/share/squirrelmail# ls -al plugins/change_sqlpass/ > total 120 > drw-r--r-- 3 root root 4096 Jan 25 09:17 . > drwxr-xr-x 21 root root 4096 Jan 24 20:06 .. > -rw-r--r-- 1 root root 15228 Jan 14 13:34 COPYING > -rw-r--r-- 1 root root 1484 Jan 14 13:35 INSTALL > -rw-r--r-- 1 root root 7270 Jan 14 13:34 README > -rw-r--r-- 1 root root 2856 Jan 14 13:34 change_sqlpass.pot > -rw-r--r-- 1 root root 10464 Jan 14 13:34 config.php > -rw-r--r-- 1 root root 24748 Jan 14 13:34 functions.php > -rw-r--r-- 1 root root 555 Jan 14 13:34 generate.php > -rw-r--r-- 1 root root 390 Jan 14 13:34 getpot > -rw-r--r-- 1 root root 469 Jan 14 13:34 index.php > drw-r--r-- 3 root root 4096 Jan 14 13:34 jeffco > -rw-r--r-- 1 root root 5324 Jan 14 13:34 make_release.sh > -rw-r--r-- 1 root root 2787 Jan 14 13:34 md5crypt.php > -rw-r--r-- 1 root root 1149 Jan 14 13:34 options.php > -rw-r--r-- 1 root root 2234 Jan 14 13:34 setup.php > -rw-r--r-- 1 root root & nbsp; 28 Jan 14 13:34 version > myhost:/usr/share/squirrelmail# ls -al plugins/spam_buttons/ > total 308 > drw-r--r-- 5 root root 4096 Jan 25 09:18 . > drwxr-xr-x 21 root root 4096 Jan 24 20:06 .. > -rw-r--r-- 1 root root 15131 Jan 14 13:35 COPYING > -rw-r--r-- 1 root root 2273 Jan 14 13:35 INSTALL > -rw-r--r-- 1 root root 9000 Jan 14 13:35 README > -rw-r--r-- 1 root root 2066 Jan 14 13:35 bounce_identity.php > -rw-r--r-- 1 root root 10584 Jan 14 13:35 bounce_send.php > -rw-r--r-- 1 root root 26159 Jan 14 13:35 compose_functions-1.4.10.php > -rw-r--r-- 1 root root 27400 Jan 14 13:35 compose_functions-1.4.11.php > -rw-r--r-- 1 root root 26060 Jan 14 13:35 compose_functions-1.5.2.php > -rw-r--r-- 1 root root 17677 Jan 14 13:35 config.sample.php~ > drw-r--r-- 2 root root 4096 Jan 14 13:35 contrib > -rw-r--r-- 1 root root 81627 Jan 14 13:35 func tions.php > -rw-r--r-- 1 root root 471 Jan 14 13:35 getpot > -rw-r--r-- 1 root root 509 Jan 14 13:35 index.php > -rw-r--r-- 1 root root 5143 Jan 14 13:35 make_release.sh > drw-r--r-- 2 root root 4096 Jan 14 13:35 patches > -rw-r--r-- 1 root root 17919 Jan 14 13:35 sample.php > -rw-r--r-- 1 root root 6349 Jan 14 13:35 setup.php > -rw-r--r-- 1 root root 2267 Jan 14 13:35 spam_buttons.pot > drw-r--r-- 3 root root 4096 Jan 14 13:35 templates > -rw-r--r-- 1 root root 17 Jan 14 13:35 version > > strange that the files are there and anyone has read acces to it. > the access.log of lighttpd does not say anything that helps me: > 138.232.248.82 - - [25/Jan/2008:16:58:31 +0100] "GET / HTTP/1.1" 302 0 "-" > "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 > Ubuntu/7.10 (gutsy) Firefox/2.0.0.11" > 138.232.248.82 - - [25/Jan/2008:16: 58:31 +0100] "GET /src/login.php > HTTP/1.1" 200 2199 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) > Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11" > 138.232.248.82 - - [25/Jan/2008:16:58:39 +0100] "POST /src/redirect.php > HTTP/1.1" 302 0 "http://webmail.mydomain.tld/src/login.php" "Mozilla/5.0 > (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) > Firefox/2.0.0.11" > 138.232.248.82 - - [25/Jan/2008:16:58:39 +0100] "GET /src/webmail.php > HTTP/1.1" 200 353 "http://webmail.mydomain.tld/src/login.php" "Mozilla/5.0 > (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) > Firefox/2.0.0.11" > 138.232.248.82 - - [25/Jan/2008:16:58:42 +0100] "GET /src/left_main.php > HTTP/1.1" 200 2654 "http://webmail.mydomain.tld/src/webmail.php" > "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 > Ubuntu/7.10 (gutsy) Firefox/2.0.0.11" > 138.232.248.82 - - [25/Jan/2008:16:58:43 +0100] "GET /src/right_main.php > HTTP/1.1" 200 7737 "http://webmail.mydomain.tld/src/webmail.php" > "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 > Ubuntu/7.10 (gutsy) Firefox/2.0.0.11" > > php does also not report any errors. > > > > > > > > > >> >> - in the mail.log: > >> >> Jan 24 20:07:22 myhost postfix/smtpd[12446]: conn ect > >> >>from > >> >> localhost[127.0.0.1] > >> >> Jan 24 20:07:22 myhost postfix/smtpd[12446]: lost > >> >>connection after CONNECT > >> >> from localhost[127.0.0.1] > >> >> > >> >> - versionsof software: > >> >> SquirrelMail version:1.4.9a > >> >> Config file version:1.4.0 PHP version > >>5.2.5-0.dotdeb.2 > >> >>OK. > >> >> Checking paths... > >> >> Data dir OK. > >> >> Webserver: lighttpd-1.4.13 (ssl) > >> >> postfix,dovecot,spamassasin,amavis like des cirbed at > > >> >> http://workaround.org/articles/ispmail-etch/ > >> >> > >> >> sorry for my weak english, and also if something is > >>not > >> >>correct with my post > >> >> on this > >> >> mailinglist, please report, its my fairst post ever. > >> >> > >> >> have a nice day > >> >> ~max ------------------------------------------------------------------------- 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