PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 01-15-2006, 07:44 PM   #1
mwaters
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
mwaters is offline   Reply With Quote
Old 01-15-2006, 10:50 PM   #2
Dave A
Purple Mole
 
Dave A's Avatar
 
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.
Dave A is offline   Reply With Quote
Old 01-16-2006, 08:55 AM   #3
mwaters
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).
mwaters is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT -8. The time now is 09:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.