UberCMS Logout Blank Page!

Results 1 to 7 of 7
  1. #1
    Elite Member MedinaJoshua is offline
    Member +Rank
    Oct 2009 Join Date
    inetpub/wwwrootLocation
    114Posts

    sad UberCMS Logout Blank Page!

    Hello i dont know why my logout on uberCMS is blank you can try it on my hotel Hangout: Login
    It doesn't give any errors its just a blank page

    Here is my logout.php
    Code:
    <?php
    	/*
    	  	     |
    		.   .|---.,---.,---.
    		|   ||   ||---'|     	UberCMS 2.0
    		`---'`---'`---'`
    			UberCMS
    			Coded originally by Meth0d (2010-2011)
    			Continued by Jonty (2011-now)
    			
    			Build 2.0.0 SS, Public
    	*/
    
    define('IN_MAINTENANCE', true);
    define('BAN_PAGE', true);
    
    require_once "global.php";
    
    if (LOGGED_IN)
    {
    	$core->Mus('signOut', USER_ID);
    }
    
    session_destroy();
    
    setcookie('rememberme', 'false', time() - 3600, '/');
    setcookie('rememberme_token', '-', time() - 3600, '/');
    
    unset($_COOKIE['rememberme']);
    unset($_COOKIE['rememberme_token']);
    
    header("Location: " . WWW . "/account/logout_ok");
    exit;
    
    ?>
    Last edited by MedinaJoshua; 04-03-16 at 02:49 PM.


  2. #2
    Mr VPS - Cheap VPS Server NOC is offline
    Grand MasterRank
    Sep 2011 Join Date
    Liverpool, UKLocation
    844Posts

    Re: UberCMS Logout Blank Page!

    Check your rewrite is set correctly for the logout

  3. #3
    Elite Member MedinaJoshua is offline
    Member +Rank
    Oct 2009 Join Date
    inetpub/wwwrootLocation
    114Posts

    Re: UberCMS Logout Blank Page!

    Quote Originally Posted by Johno View Post
    Check your rewrite is set correctly for the logout
    This is my URL Rewrite on IIS
    http://prnt.sc/ab3eb5

    Here is my web config
    Spoiler:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name="Imported Rule 1">
    <match url="^(.*)\.html" ignoreCase="false" />
    <action type="Rewrite" url="{R:1}\.php" />
    </rule>
    <rule name="Imported Rule 2">
    <match url="^out/([^/]+)(|/)$" ignoreCase="false" />
    <conditions logicalGrouping="MatchAll">
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
    <add input="{REQUEST_FILENAME}\.php" matchType="IsFile" ignoreCase="false" />
    </conditions>
    <action type="Rewrite" url="/out.php?out={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 3">
    <match url="^crossdomain.xml$" ignoreCase="false" />
    <action type="Rewrite" url="/crossdomain.php" />
    </rule>
    <rule name="Imported Rule 4">
    <match url="^gamedata/external(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/externals.php" />
    </rule>
    <rule name="Imported Rule 5">
    <match url="^vip/vouchers(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/redeem.php" />
    </rule>
    <rule name="Imported Rule 6">
    <match url="^cacheCheck(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/cacheCheck.php" />
    </rule>
    <rule name="Imported Rule 7">
    <match url="^vote(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/api.php" />
    </rule>
    <rule name="Imported Rule 8">
    <match url="^texts(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/externals.php?id=external_flash_texts" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 9">
    <match url="^vars(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/externals.php?id=external_variables" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 10">
    <match url="^productdata(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/gamedata/ACTIVE/productdata.txt" />
    </rule>
    <rule name="Imported Rule 11">
    <match url="^furnidata(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/gamedata/ACTIVE/furnidata.txt" />
    </rule>
    <rule name="Imported Rule 12">
    <match url="^access_denied(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/access_denied.php" />
    </rule>
    <rule name="Imported Rule 13">
    <match url="^client_denied(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/access_denied.php?gateway=client?novote" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 14">
    <match url="^order/vip(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/ordervip.php?pass=true" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 15">
    <match url="^home/([^/]+)/id(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/home.php?qryId={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 16">
    <match url="^home/([^/]+)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/home.php?qryName={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 17">
    <match url="^avatarimage(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/inc/imager.php?figure={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 18">
    <match url="^quickmenu/friends_all(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/quick-friends.php" />
    </rule>
    <rule name="Imported Rule 19">
    <match url="^quickmenu/groups(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/quick-groups.php" />
    </rule>
    <rule name="Imported Rule 20">
    <match url="^quickmenu/rooms(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/quick-rooms.php" />
    </rule>
    <rule name="Imported Rule 21">
    <match url="^security_check(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="security_check.php" />
    </rule>
    <rule name="Imported Rule 22">
    <match url="^profile(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/profile.php" />
    </rule>
    <rule name="Imported Rule 23">
    <match url="^values(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/values.php" />
    </rule>
    <rule name="Imported Rule 24">
    <match url="^client(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/newclient.php" />
    </rule>
    <rule name="Imported Rule 25">
    <match url="^flash_client_error(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/client_error.php" />
    </rule>
    <rule name="Imported Rule 26">
    <match url="^client_error(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/client_error.php" />
    </rule>
    <rule name="Imported Rule 27">
    <match url="^me(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/me.php" />
    </rule>
    <rule name="Imported Rule 28">
    <match url="^login_popup(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/login-popup.php" />
    </rule>
    <rule name="Imported Rule 29">
    <match url="^buyvip(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/vippage.php" />
    </rule>
    <rule name="Imported Rule 30">
    <match url="^community(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/community.php" />
    </rule>
    <rule name="Imported Rule 31">
    <match url="^community/staff(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/staff.php" />
    </rule>
    <rule name="Imported Rule 32">
    <match url="^credits(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/credits.php" />
    </rule>
    <rule name="Imported Rule 33">
    <match url="^credits/pixels(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/pixels.php" />
    </rule>
    <rule name="Imported Rule 34">
    <match url="^credits/club(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/habboclub.php" />
    </rule>
    <rule name="Imported Rule 35">
    <match url="^credits/habboclub(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/habboclub.php" />
    </rule>
    <rule name="Imported Rule 36">
    <match url="^credits/uberclub(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/habboclub.php" />
    </rule>
    <rule name="Imported Rule 37">
    <match url="^credits/uberclub/tryout(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/clubtryout.php" />
    </rule>
    <rule name="Imported Rule 38">
    <match url="^credits/habboclub/tryout(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/clubtryout.php" />
    </rule>
    <rule name="Imported Rule 39">
    <match url="^register(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/register.php" />
    </rule>
    <rule name="Imported Rule 40">
    <match url="^register_submit(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/register.php?doSubmit" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 41">
    <match url="^register_messages(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/register-messages.php" />
    </rule>
    <rule name="Imported Rule 42">
    <match url="^register/cancel(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/register-cancel.php" />
    </rule>
    <rule name="Imported Rule 43">
    <match url="^register/welcome(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/welcome.php" />
    </rule>
    <rule name="Imported Rule 44">
    <match url="^register/undefined(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/index.php" />
    </rule>
    <rule name="Imported Rule 45">
    <match url="^vip/shop(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/vipshop.php" />
    </rule>
    <rule name="Imported Rule 46">
    <match url="^vip/getpoints(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/vippoints.php" />
    </rule>
    <rule name="Imported Rule 47">
    <match url="^account/policy-verify(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/policyver.php" />
    </rule>
    <rule name="Imported Rule 48">
    <match url="^account/password/forgot(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/forgot.php" />
    </rule>
    <rule name="Imported Rule 49">
    <match url="^account/submit(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/index.php" />
    </rule>
    <rule name="Imported Rule 50">
    <match url="^account/logout(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/logout.php" />
    </rule>
    <rule name="Imported Rule 51">
    <match url="^account/logout_ok(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/logout-ok.php" />
    </rule>
    <rule name="Imported Rule 52">
    <match url="^account/disconnected(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/disconnected.php" />
    </rule>
    <rule name="Imported Rule 53">
    <match url="^articles(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/article.php?mostRecent" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 54">
    <match url="^articles/archive(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/article.php?mostRecent&amp;archiveMode" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 55">
    <match url="^articles/([^/]+)/in/archive(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/article.php?rel={R:1}&amp;archiveMode" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 56">
    <match url="^articles/([^/]+)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/article.php?rel={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 57">
    <match url="^articles/category/([^/]+)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/article.php?category={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 58">
    <match url="^myhabbo/save(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/myhabbo/save.php" />
    </rule>
    <rule name="Imported Rule 59">
    <match url="^home/(.*)/startSession/(.*)$" ignoreCase="false" />
    <action type="Rewrite" url="/startSession.php?id={R:2}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 60">
    <match url="^home/([^/]+)/id(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/home.php?qryId={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 61">
    <match url="^home/([^/]+)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/home.php?qryName={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 62">
    <match url="^myhabbo/cancel/(.*)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/myhabbo/cancel.php?id={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 63">
    <match url="^myhabbo/(.*)/(.*)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/myhabbo/{R:1}_{R:2}.php" />
    </rule>
    <rule name="Imported Rule 64">
    <match url="^register/undefined/([^/]+)$" ignoreCase="false" />
    <action type="Rewrite" url="/me.php" />
    </rule>
    <rule name="Imported Rule 65">
    <match url="^habblet/cproxy(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/habbletProxy.php" />
    </rule>
    <rule name="Imported Rule 66">
    <match url="^habblet/ajax/([^/]+)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/habbletAjax.php?cmd={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 67">
    <match url="^habblet/([^/]+)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/habblet.php?cmd={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 68">
    <match url="^myhabbo/([^.]+)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/myhabbo.php?cmd={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 69">
    <match url="^minimail/loadMessage(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/minimail-view.php" />
    </rule>
    <rule name="Imported Rule 70">
    <match url="^minimail/([^/]+)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/minimail.php?cmd={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 71">
    <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
    <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 72">
    <match url="^badgeshop$" ignoreCase="false" />
    <action type="Rewrite" url="./badgeshop.php" />
    </rule>
    <rule name="Imported Rule 73">
    <match url="^home/([^/]+)/id(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/home.php?username={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 74">
    <match url="^home/([^/]+)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/home.php?username={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 75">
    <match url="^myhabbo/save(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/myhabbo/save.php" />
    </rule>
    <rule name="Imported Rule 76">
    <match url="^home/(.*)/startSession/(.*)$" ignoreCase="false" />
    <action type="Rewrite" url="/startSession.php?id={R:2}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 77">
    <match url="^home/([^/]+)/id(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/home.php?qryId={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 78">
    <match url="^home/([^/]+)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/home.php?qryName={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 79">
    <match url="^myhabbo/cancel/(.*)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/myhabbo/cancel.php?id={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 80">
    <match url="^myhabbo/(.*)/(.*)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/myhabbo/{R:1}_{R:2}.php" />
    </rule>
    <rule name="Imported Rule 81">
    <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
    <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 82">
    <match url="^habblet/habbosearchcontent(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/habbosearchcontent.php" />
    </rule>
    <rule name="Imported Rule 83">
    <match url="^evip(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/evip.php" />
    </rule>
    <rule name="Imported Rule 84">
    <match url="^pvip(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/pvip.php" />
    </rule>
    <rule name="Imported Rule 85">
    <match url="^rvip(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="/rvip.php" />
    </rule>
    </rules>
    </rewrite>
    <httpErrors errorMode="DetailedLocalOnly">
    <remove statusCode="401" subStatusCode="-1" />
    <remove statusCode="403" subStatusCode="-1" />
    <remove statusCode="404" subStatusCode="-1" />
    <remove statusCode="405" subStatusCode="-1" />
    <remove statusCode="406" subStatusCode="-1" />
    <remove statusCode="412" subStatusCode="-1" />
    <remove statusCode="500" subStatusCode="-1" />
    <remove statusCode="501" subStatusCode="-1" />
    <remove statusCode="502" subStatusCode="-1" />
    <error statusCode="502" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
    <error statusCode="501" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
    <error statusCode="500" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
    <error statusCode="412" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
    <error statusCode="406" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
    <error statusCode="405" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
    <error statusCode="404" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
    <error statusCode="403" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
    <error statusCode="401" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
    </httpErrors>
    <handlers>
    <add name="FastCGI" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Unspecified" />
    </handlers>
    </system.webServer>
    </configuration>

  4. #4
    :joy: Jonteh is offline
    Grand MasterRank
    Apr 2007 Join Date
    New York, USALocation
    3,372Posts

    Re: UberCMS Logout Blank Page!

    Enable PHP Sockets or comment this line:

    Code:
    $core->Mus('signOut', USER_ID);

  5. #5
    Elite Member MedinaJoshua is offline
    Member +Rank
    Oct 2009 Join Date
    inetpub/wwwrootLocation
    114Posts

    Re: UberCMS Logout Blank Page!

    Quote Originally Posted by Jonteh View Post
    Enable PHP Sockets or comment this line:

    Code:
    $core->Mus('signOut', USER_ID);
    Sorry i dont know how.
    can you teach me?

  6. #6
    :joy: Jonteh is offline
    Grand MasterRank
    Apr 2007 Join Date
    New York, USALocation
    3,372Posts

    Re: UberCMS Logout Blank Page!

    Quote Originally Posted by MedinaJoshua View Post
    Sorry i dont know how.
    can you teach me?
    change

    Code:
    $core->Mus('signOut', USER_ID);
    to

    Code:
    //$core->Mus('signOut', USER_ID);

  7. #7
    Elite Member MedinaJoshua is offline
    Member +Rank
    Oct 2009 Join Date
    inetpub/wwwrootLocation
    114Posts

    Re: UberCMS Logout Blank Page!

    Quote Originally Posted by Jonteh View Post
    change

    Code:
    $core->Mus('signOut', USER_ID);
    to

    Code:
    //$core->Mus('signOut', USER_ID);
    Thank you so much! :D
    Anyways can you check this if it is correct : http://forum.ragezone.com/f333/automatic-vip-1096795/

    - - - Updated - - -

    Quote Originally Posted by Jonteh View Post
    change

    Code:
    $core->Mus('signOut', USER_ID);
    to

    Code:
    //$core->Mus('signOut', USER_ID);
    How about this every rooms using ID not name on rooms table. how do i change the owner id to owner name?
    Code:
    <span class="room-owner">Owner: <a href="%www%/home/' . uberUsers::name2id($room['owner']) . '/id">' . clean($room['owner']) . '</a></span>



Advertisement