RevCMS News fix

n00b

n00b
Jun 20, 2012
235
38
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());

If this doesn't work I have no idea why it worked for me so yah.

Proof -

2iau1za.png


btw first actual help post so yah..
 

Users who are viewing this thread

Top