James200410 Posted November 5, 2009 Report Share Posted November 5, 2009 Hello Nabeel, I was hoping you could tell me why this error appears when trying to create a hub map; Warning: call_user_method_array() [function.call-user-method-array]: Unable to call hubmap() in /home/james200/public_html/ava/phpvms/core/classes/MainController.class.php on line 274 The route map and live maps work fine, but for hub maps it keeps coming up with the above error message. Using v1.3.785 Any advice would be most appreciated. Thanks in advance Adam Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted November 5, 2009 Administrators Report Share Posted November 5, 2009 Is this the one from the tutorial? Quote Link to comment Share on other sites More sharing options...
James200410 Posted November 5, 2009 Author Report Share Posted November 5, 2009 From the tutorial ? lol I understand that there is a tutorial on how to make a hubmap in one of the tutorials, but I assumed that this feature was already included in the RouteMap module. The code appears to look the same as the tutorial. Do I need to start from scratch and follow the tutorial to make this work ? Thanks Adam Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted November 5, 2009 Administrators Report Share Posted November 5, 2009 Well, my meaning was the controller format has changed in this next version. Try adding this: public function Controller() { return true; } Into the controller and try it then. The presence of that function should tell it to assume it's the old format and use that. I have to re-do the video tutorials for the API which has that, to reflect the new style. The new way is much easier than the old one. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted November 5, 2009 Administrators Report Share Posted November 5, 2009 Oh, nevermind, I see what you mean, I did include it. Woops, that was unintentional. I'll have to test it and see what's wrong. Could you enter a bug into http://bugs.phpvms.net, that way I can keep track. Thanks Quote Link to comment Share on other sites More sharing options...
James200410 Posted November 6, 2009 Author Report Share Posted November 6, 2009 OK Thanks Nabeel, I am away on Business atm, so will write it up as soon a get back in. Thanks again Adam Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted November 6, 2009 Administrators Report Share Posted November 6, 2009 No problem! I will add it in if I remember... heh Otherwise, the one in the tutorial should work. I don't remember how this one was called 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.