Getting HTTP Error 500 - R63b FluxRP CMS, IIS.

Vik

Member
Feb 2, 2019
31
15
As the title says above I'm getting this error on my site:

It's basically a blank error saying HTTP Error 500.

PHP:
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }

$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host
$_CONFIG['mysql']['username'] = 'root'; //MySQL username
$_CONFIG['mysql']['password'] = ''; //MySQL password
$_CONFIG['mysql']['database'] = 'roleplay'; //MySQL database
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
*    Hotel management  - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['url'] = 'http://localhost'; //Does not end with a "/"

$_CONFIG['hotel']['name'] = 'FluxRP';
$_CONFIG['hotel']['server_ip'] = '127.0.0.1';

$_CONFIG['hotel']['cdnurl'] = 'http://localhost';

$_CONFIG['hotel']['name'] = 'FluxRP';
$_CONFIG['hotel']['facebook'] = '';
$_CONFIG['hotel']['in_maint'] = false;
$_CONFIG['hotel']['motto'] = 'Civilian';
$_CONFIG['hotel']['credits'] = 10;
$_CONFIG['hotel']['pixels'] = 0;
$_CONFIG['hotel']['look'] = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100';
$_CONFIG['template']['style'] = 'Theme';
 
$_CONFIG['hotel']['online_text'] = 'Civilian(s) Online!';

?>
Any help would be great!
 

Vik

Member
Feb 2, 2019
31
15
Do you have web.config? Is URL Rewrite installed?
Yes I have a web.config right here bud. Thanks for the reply!
PHP:
<?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>
                <rule name="Imported Rule 6" stopProcessing="true">
                    <match url="^profile/3$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=profile3" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 7" stopProcessing="true">
                    <match url="^profile/4$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=profile4" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 8" stopProcessing="true">
                    <match url="^business/create$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=create" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 9" stopProcessing="true">
                    <match url="^identity/avatar$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitya" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 10" stopProcessing="true">
                    <match url="^identity/settings$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitys" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 11" stopProcessing="true">
                    <match url="^identity/email$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitye" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 12" stopProcessing="true">
                    <match url="^identity/password$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identityp" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 13" stopProcessing="true">
                    <match url="^identity/pin$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitypin" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 14" stopProcessing="true">
                    <match url="^identity/password_change$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identityp&amp;do=edit" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 15" stopProcessing="true">
                    <match url="^identity/email_change$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitye&amp;do=edit" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 16" stopProcessing="true">
                    <match url="^identity/pin_disable$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitypin&amp;do=edit" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 17" stopProcessing="true">
                    <match url="^news/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 18" stopProcessing="true">
                    <match url="^articles/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 19">
                    <match url="^user/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=user&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 20">
                    <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=user&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 21">
                    <match url="^corp/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=jobsview&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 22">
                    <match url="^corps/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=jobsview&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 23">
                    <match url="^gang/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=gangs&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 24">
                    <match url="^gangs/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=gangs&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 25">
                    <match url="^creditflow/confirm/5102/9616/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=creditflow&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 26">
                    <match url="^creditflow/validate/5102/([a-zA-Z0-9_-]+)(|/)/21$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=creditflowverify&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 27">
                    <match url="^creditflow/proceedWithPayment/5102/([a-zA-Z0-9_-]+)/21(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=creditflowpwp&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 28">
                    <match url="^(creditflow/redeemvoucher)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=redeemvoucher" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 29">
                    <match url="^(staff/owners)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffo" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 30">
                    <match url="^(staff/devs)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffdev" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 31">
                    <match url="^(staff/builders)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffbuild" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 32">
                    <match url="^(staff/managers)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffmgr" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 33">
                    <match url="^(staff/admins)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffadm" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 34">
                    <match url="^(staff/mods)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffmod" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 35">
                    <match url="^(account/verify)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pinverify" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 36">
                    <match url="^(account/newpin)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pinnew" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 37">
                    <match url="^(client/login)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=clientlogin" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 38">
                    <match url="^(credits/history)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=creditshistory" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 39">
                    <match url="^(staff/events)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffe" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 40">
                    <match url="^(staff/seniors)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffsm" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 41">
                    <match url="^support/new/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=newticket&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 42">
                    <match url="^support/ticket/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=ticket&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 43">
                  <match url="^dismiss/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                  <action type="Rewrite" url="index.php?url=dismiss&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 44">
                    <match url="^(games/brawl)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=gamesbrawl" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 45">
                    <match url="^(games/cw)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=gamescw" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 48">
                    <match url="^(games/mw)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=gamesmw" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 46">
                    <match url="^(client/verify)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=clientverify" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 47">
                    <match url="^(credits/loyalty_points)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=creditsdiamonds" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 49" stopProcessing="true">
                    <match url="^identity/pin_enable$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitypin&amp;doe=edit" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 50">
                    <match url="^(me/voted)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=me&amp;voted={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 51">
                    <match url="^account/password/resetIdentity/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identityreset&amp;token={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 52">
                    <match url="^minimail/loadMessage(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/index.php?url=minimail-view" />
                </rule>
                <rule name="Imported Rule 53">
                    <match url="^minimail/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/index.php?url=minimail?cmd={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 54" stopProcessing="true">
                    <match url="^identity/pin_reset$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitypin&amp;doee=edit" appendQueryString="true" />
                </rule>
              <rule name="Imported Rule 55" stopProcessing="true">
                <match url="^index/novote/" ignoreCase="false" />
                <action type="Rewrite" url="index.php?url=index&amp;novote=1" appendQueryString="true" />
              </rule>
              <rule name="Forum Threads">
                <match url="^thread/([0-9]+)" />
                <action type="Rewrite" url="index.php?url=thread&amp;threadid={R:1}" />
                </rule>
                <rule name="Forum Posts">
                <match url="^post/([0-9]+)" />
                <action type="Rewrite" url="index.php?url=post&amp;postid={R:1}" />
                </rule>
              
                <rule name="Forum New Thread">
                <match url="^create/([0-9]+)" />
                <action type="Rewrite" url="index.php?url=newthread&amp;thread={R:1}" />
                </rule>
                
                <rule name="Profile Page">
                <match url="^profile/([a-zA-Z0-9_-]+)" />
                <action type="Rewrite" url="index.php?url=profile&amp;user={R:1}" />
                </rule>
                <rule name="Apply Job">
                <match url="^apply/([0-9]+)" />
                <action type="Rewrite" url="index.php?url=jobapply&amp;id={R:1}" />
                </rule>
            </rules>
        </rewrite>
        <security>
        <requestFiltering>
          <filteringRules>
            <!-- name the rule -->
            <filteringRule name="user agent deny" scanUrl="false" scanQueryString="false">
              <scanHeaders>
                <!-- apply rule to user-agent header -->
                <add requestHeader="user-agent" />
              </scanHeaders>
              <appliesTo>
                <clear />
                <!-- only apply rule to php files -->
                <add fileExtension=".php" />
              </appliesTo>
              <denyStrings>
                <clear />
                <!-- block the yandex bot -->
                <add string="wordpress" />
              </denyStrings>
            </filteringRule>
          </filteringRules>
        </requestFiltering>
     </security>
    </system.webServer>
</configuration>
I also do have URL Rewrite installed - I'm sure :p
 

Users who are viewing this thread

Top