brummie23 Posted December 7, 2008 Report Share Posted December 7, 2008 Hi I have just installed a Welcome page on my website falvey.id.au using the Histories pages and the David Freeman method and have noticed that once I open the page by clicking on the welcome link from the home page, non of the links at the top of the page in the header work ( Home Page, What's New, Photos, Histories, Headstones, Reports & Surnames). the only way back is to use the browser "Show the previous page" arrow. Pressing them opens up an error page: Not Found - The requested URL/extrapgs/index.phpwas not found on this server.Additonally a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSl/0.9.8b mod_auth-passthrough.2.1 mod-bwlimited/1.4 FrontPage/5.0.2.2635 Sever at falvey.id.au Port 80Each first line refers to it relative URL extrapgs: index, whatsnew, browsemedia, browsemedia, browsmedia, reports, surnames. Any one have any idea as to what I have done wrong or not completed? I am a novice.ThanksMatt FalveyPerth W Australia Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted December 7, 2008 Report Share Posted December 7, 2008 Hi I have just installed a Welcome page on my website falvey.id.au using the Histories pages and the David Freeman method and have noticed that once I open the page by clicking on the welcome link from the home page, non of the links at the top of the page in the header work ( Home Page, What's New, Photos, Histories, Headstones, Reports & Surnames). the only way back is to use the browser "Show the previous page" arrow. Pressing them opens up an error page: Not Found - The requested URL/extrapgs/index.phpwas not found on this server.Additonally a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSl/0.9.8b mod_auth-passthrough.2.1 mod-bwlimited/1.4 FrontPage/5.0.2.2635 Sever at falvey.id.au Port 80Each first line refers to it relative URL extrapgs: index, whatsnew, browsemedia, browsemedia, browsmedia, reports, surnames. Any one have any idea as to what I have done wrong or not completed? I am a novice.ThanksMatt FalveyPerth W AustraliaMatt,It looks like the template 2 topmenu.php file is one of those which did not get updated to use the $cms[tngpath] to find the location of the TNG install files. You can update your topmenu.php to add <?php echo $cms['tngpath'] ; ?> in front of each TNG script in the href statement such that lines 35 through 47 might look as follows <a href="<?php echo $cms['tngpath']; ?>index.php" class="topmenu"><?php echo $text['mnuheader']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>whatsnew.php" class="topmenu"><?php echo $text['mnuwhatsnew']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>browsemedia.php?mediatypeID=photos" class="topmenu"><?php echo $text['mnuphotos']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>browsemedia.php?mediatypeID=histories" class="topmenu"><?php echo $text['mnuhistories']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>browsemedia.php?mediatypeID=headstones" class="topmenu"><?php echo $text['mnutombstones']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>reports.php" class="topmenu"><?php echo $text['mnureports']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>surnames.php" class="topmenu"><?php echo $text['mnulastnames']; ?></a> and then also add it for the search.php script on line 54 <form action="<?php echo $cms['tngpath']; ?>search.php" method="get" id="topsearch" style="margin:0px">Note that the above code is for the topmenu.php version of Custom Header for template 2. If you are using the html version of the file, you will need to adjust the paths so they are absolute.Hope that helps. Quote Link to comment Share on other sites More sharing options...
brummie23 Posted December 8, 2008 Author Report Share Posted December 8, 2008 Hi Ken, thanks very much for these they worked straight away. Just one little problem that you may know the answer for off the top of your head. As I mentioned in the original post I have installed a Welcome Page and now it works fine. So I then decided to add a "User Help" page following the same procedure and as I had moved Home page links around to accommodate the "Welcome", moved all of them around to reflect was I considered to be the most popular at the top. All of them are working in their new positions, so no problems there.But the new User Help page, which should be located in the space on the top row 3rd from left, just will not show.I have been over the Creating Extra Pages for USE in TNG install sheet till I think I know it off by heart.I have created from scratch a userhelp.phpI have moved its position around. Switching Welcome with userhelp and whatever position I put Welcome in it is visible and whatever position I put userhelp in it is invisible.I have copied the websitewelcome.php and loaded just the userhelp text into it (In the hope that had I done anything wrong following the instructions from scratch, by using one that is working to eliminate possible errors), saved it as userhelp.php and put it into the extrapgs folder.I have done the lot again and created and extrapgs2 folder in case having the two new pages in one file is a problem.Are you aware of any problem that may exist in having two extrapages created from the history template method? Or have any idea as to what I can do to fix it? Thanks again.Matt Matt,It looks like the template 2 topmenu.php file is one of those which did not get updated to use the $cms[tngpath] to find the location of the TNG install files. You can update your topmenu.php to add <?php echo $cms['tngpath'] ; ?> in front of each TNG script in the href statement such that lines 35 through 47 might look as follows <a href="<?php echo $cms['tngpath']; ?>index.php" class="topmenu"><?php echo $text['mnuheader']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>whatsnew.php" class="topmenu"><?php echo $text['mnuwhatsnew']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>browsemedia.php?mediatypeID=photos" class="topmenu"><?php echo $text['mnuphotos']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>browsemedia.php?mediatypeID=histories" class="topmenu"><?php echo $text['mnuhistories']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>browsemedia.php?mediatypeID=headstones" class="topmenu"><?php echo $text['mnutombstones']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>reports.php" class="topmenu"><?php echo $text['mnureports']; ?></a> | <a href="<?php echo $cms['tngpath']; ?>surnames.php" class="topmenu"><?php echo $text['mnulastnames']; ?></a> and then also add it for the search.php script on line 54 <form action="<?php echo $cms['tngpath']; ?>search.php" method="get" id="topsearch" style="margin:0px">Note that the above code is for the topmenu.php version of Custom Header for template 2. If you are using the html version of the file, you will need to adjust the paths so they are absolute.Hope that helps. 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.