I get an error on my host with revCMS V1.8

Results 1 to 6 of 6
  1. #1
    Newbie Thompy501 is offline
    MemberRank
    Mar 2011 Join Date
    NederlandLocation
    15Posts

    Support I get an error on my host with revCMS V1.8

    Hi,

    I'm setting up my habbo retro on host1free.com but i get an error.
    PHP Code:
    Parse errorsyntax errorunexpected T_STRINGexpecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/labbo/domains/plabbo.ntr5.com/public_html/global.php on line 29 
    On my localhost worked everything fine and, I had no problems at all on my localhost.
    This is the php file:
    PHP Code:
    <?php

        
    // Special Functions
     
        
    function filter($var)
        {
            return 
    mysql_real_escape_string(stripslashes(htmlspecialchars($var)));
        }

    if(!
    defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
    if(isset(
    $_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }
    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 'interface.core.php';
            require_once 
    'interface.engine.php';
            require_once 
    'interface.users.php';
            require_once 
    'interface.template.php';
         
            
    //TPL
            
    require_once 'interface.forms.php';
             
                
    //HTML
                
    require_once 'interface.html.php';
                 
                
    //CSS
                  
    require_once 'interface.css.php';
                 
                
    //JS
                    
    require_once 'interface.js.php';
                 
     
        
    //CLASSES
     
            //app
     
            
    require_once 'class.core.php';
            require_once 
    'class.engine.php';
            require_once 
    'class.users.php';
            require_once 
    'class.template.php';
         
            
    //MANAGEMENT
                
    require_once 'config.php';
                require_once 
    'recaptchalib.php';
                 
            
    //TPL
                
    require_once 'class.forms.php';
             
                
    //HTML
                    
    require_once 'class.html.php';
                 
                
    //CSS
                    
    require_once 'class.css.php';
                 
                
    //JS
                    
    require_once '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(); 
    ?>
    I don't know what to do about this problem...
    Can somebody help me?

    Greetz Thompy501


  2. #2
    Elite Member FR33Z is offline
    Member +Rank
    Mar 2012 Join Date
    CanadaLocation
    163Posts

    Re: I get an error on my host with revCMS V1.8

    Have you set all your directive links propperly? Make sure the public links directed to your site are not "localhost" make them the server/hamachi IP or your domain.

  3. #3
    Newbie Thompy501 is offline
    MemberRank
    Mar 2011 Join Date
    NederlandLocation
    15Posts

    Re: I get an error on my host with revCMS V1.8

    so you are saying that i have to check each file to look if each link works correctly? am i right?

  4. #4
    Elite Member FR33Z is offline
    Member +Rank
    Mar 2012 Join Date
    CanadaLocation
    163Posts

    Re: I get an error on my host with revCMS V1.8

    Well.... first explain where the error appears?

  5. #5
    *lurks* WJJ is offline
    Grand MasterRank
    May 2007 Join Date
    United KingdomLocation
    1,589Posts

    Re: I get an error on my host with revCMS V1.8

    What cms are you using?

  6. #6
    I don't even know azaidi is offline
    Grand MasterRank
    Apr 2010 Join Date
    the NetherlandsLocation
    2,065Posts

    Re: I get an error on my host with revCMS V1.8

    Quote Originally Posted by WJJ View Post
    What cms are you using?
    I really laughed at this #facepalm

    Ontopic: Ask your host to upgrade to PHP 5.3, 5.2 has issues with RevCMS



Advertisement