Results 1 to 8 of 8

Thread: V5 - Problem with broken links on Browse pages

  1. #1
    Join Date
    Jan 2004
    Location
    Orlando, FL
    Posts
    25

    Default V5 - Problem with broken links on Browse pages

    Hello,

    I just installed a new version of IndexU on one of my sites. Everything was going fine until I tried to navigate through the page. The links on the sub pages, or the "Browse" pages seem to be currupt.

    Example:
    LINKS ON THE MAIN PAGE ARE FINE....
    http://www.contractortalk.com/directory/

    BUT LINKS ON THE SUBPAGES ARE NOT.....
    http://www.contractortalk.com/direct...resources.html


    Any ideas on where to look to fix this? Any unput would be great and much needed.

    Thanks!
    www.ContractorTalk.com

  2. #2
    Join Date
    Jan 2004
    Location
    Orlando, FL
    Posts
    25

    Default

    BTW, the error I get when I click on one of these broken links is.....

    Fatal error: Call to a member function on a non-object in .../directory/lib/category.class.php on line 303
    www.ContractorTalk.com

  3. #3
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by Nathan
    Hello,

    I just installed a new version of IndexU on one of my sites. Everything was going fine until I tried to navigate through the page. The links on the sub pages, or the "Browse" pages seem to be currupt.

    http://www.contractortalk.com/directory/browse/2/1/contractor_resources.html
    I assume you are using v5.0 http://www.nicecoder.com/community/s...ead.php?t=3207.

    take a look at the url that does not work verus one that does:

    does not work:
    http://www.contractortalk.com/directory/browse/2/1/browse/26/1/forums.html

    works:
    http://www.contractortalk.com/directory/browse/26/1/forums.html

    check your template file. htaccess file?



    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  4. #4
    Join Date
    Jan 2004
    Location
    Orlando, FL
    Posts
    25

    Default

    I'll check my templates again. Do you have anyidea which template it would be or which term I am looking for in that template?


    BTW, yes it is Version 5... thats why the title of the thread is:
    V5 - Problem with broken links on Browse pages
    www.ContractorTalk.com

  5. #5
    Join Date
    Jan 2004
    Location
    Orlando, FL
    Posts
    25

    Default

    I don't remember changing anything in the browse template but here it is just in case:



    <%if $header%>
    <%$header%>
    <%else%>
    <%include file="header.html"
    title="Browse by categories: $page_title"
    meta_keywords="$meta_keywords"
    meta_description="$meta_keywords"
    %>
    <%/if%>



    <script language="JavaScript">
    <!--
    function goToURL() {
    var i, args=goToURL.arguments; document.MM_returnValue = false;
    for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
    }
    //-->
    </script>
    <br>
    <div align='right'>
    <a href='cp/subscribe.php?cat=<%$cat%>'>Subscribe to this category</a>
    </div>
    <!-- main content here -->

    <br>

    <%$category_path%>
    <br><br>

    <%if $content%>
    <%$content%>
    <br>
    <%/if%>


    <!-- category -->

    <%if $category%>
    <table cellpadding='1' cellspacing='0' align="center" border='0' width='100%' style="background-color: #ffffff;">
    <tr>
    <td>
    <!-- category header -->
    <table width='100%' border='0' align='center' cellpadding='4' cellspacing='0' bordercolor="#f3f3f3" class=tbl_border>
    <tr>
    <td height="24" colspan="2" class=tbl_caption> <strong>Categories </strong></td>
    </tr>
    </table>
    <br>
    <%$category%>
    </td>
    </tr>
    </table>
    <%/if%>


    <!-- sponsored links -->

    <%if $sponsored_link%>
    <table cellpadding='1' cellspacing='0' align="center" border='0' width='100%' style="background-color: #ffffff;">
    <tr>
    <td><!-- link header -->
    <table width='100%' border='0' align='center' cellpadding='4' cellspacing='0' bordercolor="#f3f3f3" class=tbl_border>
    <tr>
    <td height="24" colspan="2" class=tbl_caption> Sponsored Web Links</td>
    </tr>
    </table>
    <br>
    <%$sponsored_link%>
    </td>
    </tr>
    </table>
    <%/if%>

    <!-- links -->

    <%if $link%>
    <table cellpadding='1' cellspacing='0' align="center" border='0' width='100%' style="background-color: #ffffff;">
    <tr>
    <td><!-- link header -->
    <table width='100%' border='0' align='center' cellpadding='4' cellspacing='0' bordercolor="#f3f3f3" class=tbl_border>
    <tr>
    <td height="24" colspan="2" class=tbl_caption> Web Links</td>
    </tr>
    </table>
    <br>
    <%$link%>
    </td>
    </tr>
    </table>
    <%else%>
    <p>There's no any web links here.</p>
    <%/if%>


    <!-- pagination -->
    <%if $pagination%>
    <center>
    <p class="pagination1"><%$pagination%></p>
    </center>
    <%/if%>

    <!-- editors -->
    <%if $editors%>
    <center>
    <p>
    <b>Editors:</b> &nbsp;
    <%section name=i loop=$editors%>
    <a href=user_detail.php?u=<%$editors[i]%>><%$editors[i]%></a>&nbsp;
    <%/section%>
    </p>
    </center>
    <%/if%>

    <!-- become editor -->
    <center>
    <p>
    <a href="become_editor.php?cat=<%$cat%>"><img src="<%$tpl_base%>/images/be_editor.jpg" border="0"></a>
    </p>
    </center>


    <!-- end of main content -->


    <%if $footer%>
    <%$footer%>
    <%else%>
    <%include file="footer.html"%>
    <%/if%>
    www.ContractorTalk.com

  6. #6
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by Nathan
    BTW, yes it is Version 5... thats why the title of the thread is:
    V5 - Problem with broken links on Browse pages
    Sorry about that; I wasn't expecting it in the title. Old timer's disease!!! my bad.


    Quote Originally Posted by Nathan
    I'll check my templates again. Do you have anyidea which template it would be or which term I am looking for in that template?
    actually, i would start with the header.html. It is just a guess on my part, but i think it is missing the "base href" tag.

    while you are there, there are some other issues with the header.html file. if you look at the page source of the displayed file, you will see some php code and Content-Type listed three times.



    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  7. #7
    Join Date
    Jan 2004
    Location
    Orlando, FL
    Posts
    25

    Default

    Thanks, the missing <base href="<%$site_url%>/"> was the problem.
    I'm going to look into those other header problems now.

    THANKS!
    www.ContractorTalk.com

  8. #8
    Join Date
    Jan 2004
    Location
    Orlando, FL
    Posts
    25

    Default

    Ummm, I'm not finding the duplicate info? Got an example for me?

    Thanks
    www.ContractorTalk.com

Similar Threads

  1. Official review to show in browse pages
    By vittle in forum v5.x
    Replies: 0
    Last Post: 12-06-2005, 06:03 AM
  2. category pages instead of browse.php?cat=1
    By webindia in forum Indexu Lite
    Replies: 2
    Last Post: 03-17-2005, 04:02 PM
  3. Replies: 0
    Last Post: 10-15-2002, 09:26 AM
  4. Login Box and Hot Links on all pages!
    By blakebauman in forum v5.x
    Replies: 1
    Last Post: 07-29-2002, 03:32 AM
  5. broken links report not working
    By Veg in forum v5.x
    Replies: 0
    Last Post: 05-20-2002, 11:04 AM

Posting Permissions

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