|
06-29-2005, 01:31 PM | #1 |
Green Mole
Join Date: Jun 2005
Posts: 2
|
Problem with setting the ABSOLUTE_SCRIPT_PATH
I have installed the program and can run it with the web browser interface. However, when I try to run it from the command line, I get the following error:
Warning: main(../includes/config.php): failed to open stream: No such file or directory in <snip for privacy>/phpdig/admin/spider.php on line 89 ... and lots of other, related errors. I set my config file as follows: define('ABSOLUTE_SCRIPT_PATH','<snip for pirvacy>/phpdig'); BTW: <snip for privacy> is my absolute path up to the phpdig directory. I feel like I must be missing something very basic, but I can't figure what it is. |
06-29-2005, 02:03 PM | #2 |
Green Mole
Join Date: Jun 2005
Posts: 2
|
Path problem continued:
Well, I was wrong about the problem being with the absolute script path variable. When I went in to spider.php and commented out the line:
$relative_script_path = '..'; Then the spidering works from the command line because relative path is retaining its value of absolute path. What should I be doing here? I can hardly imagine that what I did is OK. Any thoughts and guidance would be appreciated. |
07-18-2005, 05:11 PM | #3 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
__________________
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. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cannot spider some pages and ABSOLUTE_SCRIPT_PATH and /usr/local/bin/ | paullind | Troubleshooting | 2 | 04-03-2006 09:06 AM |
command line and ABSOLUTE_SCRIPT_PATH | drywall | Troubleshooting | 30 | 02-10-2005 10:34 AM |
Setting Up connect.php | vinyl-junkie | How-to Forum | 1 | 08-15-2004 04:39 PM |
Setting up phpdig in a subdomain | vinyl-junkie | Troubleshooting | 1 | 05-29-2004 02:27 PM |
Setting HTTP_USER_AGENT for spidering.. | tester | How-to Forum | 3 | 01-15-2004 07:37 AM |