PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Relative path problem (http://www.phpdig.net/forum/showthread.php?t=489)

tomwp 02-06-2004 05:56 AM

Relative path problem
 
Hi I installed the script and indexed my site with no problems at all. This was using the default search script "search.php" however all this was in a sub directory of my main site. I want to move seach.php into the main directory. Currently it is in "phpdig" folder. So i moved the script and changed the relative_script_path parameter to "./phpdig". Now when i goto search.php i just get a blank screen, no errors, no nothing. Help, am i being stupid?

Charter 02-06-2004 07:33 AM

Hi. In the config.php file modify the following to include the new path:
PHP Code:

if ((isset($relative_script_path)) && ($relative_script_path != ".") && ($relative_script_path != "..")) {
  exit();




All times are GMT -8. The time now is 08:20 AM.

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