begood Posted October 16, 2011 Share Posted October 16, 2011 Hello, I receive allways the same error when I've 2 functions on the same file... When I go to that module the page stays blank... <?php //This file cannot be viewed, it must be included defined('IN_EZRPG') or exit; class Module_Crimes extends Base_Module { public function start() { requireLogin(); $this->tpl->display('crimes.tpl'); if ($_GET['act'] == 'do') $this->do(); } public function do() { } } ?> As you can see, I don't have nothing on the second function but it give me the error allways :s Just if I take out the second function appears the page all right, else it don't... :s Regards, begood P.S.: Sorry for my bad English, I'm Portuguese... :) Quote Link to comment Share on other sites More sharing options...
bluegman991 Posted October 16, 2011 Share Posted October 16, 2011 What error are you getting? Quote Link to comment Share on other sites More sharing options...
begood Posted October 17, 2011 Author Share Posted October 17, 2011 The problem is solved. I just change a query and it just works. :b Thanks anyway, I think the topic can be closed. :) 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.