Hi Folks,
I just installed the latest tarball, created the database (mysql), and attempted to run roundcube.
When I first when to http://mydomain/round I got an error regarding opening require include/imap.inc I edited index.php to require program/include instead. of just include.
That has got be past that problem, but down it fails with:
Fatal error: Failed opening required 'lib/imap.inc' (include_path='./PATH_SEPARATOR/home/httpd/mail.pdxbrit.com/html/round/programPATH_SEPARATOR/home/httpd/mydomain.com/html/round/program/libPATH_SEPARATOR.:/usr/share/pear') in /home/httpd/mydomain.com/html/round/program/include/rcube_imap.inc on line 24
Any help is appreciated it.
Cheers, Mark.
On 10 Nov 2005, at 23:18, Mark Price wrote:
That has got be past that problem, but down it fails with:
Fatal error: Failed opening required 'lib/imap.inc' (include_path='./PATH_SEPARATOR/home/httpd/mail.pdxbrit.com/html/ round/programPATH_SEPARATOR/home/httpd/mydomain.com/html/round/ program/libPATH_SEPARATOR.:/usr/share/pear') in /home/httpd/mydomain.com/html/round/program/include/rcube_imap.inc on line 24
Any help is appreciated it.
Upgrade your PHP. The PATH_SEPARATOR constant has been available
since 4.3.0-RC2. This will fix your include problem as well.
Yours, Craig -- Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net Xeriom.NET | f: +44 (0)709 287 1902 | w: http://xeriom.net
Thanks Craig, looks like I'll have to upgrade to Fedora for php 4.3.
Cheers, Mark.
On Thu, 10 Nov 2005, Craig Webster wrote:
On 10 Nov 2005, at 23:18, Mark Price wrote:
That has got be past that problem, but down it fails with:
Fatal error: Failed opening required 'lib/imap.inc' (include_path='./PATH_SEPARATOR/home/httpd/mail.pdxbrit.com/html/ round/programPATH_SEPARATOR/home/httpd/mydomain.com/html/round/ program/libPATH_SEPARATOR.:/usr/share/pear') in /home/httpd/mydomain.com/html/round/program/include/rcube_imap.inc on line 24
Any help is appreciated it.
Upgrade your PHP. The PATH_SEPARATOR constant has been available
since 4.3.0-RC2. This will fix your include problem as well.Yours, Craig -- Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net Xeriom.NET | f: +44 (0)709 287 1902 | w: http://xeriom.net
On 10 Nov 2005, at 23:41, Mark Price wrote:
Thanks Craig, looks like I'll have to upgrade to Fedora for php 4.3.
Try to compile it from source -- there are fairly comprehensive
instructions on the PHP site[1] and it's pretty painless. Worth a try
before you upgrade everything.
[1] http://uk2.php.net/manual/en/install.unix.php
Yours, Craig -- Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net Xeriom.NET | f: +44 (0)709 287 1902 | w: http://xeriom.net
it's probably worth fixing this in the code as well.
a simple function would do it.
this could go in index.php and be called before the setting of the include path.
function rcmail_set_path_separator()
{
if (defined('PATH_SEPARATOR'))
return;
|
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
|define('PATH_SEPARATOR', ';');
else
define('PATH_SEPARATOR', ':');
return }
i'll submit a patch when i get a spare moment (unless someone beats me to it, hint hint...)
cheers justin
On 11 Nov 2005, at 00:02, justin randell wrote:
it's probably worth fixing this in the code as well.
a simple function would do it.
It's probably worth settling on one version of PHP with standard
extensions compiled in and then using PHP_Compat[1] to ensure that
all the functions and constants will be provided if the PHP version
on the install is older that the development PHP eg by using
PEAR_Compat::loadVersion('4.4.0') (or whatever version is chosen).
See [2].
I'd provide a patch for this but I don't have time tonight and I'm
hoping that someone will patch one way or the other before I do get
time :P
[1] http://pear.php.net/manual/en/package.php.php-compat.php [2] http://pear.php.net/manual/en/package.php.php-compat.php- compat.loadversion.php
Yours, Craig -- Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net Xeriom.NET | f: +44 (0)709 287 1902 | w: http://xeriom.net