ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Pagination Links Not Linking

December 11, 2011 7:55pm

Subscribe [4]
  • #1 / Dec 11, 2011 7:55pm

    Jed Rosenberg

    2 posts

    http://www.alcoholandcrime.org/npamc/news-events/whats-new-archive/

    I’m having an issue with a site’s pagination links. Pagination is displaying just fine, but when clicked, returns a blank page. I’ve read through the forums and thinking this could possibly be an .htaccess thing with removing index.php. I didn’t originally set the site up, so I have absolutely no clue the method in which index.php is being removed and how to move forward to get this fixed.

    Please Help!

    Here is what is in the .htaccess file:

    <Files npamc>
    SetHandler application/x-httpd-php
    </Files>
    
    DirectoryIndex npamc index index.php index.shtml index.html index.htm
    
    
    Redirect 301 /npamc/issues/npamc-blog/ <a href="http://alcoholandcrime.org/npamc/blog">http://alcoholandcrime.org/npamc/blog</a>

    And here is my EE stuff:

    {exp:weblog:entries weblog="whats-new" orderby="date" sort="dec" limit="5" paginate="bottom" disable="categories|category_fields|member_data|trackbacks" rdf="off" dynamic="off"}
    {whats_new_date}
    
    <b><a href="http://{whats_new_link}" target="_blank" rel="noopener">{title}</a></b>
    
    {whats_new_intro }
    {paginate}
    Page {current_page} of {total_pages} pages {pagination_links}
    {/paginate}
    {/exp:weblog:entries}
  • #2 / Dec 12, 2011 7:43pm

    Sean C. Smith

    3818 posts

    Hi emarketingJed,

    Welcome to the forums. Has there been a recent change to your server? Looking at the docs here it looks like you are using the third method for renaming your index.php file. Could you try the other two listed there.

    remove from your .htaccess file

    SetHandler application/x-httpd-php

    and replace with

    AcceptPathInfo on
    SetOutputFilter PHP
    SetInputFilter PHP

    If the above does not work try this.

    ForceType application/x-httpd-php

    If this still does not work, please get back to me with what version of EE you are on and any add-ons that you are using which may be affecting pagination.

    Sean.

  • #3 / Dec 12, 2011 8:11pm

    Jed Rosenberg

    2 posts

    Hi Sean,

    Thanks so much for your reply. It’s very much appreciated. There hasn’t been a change to the server that I am aware of.

    I tried both of your changes above, with no luck. No visible change at all.

    This particular install is running EE v1.6.6. Also, no add-ons really other than Freeform. Not evening using Pages

    Obviously an upgrade to EE 2 may work, and I normally work in EE2, but this client (being a non-profit) hasn’t budgeted for an upgrade at this time. Would love to get this working. I’m stumped!

  • #4 / Dec 13, 2011 11:29pm

    John Henry Donovan

    12339 posts

    Hi emarketingJed,

    Can you create a new template group. In the index template of that group add your weblog entries tag with the pagination and nothing else

    Share the link back here with us and whether you experience the same behavior?

  • #5 / Dec 14, 2011 12:20am

    Jed Rosenberg

    2 posts

    Hi John,

    Thanks for your help.

    http://www.alcoholandcrime.org/npamc/pagination/index/

    The behavior is a little different now. Instead of navigating to a blank page, the pagination links stay on the same page, but the URL in the address bar is different and keeps adding segments.

    Jed

  • #6 / Dec 19, 2011 3:21pm

    Kevin Smith

    4784 posts

    Hi Jed,

    Just for the sake of troubleshooting, could you completely disable your .htaccess file and add index.php back into the URI? Then test out your pagination again. Something squirrelly is going on, and removing those elements will help us get a clearer picture, if not solve the problem outright.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases