Search Error on WIMP shared host (4 posts)

  1. CanuckKev
    Posted 11 years ago #

    My WIMP host is working great with beta build 01-22-2005 except for one problem.

    When perfoming a search, there is a redirect to a sub directory and I haven't been able to track it down.

    Here is the link http://kevin.weblogs.us.

    My setup is in a sub-directory (kevin) off the root of the host and when I perform a search, this as the URL:


    When it should be

    I have been unable to find where this is coming from.
    I have made sure that my host has turned on the cgi.fix_pathinfo option for PHP.

    Any ideas?

  2. Kafkaesqui

    Posted 11 years ago #

    Looking at your source, I see this in the search form:

    <form id="searchform" method="get" action="/kevin/index.php">

    What is specified for the action value in your template?

  3. CanuckKev
    Posted 11 years ago #

    Heres what I have :

    <form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">
    <input type="text" name="s" id="search" size="15" onFocus='form.s.value=""' /><br>Search

  4. CanuckKev
    Posted 11 years ago #

    Okay, it seems my host is having a problem with PHP. I rna a PHPINFO and the PHP_SELF is pointing to the /kevin/ sub directory under the environment section.

    I am in contact with them, but for a temp fix, I changed the form action to "index.php" and it works.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.