Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] When News page is called News.php it dosn't work, any other name work [HELP]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Vezel" data-source="post: 289113" data-attributes="member: 24702"><p>Hi! Im using RevCMS and my News page dosn't work, this is what happens when i go to the news page: <a href="http://prntscr.com/3s26z7" target="_blank">http://prntscr.com/3s26z7</a></p><p>Here is my news.php:</p><p>[PHP]<!DOCTYPE html></p><p><html lang="en"></p><p> <head></p><p> <meta http-equiv="content-type" content="text/html; charset=utf-8"></p><p> <title>{hotelName} - News</title></p><p> </p><p> </p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/common.css" type="text/css"></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/libs2.js"></script></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/visual.js"></script></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/libs.js"></script></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/common.js"></script></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/fullcontent.js"></script></p><p> <link rel="shortcut icon" href="app/tpl/skins/{skin}/static/images/favicon.gif" /></p><p> </p><p> <script type="text/javascript"></p><p> document.habboLoggedIn = true;</p><p> var habboName = "{username}";</p><p> var habboId = {userid};</p><p> var habboReqPath = "";</p><p> var habboStaticFilePath = "{url}/app/tpl/skins/Habbo";</p><p> var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";</p><p> var habboPartner = "";</p><p> var habboDefaultClientPopupUrl = "{url}/client";</p><p> window.name = "habboMain";</p><p> if (typeof HabboClient != "undefined") {</p><p> HabboClient.windowName = "eac955c8dbc88172421193892a3e98fc7402021a";</p><p> HabboClient.maximizeWindow = true;</p><p> }</p><p> </script></p><p> </p><p> <!--[if IE 8]></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/ie8.css" type="text/css"></p><p> <![endif]--></p><p> <!--[if lt IE 8]></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/ie.css" type="text/css" /></p><p> <![endif]--></p><p> <!--[if lt IE 7]></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/ie6.css" type="text/css" /></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/Custom-Habbo/js/pngfix.js"></script></p><p> <script type="text/javascript"></p><p> try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}</p><p> </script></p><p> <style type="text/css"></p><p> body { behavior: url({url}/app/tpl/skins/Custom-Habbo/js/csshover.htc); }</p><p> </style></p><p> <![endif]--></p><p> </head></p><p> </p><p> <body id="news"></p><p> <script src=""></script></p><p> <div id="overlay"></div></p><p> <div id="header-container"></p><p> <div id="header" class="clearfix"></p><p> <h1><a href="{url}/"></a></h1></p><p> <div id="subnavi"></p><p> <div id="subnavi-user"></p><p> <div style="margin-top:6px"></p><p> <img src="{url}/app/tpl/skins/{skin}/images/icons/message.gif" /> Welcome back, <b>{userName}</b>! &nbsp; &nbsp;</p><p> <img src="{url}/app/tpl/skins/{skin}/images/icons/stats.gif" /> {online} Users Online &nbsp; &nbsp;</p><p> <img src="{url}/app/tpl/skins/{skin}/images/icons/credits.gif" /> {coins} &nbsp; &nbsp;</p><p> <img src="{url}/app/tpl/skins/{skin}/images/icons/pixels.gif" /> {activityPoints} &nbsp; &nbsp;</p><p> </p><p></div></p><p> </p><p> </div></p><p> </p><p> <div id="to-hotel"></p><p> <a href="{url}/logout" class="new-button red-button" style="margin-right:5px;margin-left:5px;"><b>Logout</b><i></i></a></p><p> <a href="{url}/api.php" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName}</b><i></i></a></p><p> </div></p><p> </div></p><p> <ul id="navi"></p><p> <ul id="navi"><li id="tab-register-now" class="tab-register-now"><a href="{url}/me">{username} <img src="{url}/app/tpl/skins/Habbo/images/id.png" style="vertical-align: middle;"></a><span></span></li></p><p> <li class="selected"><strong>Community <img src="{url}/app/tpl/skins/{skin}/images/forum_2.gif" style="vertical-align: middle;"></strong><span></span></li></p><p> <li id="tab-register-now" class="tab-register-now"><a href="{url}/shop">Shop</a><span></span></li></p><p> <li><a href="{url}/Values">Rare Values</a><span></span></li></p><p> </ul></p><p> <div id="habbos-online"></p><p> <div id="content"></p><p> <div class="cbb "></p><p><span>{online} members online</span></div></p><p> </div></div></div></div></div></div></div></div></div></div></div></p><p> </div></p><p> </div></p><p> <div id="content-container"></p><p> <div id="navi2-container" class="pngbg"></p><p> <div id="navi2" class="pngbg clearfix"></p><p> <ul></p><p> <li class=""><a href="{url}/community">Community</a></li></p><p> <li class="selected">News</li></p><p> <li class=""><a href="{url}/staff">Staff</li></p><p> <li class=""><a href="{url}/events">Moderators</a></li></p><p> <li class=""><a href="{url}/topstats">Top Users</a></li></p><p> </ul></p><p> </div></p><p> </div></p><p> </p><p> <div id="container"></p><p> <div id="content" style="position: relative" class="clearfix"></p><p> <div id="column1" class="column"></p><p> <div class="habblet-container "> </p><p> <div class="cbb clearfix default "></p><p> <h2 class="title">News</h2></p><p> <div id="article-archive"></p><p> <ul></p><p> {newsList}</p><p> </p><p> </ul></p><p> </div></p><p> </div></p><p> </div></p><p> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> </div></p><p> <div id="column2" class="column"></p><p> <div class="habblet-container "> </p><p> <div class="cbb clearfix notitle "></p><p> <div id="article-wrapper"></p><p> <h2>{newsTitle}</h2></p><p> <div class="article-meta">Posted {newsDate}</div></p><p> </p><p> <div class="article-body"></p><p> {newsContent}</p><p> <br><br></p><p> <p><font face="Verdana" size="1"><b>- {newsAuthor}</b></p></p><p> <script type="text/javascript" language="Javascript"></p><p> document.observe("dom:loaded", function() {</p><p> $$('.article-images a').each(function(a) {</p><p> Event.observe(a, 'click', function(e) {</p><p> Event.stop(e);</p><p> Overlay.lightbox(a.href, "Image is loading");</p><p> });</p><p> });</p><p> </p><p> $$('a.article-2729').each(function(a) {</p><p> a.replace(a.innerHTML);</p><p> });</p><p> });</p><p> </script></p><p> </div></div></p><p> </div> </div></p><p> </p><p> </div> </div></p><p> </div></p><p> </div></p><p> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> <script type="text/javascript"></p><p> HabboView.run();</p><p> </script></p><p></p><p> <!--[if lt IE 7]></p><p> <script type="text/javascript"></p><p> Pngfix.doPngImageFix();</p><p> </script></p><p> <![endif]--></p><p></p><p> <?php include_once('footer.php'); ?> </p><p> <?php include_once('checktheban.php'); ?></p><p> </body></p><p></html>[/PHP]</p><p></p><p>Update: Ok, just figured out that if I change news.php to any other name the site works, anyide why?</p></blockquote><p></p>
[QUOTE="Vezel, post: 289113, member: 24702"] Hi! Im using RevCMS and my News page dosn't work, this is what happens when i go to the news page: [URL]http://prntscr.com/3s26z7[/URL] Here is my news.php: [PHP]<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>{hotelName} - News</title> <link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/common.css" type="text/css"> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/libs2.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/visual.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/libs.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/common.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/fullcontent.js"></script> <link rel="shortcut icon" href="app/tpl/skins/{skin}/static/images/favicon.gif" /> <script type="text/javascript"> document.habboLoggedIn = true; var habboName = "{username}"; var habboId = {userid}; var habboReqPath = ""; var habboStaticFilePath = "{url}/app/tpl/skins/Habbo"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "{url}/client"; window.name = "habboMain"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "eac955c8dbc88172421193892a3e98fc7402021a"; HabboClient.maximizeWindow = true; } </script> <!--[if IE 8]> <link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/ie8.css" type="text/css"> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/ie6.css" type="text/css" /> <script type="text/javascript" src="{url}/app/tpl/skins/Custom-Habbo/js/pngfix.js"></script> <script type="text/javascript"> try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {} </script> <style type="text/css"> body { behavior: url({url}/app/tpl/skins/Custom-Habbo/js/csshover.htc); } </style> <![endif]--> </head> <body id="news"> <script src=""></script> <div id="overlay"></div> <div id="header-container"> <div id="header" class="clearfix"> <h1><a href="{url}/"></a></h1> <div id="subnavi"> <div id="subnavi-user"> <div style="margin-top:6px"> <img src="{url}/app/tpl/skins/{skin}/images/icons/message.gif" /> Welcome back, <b>{userName}</b>! <img src="{url}/app/tpl/skins/{skin}/images/icons/stats.gif" /> {online} Users Online <img src="{url}/app/tpl/skins/{skin}/images/icons/credits.gif" /> {coins} <img src="{url}/app/tpl/skins/{skin}/images/icons/pixels.gif" /> {activityPoints} </div> </div> <div id="to-hotel"> <a href="{url}/logout" class="new-button red-button" style="margin-right:5px;margin-left:5px;"><b>Logout</b><i></i></a> <a href="{url}/api.php" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName}</b><i></i></a> </div> </div> <ul id="navi"> <ul id="navi"><li id="tab-register-now" class="tab-register-now"><a href="{url}/me">{username} <img src="{url}/app/tpl/skins/Habbo/images/id.png" style="vertical-align: middle;"></a><span></span></li> <li class="selected"><strong>Community <img src="{url}/app/tpl/skins/{skin}/images/forum_2.gif" style="vertical-align: middle;"></strong><span></span></li> <li id="tab-register-now" class="tab-register-now"><a href="{url}/shop">Shop</a><span></span></li> <li><a href="{url}/Values">Rare Values</a><span></span></li> </ul> <div id="habbos-online"> <div id="content"> <div class="cbb "> <span>{online} members online</span></div> </div></div></div></div></div></div></div></div></div></div></div> </div> </div> <div id="content-container"> <div id="navi2-container" class="pngbg"> <div id="navi2" class="pngbg clearfix"> <ul> <li class=""><a href="{url}/community">Community</a></li> <li class="selected">News</li> <li class=""><a href="{url}/staff">Staff</li> <li class=""><a href="{url}/events">Moderators</a></li> <li class=""><a href="{url}/topstats">Top Users</a></li> </ul> </div> </div> <div id="container"> <div id="content" style="position: relative" class="clearfix"> <div id="column1" class="column"> <div class="habblet-container "> <div class="cbb clearfix default "> <h2 class="title">News</h2> <div id="article-archive"> <ul> {newsList} </ul> </div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> </div> <div id="column2" class="column"> <div class="habblet-container "> <div class="cbb clearfix notitle "> <div id="article-wrapper"> <h2>{newsTitle}</h2> <div class="article-meta">Posted {newsDate}</div> <div class="article-body"> {newsContent} <br><br> <p><font face="Verdana" size="1"><b>- {newsAuthor}</b></p> <script type="text/javascript" language="Javascript"> document.observe("dom:loaded", function() { $$('.article-images a').each(function(a) { Event.observe(a, 'click', function(e) { Event.stop(e); Overlay.lightbox(a.href, "Image is loading"); }); }); $$('a.article-2729').each(function(a) { a.replace(a.innerHTML); }); }); </script> </div></div> </div> </div> </div> </div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> <script type="text/javascript"> HabboView.run(); </script> <!--[if lt IE 7]> <script type="text/javascript"> Pngfix.doPngImageFix(); </script> <![endif]--> <?php include_once('footer.php'); ?> <?php include_once('checktheban.php'); ?> </body> </html>[/PHP] Update: Ok, just figured out that if I change news.php to any other name the site works, anyide why? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] When News page is called News.php it dosn't work, any other name work [HELP]
Top