Author Topic: 500 error after login  (Read 5092 times)

Offline coennie

  • Newbie
  • *
  • Posts: 1
500 error after login
« on: May 16, 2007, 04:28:07 AM »
Hello,

A strange thing here. After I login it looks like I hit a timeout and will see a 500 screen in about 15 seconds. But when I use a different IMAP server/mail server everything goes well. So the problem lies in the IMAP server I think.

The capabilities of the mailserver not working are: * CAPABILITY IMAP4 IMAP4rev1 UNSELECT

As far as I understand from my hosting company the IMAP server running is dovecot

Maybe handy to know, this shows up in the log file after a login:
[16-May-2007 12:43:50 +0200]: * CAPABILITY IMAP4 IMAP4rev1 UNSELECT
cp01 OK Completed
Tried PLAIN: Resource id #31

Can I solve this problem?

Regards,

Coennie

Offline cgountanis

  • Newbie
  • *
  • Posts: 8
Re: 500 error after login
« Reply #1 on: June 03, 2007, 10:30:14 PM »
Edit the post line in skins/default/templates/login.html from:

to

This will allow you to actually login.

Next, in the index.php file, edit this line:
// set session related variables
$COMM_PATH = sprintf('./?_auth=%s&_task=%s', $sess_auth, $_task);
to read
// set session related variables
$COMM_PATH = sprintf('./index.php?_auth=%s&_task=%s', $sess_auth, $_task);
This will allow the rest of the functions to work.

You will also need to edit the "action" lines in the following files:
program/steps/settings/func.inc (this is for preferences)
program/steps/addressbook/edit.inc (this is for the address book obviously)
program/steps/mail/compose.inc (this is for attachments while composing messages)
Just change the "./" to "./index.php"