500 error

EngeldesTodes

Deutsch Techno-Freak WIR SIND EIN
Feb 21, 2011
1,075
77
Ok got everything set up but i get this error the 500 error here the image can anyone help me on that
 

Attachments

  • 500.jpg
    500.jpg
    161.9 KB · Views: 15
Last edited:

bodge

ayy lmao
Oct 31, 2011
406
54
Check your "web.config" set-up in the root. If you don't have one use this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Imported Rule 1">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 2">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 3">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
                <rule name="Imported Rule 4">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
Remember to delete the .htaccess
 

EngeldesTodes

Deutsch Techno-Freak WIR SIND EIN
Feb 21, 2011
1,075
77
Check your "web.config" set-up in the root. If you don't have one use this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Imported Rule 1">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 2">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 3">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
                <rule name="Imported Rule 4">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
Remember to delete the .htaccess
right that now works but i got another problem
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in C:\Inetpub\vhosts\xotel.co\inetpub\wwwroot\global.php on line 22
PHP:
<?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 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();
   
?>
any help would be good on that
 

Users who are viewing this thread

Top