JerryL. Posted February 21, 2009 Report Share Posted February 21, 2009 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 Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted February 21, 2009 Report Share Posted February 21, 2009 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!JerryLHi 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"> Quote Link to comment Share on other sites More sharing options...
JerryL. Posted February 22, 2009 Author Report Share Posted February 22, 2009 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 Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted February 22, 2009 Report Share Posted February 22, 2009 Hi Ken,Thanks for supplying the code. Sorry to be so dense, but where is it that I would add the missing code?JerryOops, thought I had indicated that it would be in topmenu.php Quote Link to comment Share on other sites More sharing options...
JerryL. Posted February 22, 2009 Author Report Share Posted February 22, 2009 Oops, thought I had indicated that it would be in topmenu.phpFantastic, Ken! Thanks so much. All is now well.Jerry Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.