[SM-USERS] Spell checking says I'm not logged in?

2007-10-07 Thread Tim Hogan
I have decided to give SquirrelMail a try and I have install v1.4.11 
which seems to be working quite well, with the exception of spell 
checking.  Whether I am going into "SpellChecker Options" or clicking on 
spell check after typing a message I get the following error;

"You must be logged in to access this page."

Here is what ends up in the PHP logs of the web server;

[Sun Oct 07 10:18:25 2007] [error] [client 10.1.1.58] PHP Notice:  Use 
of undefined constant PAGE_NAME - assumed 'PAGE_NAME' in 
/data/Hoganzoo.com/squirrelmail-1.4.11/functions/auth.php on line 57, 
referer: https://www.hoganzoo.com/webmail/src/options.php


I have tried everything that I could think of with permissions and 
configuration and I just cannot figure this out.  Any ideas?

For reference, here is the output of the config test script;


  SquirrelMail configtest

This script will try to check some aspects of your SquirrelMail 
configuration and point you to errors whereever it can find them. You 
need to go run conf.pl in the config/ directory first before you run 
this script.

SquirrelMail version:   *1.4.11*
Config file version:*1.4.0*
Config file last modified:  *07 October 2007 10:00:11*

Checking PHP configuration...
PHP version 5.2.4 OK.
display_errors:
error_reporting: 6143
variables_order OK: GPCS.
PHP extensions OK.
Checking paths...
Data dir OK.
Attachment dir OK.
Plugins OK.
Themes OK.
Default language OK.
Base URL detected as: https://www.hoganzoo.com/webmail/webmail/src 
(location base set to https://www.hoganzoo.com/webmail)
Checking outgoing mail service
SMTP server OK (220 wolf.hoganzoo.com ESMTP Postfix)
Checking IMAP service
IMAP server ready (* OK [CAPABILITY IMAP4REV1 LITERAL+ SASL-IR 
LOGIN-REFERRALS STARTTLS AUTH=LOGIN] localhost IMAP4rev1 2004.357 at 
Sun, 7 Oct 2007 10:07:10 -0600 (MDT))
Capabilities: * CAPABILITY IMAP4REV1 LITERAL+ IDLE NAMESPACE 
MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT THREAD=REFERENCES 
THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR LOGIN-REFERRALS STARTTLS 
AUTH=LOGIN
Checking internationalization (i18n) settings...
 gettext - Gettext functions are available. You must have 
appropriate system locales compiled.
 mbstring - Mbstring functions are available.
 recode - Recode functions are unavailable.
 iconv - Iconv functions are available.
 timezone - Webmail users can change their time zone settings.
Checking database functions...
not using database functionality.

Congratulations, your SquirrelMail setup looks fine to me!


Regards,
Tim



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Spell checking says I'm not logged in?

2007-10-08 Thread Tim Hogan


Tomas Kuliavas wrote:
> Tim Hogan wrote:
>   
>> I have decided to give SquirrelMail a try and I have install v1.4.11 
>> which seems to be working quite well, with the exception of spell 
>> checking.  Whether I am going into "SpellChecker Options" or clicking on 
>> spell check after typing a message I get the following error;
>>
>> "You must be logged in to access this page."
>>
>> Here is what ends up in the PHP logs of the web server;
>>
>> [Sun Oct 07 10:18:25 2007] [error] [client 10.1.1.58] PHP Notice:  Use 
>> of undefined constant PAGE_NAME - assumed 'PAGE_NAME' in 
>> /data/Hoganzoo.com/squirrelmail-1.4.11/functions/auth.php on line 57, 
>> referer: https://www.hoganzoo.com/webmail/src/options.php
>>
>>
>> I have tried everything that I could think of with permissions and 
>> configuration and I just cannot figure this out.  Any ideas?
>>
>> For reference, here is the output of the config test script;
>>
>> ...
>> Base URL detected as: https://www.hoganzoo.com/webmail/webmail/src 
>> (location base set to https://www.hoganzoo.com/webmail)
>> 
>
>
> Location base must contain only protocol, hostname and port information. You
> can't put URL path there.
>
>   

Tomas,

I caught that and I changed it to

$config_location_base = 'https://www.hoganzoo.com';

however I am still getting the same error.  Thanks for the idea but I am 
afraid that I am going to need a few more :)

Regards,
Tim


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Spell checking says I'm not logged in?

2007-10-09 Thread Tim Hogan
Tomas Kuliavas wrote:
> Tim Hogan wrote:
>   
>>
>> Tomas Kuliavas wrote:
>> 
>>> Tim Hogan wrote:
>>>   
>>>   
>>>> I have decided to give SquirrelMail a try and I have install v1.4.11 
>>>> which seems to be working quite well, with the exception of spell 
>>>> checking.  Whether I am going into "SpellChecker Options" or clicking on 
>>>> spell check after typing a message I get the following error;
>>>>
>>>> "You must be logged in to access this page."
>>>>
>>>>
>>>> 
> Could you provide more information about your setup?
> 1. PHP session settings
> 2. PHP $_SERVER variables
> 3. Why are you overriding location base?
>
> SquirrelSpell plugin is bundled with SquirrelMail. Are you sure that you are
> using standard bundled squirrelspell plugin version? Can you reproduce same
> issue in standard SquirrelMail 1.4.11 setup with only squirrelspell plugin
> enabled? SquirrelSpell plugin uses standard SquirrelMail functions to
> validate user session. If plugin fails with "You must be logged", other
> plugins will also fail.
>
> Are you sure that session cookie path is set correctly in browser? Why
> session cookie has 'src/' url part in your setup?
>
>   
I am not too sure about the PHP stuff but I can tell you that I changed 
the location base setting only to try and solve this problem.  It was 
previously blank.

As for PHP, it is the install out of the port in FreeBSD.  I did not 
make any special changes to it.  If I understand what you are looking 
for here is the session information pulled from a phpinfo script that I 
have.

Session Support enabled
Registered save handlersfiles user eaccelerator
Registered serializer handlers  php php_binary


Directive   Local Value Master Value
session.auto_start  Off Off
session.bug_compat_42   Off Off
session.bug_compat_warn On  On
session.cache_expire180 180
session.cache_limiter   /no value/  /no value/
session.cookie_domain   /no value/  /no value/
session.cookie_httponly Off Off
session.cookie_lifetime 0   0
session.cookie_path /no value/  /no value/
session.cookie_secure   Off Off
session.entropy_file/no value/  /no value/
session.entropy_length  16  16
session.gc_divisor  10001000
session.gc_maxlifetime  14401440
session.gc_probability  1   1
session.hash_bits_per_character 5   5
session.hash_function   0   0
session.namePHPSESSID   PHPSESSID
session.referer_check   /no value/  /no value/
session.save_handlerfiles   files
session.save_path   /tmp/tmp
session.serialize_handler   php php
session.use_cookies On  On
session.use_only_cookiesOff Off
session.use_trans_sid   0   0


If this is not what you were looking for then please tell me what to type.

Regards,
Tim



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Spell checking says I'm not logged in?

2007-10-10 Thread Tim Hogan


Tomas Kuliavas wrote:
> Are you testing your PHP setup according to
> http://www.squirrelmail.org/wiki/TestPHPSettings ?
>
> Could you explain how do you set session.cookie_path to 'no value'? Default
> is '/'
>
> Could you open SquirrelMail functions/global.php, find lines with
> 
> /** set the name of the session cookie */
> if(isset($session_name) && $session_name) {
> ini_set('session.name' , $session_name);
> } else {
> ini_set('session.name' , 'SQMSESSID');
> }
> 
>
> and add one more line after them
> 
> /** set the name of the session cookie */
> if(isset($session_name) && $session_name) {
> ini_set('session.name' , $session_name);
> } else {
> ini_set('session.name' , 'SQMSESSID');
> }
> ini_set('session.cookie_path' , '/webmail/');
> 
>
> Warning. This change is specific to your current layout. If you change
> webmail location, you will have to change that line. Good fix is different,
> but I don't want to introduce complex function calls in that part of code.
>
>   
Tomas,

Thank you very much.  You are the man!
So the only thing that I had to do was set the session.cookie_path to 
root and everything worked perfectly.

Thanks again.

Tim


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[SM-USERS] Feature disappeared

2003-10-15 Thread Tim Hogan
I seem to remember that in the versions for Squirrelmail prior to 1.4.x
every message had an option to allow you to save a text version of the
message.  I no longer see that option when reading a message.  Did I miss
a setting?  Or am I just dreaming?

Tim



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
--
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