PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 02-06-2004, 06:56 AM   #1
tomwp
Green Mole
 
Join Date: Feb 2004
Posts: 1
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?
tomwp is offline   Reply With Quote
Old 02-06-2004, 08:33 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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();

__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter 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
problems with pstotext - path-problem? jmeyerdo External Binaries 1 01-26-2006 12:30 PM
relative links without URI but only "?bla=1" blueyed Bug Tracker 3 12-06-2004 03:23 AM
Relative path Dave A Script Installation 9 08-18-2004 10:10 PM
can't exclude the path Psykotik How-to Forum 4 04-23-2004 03:30 PM
Relative links to follow in meta-refresh and Javascript obottek Mod Requests 4 10-05-2003 11:20 AM


All times are GMT -8. The time now is 09:51 PM.


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