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 Releases
CMS Releases
RevCMS News fix
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="n00b" data-source="post: 116011" data-attributes="member: 18545"><p>Hello guys, </p><p> </p><p>I recently found a fix to the RevCMS news error where it comes up in code instead of normal text to fix it do the following - </p><p> </p><p>go to hk/news2.php in your xampp or IIS find line 66 and replace the code that is there with</p><p> </p><p>-[PHP] mysql_query("INSERT INTO cms_news (title,shortstory,longstory,published,image,author, campaign, campaignimg) VALUES ('" . filter($_SESSION["title"]) . "', '" . filter($_SESSION["shortstory"]) . "', '" . ($_SESSION["longstory"]) . "', '" . time() . "', '" . filter($_POST["topstory"]) . "', '" . filter($author) . "', 0, 'default')") or die(mysql_error());[/PHP]</p><p> </p><p>If this doesn't work I have no idea why it worked for me so yah.</p><p> </p><p>Proof -</p><p> </p><p><img src="http://i47.tinypic.com/2iau1za.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p>btw first actual help post so yah..</p></blockquote><p></p>
[QUOTE="n00b, post: 116011, member: 18545"] Hello guys, I recently found a fix to the RevCMS news error where it comes up in code instead of normal text to fix it do the following - go to hk/news2.php in your xampp or IIS find line 66 and replace the code that is there with -[PHP] mysql_query("INSERT INTO cms_news (title,shortstory,longstory,published,image,author, campaign, campaignimg) VALUES ('" . filter($_SESSION["title"]) . "', '" . filter($_SESSION["shortstory"]) . "', '" . ($_SESSION["longstory"]) . "', '" . time() . "', '" . filter($_POST["topstory"]) . "', '" . filter($author) . "', 0, 'default')") or die(mysql_error());[/PHP] If this doesn't work I have no idea why it worked for me so yah. Proof - [IMG]http://i47.tinypic.com/2iau1za.png[/IMG] btw first actual help post so yah.. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
RevCMS News fix
Top