nukeSEO.com - PHPNuke SEO Search engine optimization, professional tools including nukeSEO, nukeSPAM, nukeFEED, nukePIE, nukeWYSIWYG and more

 

. Welcome to nukeSEO.com  ! 
.
.
.

Tag This



.
nukeSEO.com: Forums


 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fatal error: Call to undefined function: kses_no_null() in..
 
 
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeWYSIWYG (tm)
View previous topic :: View next topic  
Author Message
Dauthus
Newbie
Newbie


Joined: Feb 19, 2006
Posts: 2

PostPosted: Fri Jul 21, 2006 11:52 pm    Post subject: Fatal error: Call to undefined function: kses_no_null() in.. Reply with quote

Fatal error: Call to undefined function: kses_no_null() in /xxx/xxxxxx/xxxxxxx.xxx/xxxxx/mainfile.php on line 1038

Ok, this has me a little perplexed. That exact same mainfile.php works fine on an Apache2Triad installation on my home computer. Any ideas what would cause this?

I actually set this up on my server at home and tried it before I moved it to the online server.
  
Back to top
View user's profile Send private message
kguske
Site Admin
Site Admin


Joined: May 12, 2005
Posts: 875

PostPosted: Mon Jul 24, 2006 9:59 pm    Post subject: Re: Fatal error: Call to undefined function: kses_no_null() Reply with quote

I haven't see that issue...but I'll investigate.
_________________
  
Back to top
View user's profile Send private message Visit poster's website
Jolanta
Newbie
Newbie


Joined: Nov 11, 2006
Posts: 1

PostPosted: Sat Nov 11, 2006 2:02 am    Post subject: Re: Fatal error: Call to undefined function: kses_no_null() Reply with quote

Hi

I have the same issue... using Nuke 7.8

Any ideas anyone... ?

Thanks

Jolanta
  
Back to top
View user's profile Send private message
kguske
PostPosted: Sat Nov 11, 2006 2:34 am    Post subject: Re: Fatal error: Call to undefined function: kses_no_null() Reply with quote

There should be code in the mainfile check_html function:
Code:
   if(!function_exists(kses_no_null))

   {
      @include_once(INCLUDE_PATH."includes/kses/kses.php");
   }

This loads the kses HTML filter. If that code isn't there or the kses.php file isn't in the includes/kses directory, the referenced errors could occur.
  
Back to top
mrparanormal
Newbie
Newbie


Joined: May 18, 2007
Posts: 2

PostPosted: Fri May 18, 2007 1:01 pm    Post subject: Re: Fatal error: Call to undefined function: kses_no_null() Reply with quote

I got the same error while installing it in nuke 7.6 and I put the kes.php in includes/kses/kses.php, and the code you mentioned I added it to and still got the error heres the code I replaced the function check_html with

function check_html ($string, $allowed_html = "", $allowed_protocols = array('http', 'https', 'ftp', 'news', 'nntp', 'gopher', 'mailto'))
{
$stop = FALSE;
if(!function_exists(kses_no_null))
{
@include_once(INCLUDE_PATH."includes/kses/kses.php");
}
if (get_magic_quotes_gpc() == 1 )
{
$string = stripslashes($string );
}
$hotHtml = "nohtml";
$Zstrip = stripos_clone($allowed_html, $hotHtml);
if ($Zstrip === false)
{
global $AllowableHTML;
$allowed_html = $AllowableHTML;
} else {
$allowed_html = array('<null>');
}
$string = kses_no_null($string);
$string = kses_js_entities($string);
$string = kses_normalize_entities($string);
$string = kses_hook($string);
$allowed_html_fixed = kses_array_lc($allowed_html);
return kses_split($string, $allowed_html_fixed, $allowed_protocols);
}

function wysiwyg_textarea($name, $value, $config = "NukeUser", $cols = 50, $rows = 10)
{
global $advanced_editor;
# Don't waste bandwidth by loading WYSIWYG editor for crawlers
if ($advanced_editor == 0 or !isset($_COOKIE))
{
echo "<textarea name=\"$name\" cols=\"$cols\" rows=\"$rows\">$value</textarea>";
} else {
@include_once(INCLUDE_PATH."includes/FCKeditor/fckeditor.php");
$oFCKeditor = new FCKeditor($name) ;
$oFCKheight = $rows * 20;
$oFCKeditor->Height = "$oFCKheight";
$oFCKeditor->ToolbarSet = "$config" ;
$oFCKeditor->InstanceName = "$name" ;
$oFCKeditor->Value = "$value" ;
$oFCKeditor->Create() ;
}
}

function wysiwyg_textarea_html($name, $value, $config = "NukeUser", $cols = 50, $rows = 10)
{
global $advanced_editor;
# Don't waste bandwidth by loading WYSIWYG editor for crawlers
if ($advanced_editor == 0 or !isset($_COOKIE))
{
echo "<textarea name=\"$name\" cols=\"$cols\" rows=\"$rows\">$value</textarea>";
} else {
@include_once(INCLUDE_PATH."includes/FCKeditor/fckeditor.php");
$oFCKeditor = new FCKeditor($name) ;
$oFCKheight = $rows * 20;
$oFCKeditor->Height = "$oFCKheight";
$oFCKeditor->ToolbarSet = "$config" ;
$oFCKeditor->InstanceName = "$name" ;
$oFCKeditor->Value = "$value" ;
$wysiwygHTML = $oFCKeditor->CreateHtml() ;
return $wysiwygHTML;
}
}

and still get the error, Help! lol
  
Back to top
View user's profile Send private message Visit poster's website
Guardian
webmaster


Joined: Dec 25, 2005
Posts: 364
Location: Vsetin, Czech Republic

PostPosted: Sat May 19, 2007 10:26 am    Post subject: Re: Fatal error: Call to undefined function: kses_no_null() Reply with quote

Remove the ampersand - & from this line
Code:


@include_once(INCLUDE_PATH."includes/kses/kses.php");
then turn on error reporting in your config.php file, let me know if you get any error messages.
  
Back to top
View user's profile Send private message
mrparanormal
PostPosted: Sat May 19, 2007 3:09 pm    Post subject: Re: Fatal error: Call to undefined function: kses_no_null() Reply with quote

I'll have to do it later this week my main site crashed and I'm in the middle of repairs.
  
Back to top
Display posts from previous:       
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeWYSIWYG (tm) All times are GMT - 5 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group


Page Generation: 0.05 Seconds