Adam_S. Posted October 16, 2013 Share Posted October 16, 2013 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! Quote Link to comment Share on other sites More sharing options...
HauntedDawg Posted October 16, 2013 Share Posted October 16, 2013 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. Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted October 16, 2013 Share Posted October 16, 2013 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. Quote Link to comment Share on other sites More sharing options...
Adam_S. Posted October 16, 2013 Author Share Posted October 16, 2013 @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. Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted October 16, 2013 Share Posted October 16, 2013 Well I tried again and don't have any issues, can you give me a step by step way to reproduce it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.