![]() |
|
![]() |
#1 |
Green Mole
Join Date: Nov 2005
Posts: 2
|
Search working in Mozilla but not IE for PC
I'm having a problem with my search function in IE on a PC. If you land on the search.php page you are rerouted to the index.php page. This does not happen with Mozilla on PC, nor does it happen on Safari or IE on Mac. The search function works fine for these, but for some reason on IE on a PC the user is sent back to the index.php page, even if you go directly to the page (/search.php) which leads me to believe it's some sort of path issue.
Here's the url: http://www.greenlightmag.com/search.php Per instructions in the config.php file, I copied my search.php and clickstats.php files to my root directory. The phpdig directory is as follows: http://www.greenlightmag.com/phpdig/ Here is how I defined my script path in these files: $relative_script_path = 'phpdig'; Any help is much appreciated. Thank you. -mw |
![]() |
![]() |
![]() |
#2 |
Purple Mole
Join Date: Aug 2004
Location: North Island New Zealand
Posts: 170
|
I would replace the config.php file back to it's original format because it should work if left as is.
The relative script path should find itself if (is_file("$relative_script_path/libs/search_function.php")) { include "$relative_script_path/libs/search_function.php"; } else { die("Cannot find search_function.php file.\n"); So it may be okay to just replace the files back to the original format and let it find the files because it does appear to be sending queries back to the Index.php file. |
![]() |
![]() |
![]() |
#3 |
Green Mole
Join Date: Nov 2005
Posts: 2
|
Thanks Dave. I will give that a shot. It's just strange that the search IS working if you use Mozilla (PC) and Safari/IE (Mac).
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Working with MySql | cefiro | Troubleshooting | 1 | 02-26-2005 08:19 PM |
Looking for a working example.... | pwoc | How-to Forum | 0 | 11-12-2004 04:38 PM |
Search on search results page not working | bforsyth | Troubleshooting | 10 | 08-20-2004 09:35 PM |
Mozilla Firefox | Charter | The Mole Hole | 3 | 08-07-2004 08:49 AM |
Clean a PC with autoexec.bat | Charter | Coding & Tutorials | 3 | 03-05-2004 12:28 PM |