Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-24, 23:58:02

Author Topic: Weird webmail problem! Not choices, if type, php text file!  (Read 4862 times)

0 Members and 1 Guest are viewing this topic.

Offline jvnadr

  • Junior Member
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Hello all!
 :cry: Sad I installed kloxo-mr and all working nice, except webmail. When i try to have the webmail client selection page (webmail.corfusports.cu.cc) I get a page with kloxo-mr logo but anything else on it. If I type manually a webmail client (ex. webmail.corfusports.cu.cc/horde) I get a plain php file

Code: [Select]
<?php
/**
 * $Horde: horde/index.php,v 2.105.4.13 2009/01/06 15:13:50 jan Exp $
 *
 * Copyright 1999-2009 The Horde Project (www.horde.org/)
 *
 * See the enclosed file COPYING for license information (LGPL). If you
 * did not receive this file, see www.fsf.org/copyleft/lgpl.html.
 *
 * @author Chuck Hagenbuch <chuck@horde.org>
 */

@define('AUTH_HANDLER'true);
@
define('HORDE_BASE'dirname(__FILE__));
$horde_configured = (is_readable(HORDE_BASE '/config/conf.php') &&
                     
is_readable(HORDE_BASE '/config/mime_drivers.php') &&
                     
is_readable(HORDE_BASE '/config/nls.php') &&
                     
is_readable(HORDE_BASE '/config/prefs.php') &&
                     
is_readable(HORDE_BASE '/config/registry.php'));



The thing is getting more weird: If I type roundcube (webmail.corfusports.cu.cc/roundcube) I get the login page for roundcube and when i try to login, then I get to plain php text file!
I run fix scripts, try to restart services, reboot but nothing.

Any ideas? I'm loosing my mind!
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Weird webmail problem! Not choices, if type, php text fi
« Reply #1 on: 2013-03-16, 13:02:21 »
Read viewtopic.php?f=4&t=684 first and inform here your 'sh /script/sysinfo'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: Weird webmail problem! Not choices, if type, php text fi
« Reply #2 on: 2013-03-16, 15:01:52 »
@jvnadr i face the same problem first time using nginxproxy with php5.4 and php-fpm.

I switch php version to 5.3 then back again to 5.4 and run sh /script/fixphp; sh /script/fixweb; sh /script/fixwebmail
And problem was solved.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline robg

  • Junior Member
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Weird webmail problem! Not choices, if type, php text fi
« Reply #3 on: 2013-03-16, 23:17:58 »
I'm having the same issue, after switching to suphp.

I've tried adding a .htaccess file into the webmail directory to set the php version, but without luck. (As well as running the fix scripts for webmail/web/php  and restarting, also without luck.)

Sysinfo

Code: [Select]
# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.c.2013022801

B. OS: CentOS release 6.3 (Final) i686

C. Apps:
   1. MySQL: mysql-5.5.29-1.el6.i686
   2. PHP: php-5.3.21-1.el6.i686
   3. Httpd: httpd-2.2.23-1.el6.i686
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el6.i686
   7. Dns: bind-9.9.2-2.P1.el6.i686

D. Php-type (for Httpd/proxy): suphp_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1006        963         42          0        124        491
   -/+ buffers/cache:        347        659
   Swap:         2015         51       1964
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Weird webmail problem! Not choices, if type, php text fi
« Reply #4 on: 2013-03-17, 15:19:04 »
Have you enable secondary too?. If yes, read .htaccess content inside domain root directory. Better run 'sh /script/fixphp' to make sure your .htaccess as the latest.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline robg

  • Junior Member
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Weird webmail problem! Not choices, if type, php text fi
« Reply #5 on: 2013-03-19, 03:09:45 »
Secondary php is enabled, and i've run the fixphp script without any luck. Also tried setting an .htaccess file in /home/kloxo/httpd, but also doesn't seem to work..

Any ideas?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline thegost

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Weird webmail problem! Not choices, if type, php text fi
« Reply #6 on: 2013-03-29, 19:05:19 »
i'm faced to the same problem , my php version is 5.2.17 i tried to fixweb fixmail ... but that dosen't work
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.03 seconds with 18 queries.

web stats analysis