Author Topic: search link, top images link, & new images link from home.html does not work  (Read 3665 times)

0 Members and 1 Guest are viewing this topic.

Offline timposey

  • Newbie
  • *
  • Posts: 16
    • View Profile
It would make so much more sense to post this in error messages but since there is no new topic allowed there I will post here. 

I am using 1.7.2 and understand that there are newer versions out there but it is just too much trouble to upgrade right now due to modifications that I would need to make to the code. 

However, the search function has just stopped working and I don't understand why.  Can anyone point me to something?  Also the new images and top images buttons do not work either. 

Here are the errors that are returning.

The requested URL /{url_search} was not found on this server.

My server log error is as follows.

File does not exist: /var/www/vhosts/centersoffaithhopeandlove.org/httpdocs/{url_search}, referer: http://www.centersoffaithhopeandlove.org/

Offline Jenn

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Your URLS are pointing to the language. Your missing some code.

This should be the code for top images

Quote
<a href="{url_top_images}"><b>{lang_top_images}</b></a>

New Images

Quote
<a href="{url_new_images}"><b>{lang_new_images}</b></a>


Search
Quote
<form method="post" action="{url_search}">
              <table border="0" cellspacing="0" cellpadding="1">
                <tr>
                  <td>
                    <input type="text" name="search_keywords" size="15" class="searchinput" />
                  </td>
                  <td>
                    <input type="submit" value="{lang_search}" class="button" name="submit" />
                  </td>
                </tr>
                <tr valign="top">
                  <td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
                </tr>
              </table>
            </form>