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. 2017-11-07, 23:31:46

Author Topic: Kloxo-MR new login screen don't work.  (Read 1981 times)

0 Members and 1 Guest are viewing this topic.

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Kloxo-MR new login screen don't work.
« on: 2013-08-22, 20:54:31 »
I have new html login screen files for my Kloxo-MR panel. I removed old files from '/usr/local/lxlabs/kloxo/httpdocs/login' and paste it myn, locally works whell, I modified form inside index.html with Kloxo-MR. But they dont work on server, I get error 404--- when acces panel.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo-MR new login screen don't work.
« Reply #1 on: 2013-08-22, 21:01:47 »
Read '/usr/local/lxlabs/kloxo/httpdocs/login/index.php':

Code: [Select]
<?php
ini_set("display_errors","1");

// use default index.php
if (!file_exists("./custom-index.php")) {
?>


<?php
if (
file_exists("./custom-inc.php")) {
// use user-define inc.php -- no override when kloxo update
$incfile "./custom-inc.php";
if (file_exists("./custom-inc2.php")) {
$incfile2 "./custom-inc2.php";
}
}
else {
// use default inc.php
$incfile "./inc.php";
if (file_exists("./inc2.php")) {
$incfile2 "./inc2.php";
}
}
?>

...

You can see if 'custom-index.php' exist, index.php use custom-index.php content instead index.php content itself. So, no need modified index.php directly but modified custom-index.php (you can copy index.php to custom-index.php for starting point).

The same way with inc.php and inc2.php (if exists).

This 'style' as the same as approach like template-based web and dns config.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR new login screen don't work.
« Reply #2 on: 2013-08-22, 21:31:26 »
Well, thank you, that fixed the problem and new login page custom-index.php its working perfect !
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo-MR new login screen don't work.
« Reply #3 on: 2013-08-22, 21:45:00 »
You can do to cp, disable, default and webmail page. See /home/kloxo/httpd.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR new login screen don't work.
« Reply #4 on: 2013-08-22, 21:52:27 »
That's just great :)  Thank you !
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR new login screen don't work.
« Reply #5 on: 2013-08-24, 12:40:09 »
Where is error page files located (index.php,etc) that loads when load IP on browser and its not mapped to any domain ?

Code: [Select]
If you are seeing this page, it means that web has not been configured for this domain on this server.

This could be due to the following causes:
Kloxo has not restarted the web server yet after you added the domain. Please wait for the web server to restart.
 
The domain is pointing to the wrong Kloxo server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses
 
If you are seeing this page when you try to access an IP like http://192.168.1.1, then that means that the IP has not yet been mapped to a domain. Go to client home -> ipaddresses -> ipaddress home -> domain config and map an IP to a domain.
 
Once you map an IP to a domain, then you have to make sure that the domain pings back to the same IP. Otherwise, if you try to access the domain, you will get this page. So IP -> domain.com should mean that domain.com pings to the same IP.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR new login screen don't work.
« Reply #6 on: 2013-08-24, 13:02:21 »
it was in default/inc.php
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR new login screen don't work.
« Reply #7 on: 2013-08-27, 16:22:21 »
Changing 'home/loxo/httpd/default' is restored to default after 'sh /script/cleanup' , while login page modifications remain the same after cleanup. No way to fix that?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.048 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM