RevCMS help!

Tony Wolf

Member
Oct 6, 2011
321
20
Looking at the picture, I get black like all page! How can I fix it, as the black will be away ..
You must be registered for see images attach
 

Wickd

The first member of the Knights of the Pink Table
Jan 15, 2013
1,936
612
Get a new working layout you need new global.php cos thats old version for skin named Mango.
 

Wickd

The first member of the Knights of the Pink Table
Jan 15, 2013
1,936
612
K,something like this
n2ikq9.png
 

Wickd

The first member of the Knights of the Pink Table
Jan 15, 2013
1,936
612
k,go to global.php that is located in xampp.htdocs.
Open delete everything in it and paste this code
Code:
<?php
if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }
   
function filter($var)
{
    return mysql_real_escape_string(stripslashes(htmlspecialchars($var)));
}

function clean($strInput = '', $ignoreHtml = false, $nl2br = false) {
    return CleanStringForOutput($strInput, $ignoreHtml, $nl2br);
}

function CleanStringForOutput($strInput = '', $ignoreHtml = false, $nl2br = false)
{
    $strInput = stripslashes(trim($strInput));

    if (!$ignoreHtml)
        $strInput = htmlentities($strInput);
   
    if ($nl2br)
        $strInput = nl2br($strInput);

    return $strInput;
}

if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
error_reporting(E_ALL ^ E_NOTICE);

define('A', 'app/');
define('I', 'interfaces/');
define('M', 'management/');
define('T', 'tpl/');


//REVOLUTION

use Revolution as Rev;


    //INTERFACES
   
        require_once A . I . 'interface.core.php';
       
        require_once A . I . 'interface.engine.php';
   
        require_once A . I . 'interface.users.php';
   
        require_once A . I . 'interface.template.php';
       
        //TPL
       
            require_once A . T . I . 'interface.forms.php';
           
            //HTML
           
                require_once A . T . I . 'interface.html.php';
               
            //CSS
               
                require_once A . T . I . 'interface.css.php';
               
            //JS
               
                require_once A . T . I . 'interface.js.php';
               
   
    //CLASSES
   
        //app
   
        require_once A . 'class.core.php';
       
        require_once A . 'class.engine.php';
       
        require_once A . 'class.users.php';
       
        require_once A . 'class.template.php';
       
        //MANAGEMENT
       
            require_once A . M . 'config.php';
           
            require_once A . M . 'recaptchalib.php';
               
        //TPL
       
            require_once A . T . 'class.forms.php';
           
            //HTML
               
                require_once A . T . 'class.html.php';
               
            //CSS
               
                require_once A . T . 'class.css.php';
               
            //JS
               
                require_once A . T . 'class.js.php';
       
       
    //OBJ
   
    $core = new Rev\core();
       
    $engine = new Rev\engine();   
       
    $users = new Rev\users();
       
    $template = new Rev\template();
       
    $template->form = new Rev\forms();
       
    $template->html = new Rev\html();
       
    $template->css = new Rev\css();
       
    $template->js = new Rev\js();
       
    //START   
   
    session_start();
   
    $engine->Initiate();
   
    $template->Initiate();
   
?>
 

Tony Wolf

Member
Oct 6, 2011
321
20
k,go to global.php that is located in xampp.htdocs.
Open delete everything in it and paste this code
Code:
<?php
if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }
  
function filter($var)
{
    return mysql_real_escape_string(stripslashes(htmlspecialchars($var)));
}

function clean($strInput = '', $ignoreHtml = false, $nl2br = false) {
    return CleanStringForOutput($strInput, $ignoreHtml, $nl2br);
}

function CleanStringForOutput($strInput = '', $ignoreHtml = false, $nl2br = false)
{
    $strInput = stripslashes(trim($strInput));

    if (!$ignoreHtml)
        $strInput = htmlentities($strInput);
  
    if ($nl2br)
        $strInput = nl2br($strInput);

    return $strInput;
}

if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
error_reporting(E_ALL ^ E_NOTICE);

define('A', 'app/');
define('I', 'interfaces/');
define('M', 'management/');
define('T', 'tpl/');


//REVOLUTION

use Revolution as Rev;


    //INTERFACES
  
        require_once A . I . 'interface.core.php';
      
        require_once A . I . 'interface.engine.php';
  
        require_once A . I . 'interface.users.php';
  
        require_once A . I . 'interface.template.php';
      
        //TPL
      
            require_once A . T . I . 'interface.forms.php';
          
            //HTML
          
                require_once A . T . I . 'interface.html.php';
              
            //CSS
              
                require_once A . T . I . 'interface.css.php';
              
            //JS
              
                require_once A . T . I . 'interface.js.php';
              
  
    //CLASSES
  
        //app
  
        require_once A . 'class.core.php';
      
        require_once A . 'class.engine.php';
      
        require_once A . 'class.users.php';
      
        require_once A . 'class.template.php';
      
        //MANAGEMENT
      
            require_once A . M . 'config.php';
          
            require_once A . M . 'recaptchalib.php';
              
        //TPL
      
            require_once A . T . 'class.forms.php';
          
            //HTML
              
                require_once A . T . 'class.html.php';
              
            //CSS
              
                require_once A . T . 'class.css.php';
              
            //JS
              
                require_once A . T . 'class.js.php';
      
      
    //OBJ
  
    $core = new Rev\core();
      
    $engine = new Rev\engine();  
      
    $users = new Rev\users();
      
    $template = new Rev\template();
      
    $template->form = new Rev\forms();
      
    $template->html = new Rev\html();
      
    $template->css = new Rev\css();
      
    $template->js = new Rev\js();
      
    //START  
  
    session_start();
  
    $engine->Initiate();
  
    $template->Initiate();
  
?>

Have done it .. But still have a black background.
 

Users who are viewing this thread

Top