![]() |
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. |
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. |
|
All times are GMT -8. The time now is 11:41 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.