Hi all! I have a project that uses the Pagination component. It works perfectly in my development environment, however when I uploaded the project to the production server things went sour. The component seems to do it's job, i.e. results get ordered, controlling the parameters via the url works and elements/pagination.thtml gets rendered properly. The problem is that the header links have mysteriously disappeared. I placed some debug calls around the code and found that all calls to the pagination component and helper methods get exactly the same data in both servers. When I placed calls to debug inside PaginationHelper's sortBy() method I found that in my development server the field _pageDetails is always set, while in my production server it gets wiped out somehow, hence the lack of header links. The puzzle is, why is this happening? The project is exactly the same on both servers, the database is the same, the only thing I could think of is some weirdness related to php versions, my development server runs php 5.2.1 and the productions server runs 4.3.11. Can anyone give me any clues?
Thanks! Bernardo PHP Version 5.2.1 elements/result_table.thml $th[] = $this->Pagination->sortBy(...) PaginationHelper->_pageDetails = Array ( [importParams] => [Defaults] => Array ( [page] => 1 [show] => 10 [sortBy] => id [sortByClass] => Clube [direction] => ASC ) [show] => 10 [page] => 1 [sortBy] => id [sortByClass] => Clube [direction] => ASC [ajaxDivUpdate] => content [ajaxFormId] => [maxPages] => 9 [showLimits] => 1 [style] => ajax [paramStyle] => get [paramSeperator] => / [url] => /clubes [total] => 3237 [resultsPerPage] => Array ( [0] => 10 [1] => 25 [2] => 50 [3] => 100 ) [pageCount] => 324 [previousPage] => [nextPage] => 2 ) PHP Version 4.3.11 elements/result_table.thml $th[] = $this->Pagination->sortBy(...) PaginationHelper->_pageDetails = Array ( ) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---