PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Script Installation

Reply
 
Thread Tools
Old 06-29-2005, 01:31 PM   #1
wshobe
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.
wshobe is offline   Reply With Quote
Old 06-29-2005, 02:03 PM   #2
wshobe
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.
wshobe is offline   Reply With Quote
Old 07-18-2005, 05:11 PM   #3
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
http://www.phpdig.net/forum/showthread.php?t=2005
__________________
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
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


All times are GMT -8. The time now is 03:05 PM.


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