Jump to content

Error when creating HUB map


James200410

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Administrators

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.

Link to comment
Share on other sites

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.   Restore formatting

  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.

Loading...
×
×
  • Create New...