This is very odd, when i upload my code from my local machine to my
server, and test out the Paginator on the remote server, the URL is
incorrectly rendered for the paginator, page 2 on the remote server.

On localhost, the url for page 2 of my query works properly and
displays this:
http://localhost/.../.../findChildren/1/page:2

However, when I upload to the server, the "/1/" does NOT appear page 2
link.
Instead,
http://www.mywebsite.com/.../findChildren/page:2


The code I use for paginator VIEW is below: (it is EXACTLY THE SAME
for both the localhost and the server)

echo $paginator->numbers();


The code in the controller is as follows:
var $paginate = array(
        'limit' => 4 ,
        'order' => array(
            'Event.name' => 'asc'
            )
            );


            function findChildren($id=null)
            {

                $events = $this->paginate('Event', array('category_id' =>
$id) );
                $this->set('events',$events);

            }


So, it is strange, because i NEVER wrote the code for the path of URL,
so this must be a setting somewhere in the config?
I am a newbie, so please excuse me for my confusion and ignorance.
I appreciate your help in advance.
Thanks
Christy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to