Not using RoundCube but general problems on PHP apps (on OpenBSD) are:
- no MySQL socket in chroot
- Running PHP5 when the code isn't compatible
- PHP only logging it's errors to file (setting in php.ini) so you don't
see anything on screen.
- PHP almost certainly needs a writable /tmp in the chroot
- PHP is missing modules (like mcrypt.so) that are required by your
application
Read the code to see where it sends you AFTER the login box, that might
give pointers. There is a double slash in your error_log that shouldn't
be there.
Or install Firefox \with the LiveHTTPHeaders plugin; that will also tell
you this if you are not comfortable reading code.
Some of the requirements on the RoundCube page that might be your
problem are below.
The DirectoryIndex seems like a good candidate:
- htaccess support allowing overrides for DirectoryIndex if using Apache
- PHP Version 4.3.1 or Greater (with module for MCrypt functions)
- PCRE (Perl compatible Regular Expression) installed with PHP
HTH
Matt
Allie Daneman schreef:
First let me say that I have Roundcube running on OBSD 4.1 stable.
My web server is lighttpd BUT I ran it on Apache chrooted and unchrooted.
So...on to your issues. In OpenBSD I recommend starting off with the
recommended php.ini which can be found here:
/usr/local/share/examples/phpX/php.ini-recommended
Beyond that it's an Apache configuration issue...which shouldn't be too
tough if you have any experience with Apache. I recommend getting it
running unchrooted first and then have fun with chroot. I didn't have to
do anything unique for the roundcube install..I just followed the
directions and it worked fine on my already functioning web server. Get
Apache and MySQL all setup and then attack Roundcube...start simple and
then add more things ;)
P.S. I downloaded roundcubemail-0.1-rc1.1 from the website.
Vijay Sankar([EMAIL PROTECTED])@Mon, Jul 30, 2007 at 09:43:12PM -0500:
On 7/30/07, Allen wrote:
I seem to recall seeing this error, too. It has been quite a while
since I debugged it, but I seem to ever-so-vaguely remember it being
an issue in php.ini with having to set:
magic_quotes_gpc = On
fwiw: I also have magic_quotes_runtime = Off, and roundcube works like
a charm.
Thanks very much for your response. I tried magic_quote_gpc = On but
that did not work. But it is good (but frustrating that it is not
working for me) to know that at least one person is running this
successfully on OpenBSD!
If possible, please let me know if you are using roundcube from packages
on -current or if it is the version from svn.roundcube.net. Also, I am
wondering if it makes a difference if httpd is chrooted? I am going to
try and build a different server with 4.1 -current and see if it makes
a difference .
Vijay
--
Vijay Sankar
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: +1 (204) 885-9535, E-Mail: [EMAIL PROTECTED]