Jump to content
MakeWebGames

Recommended Posts

Posted

Hi,

Although this is a minor bug, whenever I enter the language editor for NWE, it produces the message:

Error: Call to undefined function Secure()

Error in "/home/<USER>/public_html/<PATH>/modules/admin_language_editor/content.php"

A similar bug exists with the tutorial system, but that was non-resolvable - it resulted in this version of the game being wiped. (No worries - this was on a testing server, not the live game, which has been copied to replace the testing copy.

I am wondering if there is a way to disable the Secure() function without ruining the engine.

Thanks!

Posted

If you wanted no secure function, you could do this:

 

function Secure($param) {
  return $param;
}

 

Not sure how many parameters its meant to take.

Alain will definitely be able to give you better advice.

Posted

The language editor works perfectly for me... as far as I can tell. What did you do to make it break?

Anyhow the Secure function is like that:

function Secure ($buffer, $force = FALSE)
{
return $buffer;
}

 

So create it somewhere you load it for sure, and you should be up and running.

Posted

@a_bertrand: nothing; this bug has been here since I installed engine. It was a minor inconvenience for language editor, but the tutorial system not working at all is what made me post about it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...