I have seen there are many people facing problem with magic quotes on. The '/' inserted in custom pages, articles and news. I was also facing same problem. Now I have found a function to eliminate the problem.
1. Insert this function at the bottom of maincore.php
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]function no_magic_quotes($query) {
$data = explode("\\",$query);
$cleaned = implode("",$data);
return $cleaned;
}[/syntaxhighlighter]
Source :http://php.net/manual/en/function.stripslashes.php
2. Now open /themes/yourthemename/theme.php
Find
function render_news($subject, $news, $info) {
After the line insert:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]$news=no_magic_quotes($news);[/syntaxhighlighter]
Find
function render_article($subject, $article, $info) {
After it add:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]$article = no_magic_quotes($article);[/syntaxhighlighter]
This has solved my problem.