Results 1 to 4 of 4

Thread: Fatal error with reader module

  1. #1
    New user
    Join Date
    06-18-10.
    Posts
    13

    Default Fatal error with reader module

    Hi, I need some help please with the catalog reader module. When I click on the 'view the item details' link on the lister page item the page displays a fatal error message on the redirect page. I've cleared Contao cache files and reset Safari.

    I using Contao 2.8.2 and Catalog 2 beta1 build 30.

    This is the error message;

    Code:
    Fatal error: Could not load class PaginationCustom in /Applications/MAMP/htdocs/typolight/system/functions.php on line 74
    #0 [internal function]: __error(256, 'Could not load ...', '/Applications/M...', 74, Array)
    #1 /Applications/MAMP/htdocs/typolight/system/functions.php(74): trigger_error('Could not load ...', 256)
    #2 /Applications/MAMP/htdocs/typolight/system/modules/catalog/ModuleCatalog.php(3022): __autoload('PaginationCusto...')
    #3 /Applications/MAMP/htdocs/typolight/system/modules/catalog/ModuleCatalogReader.php(186): ModuleCatalog->processComments(Object(DB_Mysql_Result))
    #4 /Applications/MAMP/htdocs/typolight/system/modules/frontend/Module.php(127): ModuleCatalogReader->compile()
    #5 /Applications/MAMP/htdocs/typolight/system/modules/catalog/ModuleCatalog.php(128): Module->generate()
    #6 /Applications/MAMP/htdocs/typolight/system/modules/catalog/ModuleCatalogReader.php(77): ModuleCatalog->generate()
    #7 /Applications/MAMP/htdocs/typolight/system/modules/frontend/ContentModule.php(70): ModuleCatalogReader->generate()
    #8 /Applications/MAMP/htdocs/typolight/system/libraries/Controller.php(364): ContentModule->generate()
    #9 /Applications/MAMP/htdocs/typolight/system/modules/frontend/ModuleArticle.php(170): Controller->getContentElement('190')
    #10 /Applications/MAMP/htdocs/typolight/system/modules/frontend/Module.php(127): ModuleArticle->compile()
    #11 /Applications/MAMP/htdocs/typolight/system/modules/frontend/ModuleArticle.php(69): Module->generate()
    #12 /Applications/MAMP/htdocs/typolight/system/libraries/Controller.php(297): ModuleArticle->generate(false)
    #13 /Applications/MAMP/htdocs/typolight/system/libraries/Controller.php(184): Controller->getArticle('100', false, false, 'main')
    #14 /Applications/MAMP/htdocs/typolight/system/modules/frontend/PageRegular.php(68): Controller->getFrontendModule('0', 'main')
    #15 /Applications/MAMP/htdocs/typolight/index.php(188): PageRegular->generate(Object(DB_Mysql_Result))
    #16 /Applications/MAMP/htdocs/typolight/index.php(311): Index->run()
    #17 {main}
    Please could someone help with this issue. Thanks

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: Fatal error with reader module

    I'm not sure why its kept at PaginationCustom, but it should be Pagination. This only happens when you enable comments.

    ModuleCatalog.php: LINE 3022
    Code:
    	$objPagination = new PaginationCustom($objTotal->count, $objArchive->perPage, 7, 'com_page');
    change it to:
    Code:
    	$objPagination = new Pagination($objTotal->count, $objArchive->perPage);

  3. #3
    New user
    Join Date
    06-18-10.
    Posts
    13

    Default Re: Fatal error with reader module

    Reader module is working great now. Thanks for your help, thyon :D

  4. #4
    New user
    Join Date
    12-24-10.
    Posts
    1

    Default Re: Fatal error with reader module

    Worked for me too. Thanks!
    Will this patch be included in the next release?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •