Error when creating HUB map

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

Is this the one from the tutorial?

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

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.

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

OK Thanks Nabeel,

I am away on Business atm, so will write it up as soon a get back in.

Thanks again

Adam

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