Jump to content
TNG Community

Search function not working in Extra Pages


JerryL.

Recommended Posts

I’ve just discovered a problem today with all of the extra pages that I’ve created on my website www.connectedbloodlines.com then click “Histories” for five or so of these pages.

The pages display properly. The “search” button at the top that is part of “Home, Search, Print, etc.) works fine.

When clicking on any of the other categories of entries along the left column from any of these extra pages, everything works fine.

However, if I try to use the Search function that is contained in the left column and fill in a last name and a first name and hit “Search”, I get a blank screen with a url at the top that reads http://ohio.shnw.net/error.html.

I’ve tried to figure out what I’m missing within my extra pages regarding coding but am beginning to think that it’s not a problem within the extra pages code but a problem somewhere else that I need to fix.

Suggestions?

Thanks much!

JerryL

Link to comment
Share on other sites

I’ve just discovered a problem today with all of the extra pages that I’ve created on my website www.connectedbloodlines.com then click “Histories” for five or so of these pages.

The pages display properly. The “search” button at the top that is part of “Home, Search, Print, etc.) works fine.

When clicking on any of the other categories of entries along the left column from any of these extra pages, everything works fine.

However, if I try to use the Search function that is contained in the left column and fill in a last name and a first name and hit “Search”, I get a blank screen with a url at the top that reads http://ohio.shnw.net/error.html.

I’ve tried to figure out what I’m missing within my extra pages regarding coding but am beginning to think that it’s not a problem within the extra pages code but a problem somewhere else that I need to fix.

Suggestions?

Thanks much!

JerryL

Hi Jerry,

I think there might be code missing in the form action to make the link to the search.php relative. It should look as follows:

        <form action="<?php echo $cms['tngpath']; ?>search.php" method="post">

Link to comment
Share on other sites

Hi Jerry,

I think there might be code missing in the form action to make the link to the search.php relative. It should look as follows:

        <form action="<?php echo $cms['tngpath']; ?>search.php" method="post">

Hi Ken,

Thanks for supplying the code. Sorry to be so dense, but where is it that I would add the missing code?

Jerry

Link to comment
Share on other sites

Hi Ken,

Thanks for supplying the code. Sorry to be so dense, but where is it that I would add the missing code?

Jerry

Oops, thought I had indicated that it would be in topmenu.php

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...