Web Hosting Forum | Lunarpages
News: April 3, 2008 - New Contest! - Win 5 Years of Hosting and $1,000!
May 5, 2008 - May 08 Web Site of the Month? - Submit your LINKS!!!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2008, 08:43:09 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: eGroupWare Installation  (Read 1458 times)
Lazypig
Trekkie
**
Offline Offline

Posts: 18



WWW
« on: April 02, 2008, 01:48:03 AM »

I tried to install eGroupWare on my domain but I can install it....

I unzip the file and when try to enter my domain http://mydomin/egroupware and it come back to be a 500 error.

I search the forum to find solutions and found that people that had sussced is mostly intalling v.1.2 while I had v.1.4 *I am not sure if it make a difference

I check the offical handbook and know it might have something to do with my .htacess file...but I can't seem to add the pharse that it said
"<Directory "/var/www /html">
   AllowOverride FileInfo
   ...
</Directory>"

or rename or delete the file....

nothing seems to work!!

HELP!! Help


Logged
Dinu
Support
Spaceship Captain
*****
Offline Offline

Posts: 118


Learning Wordpress :)


« Reply #1 on: April 02, 2008, 01:55:03 AM »

Hi there,

Check he .htaccess file under the public_html folder, and try removing some entries ( of course take backup copy before u remove it ) and try to find out which code is giving the error. Also, make sure all folders have permission set to 755 and that of files to 644.

If that doesn't help, send us an email support@lunarpages.com, and we will help you further.

Thanks
Logged

Greetings !!!
Dinu
Lazypig
Trekkie
**
Offline Offline

Posts: 18



WWW
« Reply #2 on: April 02, 2008, 02:02:25 AM »

 Sad completely forget to mention...
My .htaccess file (under public_html) is empty..there's nothing there.

I did try to access my error logs and find out what's wrong and here's what I get:

Quote
/home/username/public_html/egroupware/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration

and here the content of the .htaccess file from egroupware

Quote
#
# Set
#
# AllowOverride FileInfo
#
# to enable parsing off this file
#
php_value memory_limit 32M
php_value max_execution_time 60
php_flag register_globals Off
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
# settings for the file upload, you might increase them further
php_value upload_max_filesize 16M
# session handling: now the check for expired sessions is done on every 10th session creation
php_flag session.use_trans_sid Off
php_value session.gc_probability 1
php_value session.gc_divisor 10
# multibyte extension: needed for utf-8
php_value mbstring.func_overload 7

So what's wrong with the picture??
Logged
Dinu
Support
Spaceship Captain
*****
Offline Offline

Posts: 118


Learning Wordpress :)


« Reply #3 on: April 02, 2008, 02:07:18 AM »

Hi there,

You will need to set those php functions in php.ini and not in the .htaccess file. If you do not have a php.ini file, you can simply create it from file manager.

Example.

Instead of php_flag magic_quotes_runtime Off in htaccess file, use "magic_quotes_runtime Off" in php.ini

Thank you
Logged

Greetings !!!
Dinu
Lazypig
Trekkie
**
Offline Offline

Posts: 18



WWW
« Reply #4 on: April 02, 2008, 02:21:09 AM »

this might be a stupid question, but I had to ask  Whoops
where should I put this php.ini file?
Logged
Dinu
Support
Spaceship Captain
*****
Offline Offline

Posts: 118


Learning Wordpress :)


« Reply #5 on: April 02, 2008, 02:23:00 AM »

Hi there,

It should be under the public_html folder itself. If you do not see one there, click on create new file, select text file and name it php.ini

Thanks
Logged

Greetings !!!
Dinu
Lazypig
Trekkie
**
Offline Offline

Posts: 18



WWW
« Reply #6 on: April 02, 2008, 03:10:32 AM »

 Clapping I did it!! finally....
but I had to rename the .htaccess file to gain access to the setup page.
Hope everything runs smoothly from now on~  Soooo Cool
Logged
Dinu
Support
Spaceship Captain
*****
Offline Offline

Posts: 118


Learning Wordpress :)


« Reply #7 on: April 02, 2008, 03:13:31 AM »

Hi there

Congrats !!!  Clapping

Please feel free to get back to us if you need further assistance.

Thanks Very Happy
Logged

Greetings !!!
Dinu
Lazypig
Trekkie
**
Offline Offline

Posts: 18



WWW
« Reply #8 on: April 02, 2008, 10:46:58 PM »

I've finally get eGW to install on my domain...
but when I tried to use the "FelaMiMail", it seems that I can't get the mail to send out or read any other folder (expect for inbox) as it will have a error message:

Quote
Warning: cannot yet handle MBCS in html_entity_decode()! in /home/username/public_html/egroupware/felamimail/inc/class.bocompose.inc.php on line 158

Any idea why?? I've tried to find a solution online and it seems to have something to do with UTF-8 charset...but I don't know the solution to the problem!!

Please help!!
Logged
Lazypig
Trekkie
**
Offline Offline

Posts: 18



WWW
« Reply #9 on: April 03, 2008, 01:11:53 AM »

I've finally get eGW to install on my domain...
but when I tried to use the "FelaMiMail", it seems that I can't get the mail to send out or read any other folder (expect for inbox) as it will have a error message:

Quote
Warning: cannot yet handle MBCS in html_entity_decode()! in /home/username/public_html/egroupware/felamimail/inc/class.bocompose.inc.php on line 158

Any idea why?? I've tried to find a solution online and it seems to have something to do with UTF-8 charset...but I don't know the solution to the problem!!

Please help!!
Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 6174



WWW
« Reply #10 on: April 07, 2008, 05:42:51 AM »

I have merged your two threads together since they both seem to be on the same topic.  Have you tried the script maker to see if they can let you know what the error here means?
Logged

Lazypig
Trekkie
**
Offline Offline

Posts: 18



WWW
« Reply #11 on: April 10, 2008, 10:29:47 PM »

A friend help me to slove the problem

We added the following to "class.bocompose.inc.php":
Quote
<?php
function html_entity_decode_utf8($string)
{
    static $trans_tbl;
   
    // replace numeric entities
    $string = preg_replace('~&#x([0-9a-f]+);~ei', 'code2utf(hexdec("\\1"))', $string);
    $string = preg_replace('~&#([0-9]+);~e', 'code2utf(\\1)', $string);

    // replace literal entities
    if (!isset($trans_tbl))
    {
        $trans_tbl = array();
       
        foreach (get_html_translation_table(HTML_ENTITIES) as $val=>$key)
            $trans_tbl[$key] = utf8_encode($val);
    }
   
    return strtr($string, $trans_tbl);
}

// Returns the utf string corresponding to the unicode value (from php.net, courtesy - romans@void.lv)
function code2utf($num)
{
    if ($num < 128) return chr($num);
    if ($num < 2048) return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
    if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
    if ($num < 2097152) return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
    return '';
}
?>

from http://us2.php.net/html_entity_decode and then change html_entity_decode(a,b,c) to $this->html_entity_decode_utf8(a)

It works! Haha

However, now...I encounter another problem.....  Crying or Very sad
I can't seem to send the mail out due to problem with SMTP....  Hypno

I have setup the SMTP to "mydomain.com" and used my default (username@domain.com + password) in the setup, it didn't work.
I guess my question is....for authorization on SMTP, do we have to use the different set of username and password for corresponding e-mail?
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM