Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6682523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:42:58+00:00 2026-05-26T04:42:58+00:00

I have downloaded the Kohana Pagination module from Git and have been having some

  • 0

I have downloaded the Kohana Pagination module from Git and have been having some issues trying to use it.

I moved it into the modules folder and have updated my bootstrap to include the module…
‘pagination’ => MODPATH.’kohana-pagination’,

I have the following code that loads some messages from a simple table with pagination…

public function action_index()
{
$content = View::factory('welcome')
  ->bind('messages', $messages)
  ->bind('pager_links', $pager_links);

$message = new Model_Message;
$message_count = $message->count_all();

$pagination = Pagination::factory(array(
  'total_items' => $message_count,
  'items_per_page' => 3,
));

$pager_links = $pagination->render();
$messages = $message->get_all($pagination->items_per_page, $pagination->offset);

$this->template->content = $content;
}

When I run load this in my browser, I get the following error message…

ErrorException [ Fatal Error ]: 1Call to undefined method Kohana::config()
MODPATH\kohana-pagination\classes\kohana\pagination.php [ 87 ]
82   * @return  array   config settings
83   */
84  public function config_group($group = 'default')
85  {
86      // Load the pagination config file
87      $config_file = Kohana::config('pagination');
88 
89      // Initialize the $config array
90      $config['group'] = (string) $group;
91 
92      // Recursively load requested config groups
{PHP internal call} » Kohana_Core::shutdown_handler()

If I remove the code relating to the pagination, the page loads the data fine from the database. Any pointers here would be great.


Update

Found this link: https://github.com/kloopko/kohana-pagination, on the back of Ikke, so cheers for the help folks.

Appears that the previously bundled pagination module has been removed, found the kohana-pagination module which has been updated to cater for 3.2.

Hope that helps someone else just starting out. 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:42:59+00:00Added an answer on May 26, 2026 at 4:42 am

    The issue is just the config system has changed for version 3.2. Most modules can be fixed by simply updating

    $config_file = Kohana::config('pagination');
    

    to

    $config_file = Kohana::$config->load('pagination');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have downloaded the Layar401.apk file from web and trying to install it into
I have downloaded the silver light from this http://www.microsoft.com/silverlight// I need to use this
I have downloaded qt-win-opensource-4.7.0-vs2008.exe from nokia site and use it when I build my
I have downloaded a provisioning profile from my id, but when I drag into
I have downloaded a theme from here and want to use it with visual
have downloaded Orca to edit an MSI file. I want to remove some banner
I have downloaded Skype4COM from Skype so my question is, can i integrate it
I have downloaded a web project from CodePlex and am getting the following error
I have downloaded Play Framework from GitHub and compiled it. Now I want to
I have downloaded Xcode 4.2 and I'm having problems viewing my project in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.