If I run it w/ setting SERVER_NAME, REMOTE_USER, and REMOTE_ADDR, it fails silently.
It does seem to be trying to log in. If I throw some print() statements in for debugging, it's stuck in imp's login.php.. require_once IMP_BASE . '/lib/base.php'PHP Warning: Cannot modify header information - headers already sent by (output started at /home/liamr/horde-3.1.7/imp/scripts/upgrades/convert_vfolders.php:16) in /home/liamr/horde-3.1.7/imp/login.php on line 148 Liam Quoting [EMAIL PROTECTED]: > I'm trying to prep our upgrade from IMP 4.0.x to 4.2.x, and trying to > run imp/scripts/upgrades/convert_vfolders.php. I find it a little > strange that a script that has to be run from the command line is > requiring that horde's auth environment be set up. I tried our auth > driver, and the default "auto" auth driver (with the settings from > config/conf.php.dist > > I try to set SERVER_NAME, REMOTE_USER, REMOTE_ADDR in my environment, > but I think it wants to set cookies. The script doesn't appear to run > for me. I never get confirmation that it's complete, which looking at > the script, I think it should give. > > Any suggestions? > > Liam > --------- > papiamentu-root# php convert_vfolders.php PHP Notice: Undefined index: > REMOTE_USER in > /usr/local/projects/webmail/html-ssl/horde/imp/config/conf.php on line > 78 > PHP Notice: Undefined index: REMOTE_USER in > /usr/local/projects/webmail/html-ssl/horde/imp/config/conf.php on line > 79 > PHP Notice: Undefined index: SERVER_NAME in > /usr/local/projects/webmail/html-ssl/horde/config/prefs.php on line 480 > PHP Notice: Undefined index: SERVER_NAME in > /usr/local/projects/webmail/html-ssl/horde/imp/config/prefs.php on line > 29 > PHP Notice: Undefined index: SERVER_NAME in > /usr/local/projects/webmail/html-ssl/horde/imp/config/prefs.php on line > 30 > PHP Notice: Undefined index: SERVER_NAME in > /usr/local/projects/webmail/html-ssl/horde/config/prefs.php on line 480 > PHP Notice: Undefined index: SERVER_NAME in > /usr/local/projects/webmail/html-ssl/horde/imp/config/prefs.php on line > 29 > PHP Notice: Undefined index: SERVER_NAME in > /usr/local/projects/webmail/html-ssl/horde/imp/config/prefs.php on line > 30 > PHP Notice: Undefined index: SERVER_NAME in > /usr/local/projects/webmail/html-ssl/horde/config/prefs.php on line 480 > PHP Notice: Undefined index: SERVER_NAME in > /usr/local/projects/webmail/html-ssl/horde/imp/config/prefs.php on line > 29 > PHP Notice: Undefined index: SERVER_NAME in > /usr/local/projects/webmail/html-ssl/horde/imp/config/prefs.php on line > 30 > PHP Notice: Undefined index: REMOTE_ADDR in > /usr/local/projects/webmail/html-ssl/horde/lib/Horde/Auth.php on line > 732 > ==================== > > Fatal Error: > You are not authenticated. > > ==================== > > > > > > -- > IMP mailing list - Join the hunt: http://horde.org/bounties/#imp > Frequently Asked Questions: http://horde.org/faq/ > To unsubscribe, mail: [EMAIL PROTECTED] > > !DSPAM:4815ea8c258471385515324! > > > > -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [EMAIL PROTECTED]
