I've installed WSN Links using the autosetup.php file and when I try to run the program I get:
Warning: require_once(scriptinfo.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/web73/web/wsnlinks/includes/prestart.php on line 21
Fatal error: require_once() [function.require]: Failed opening required 'scriptinfo.php' (include_path='/usr/share/php/') in /var/www/web73/web/wsnlinks/includes/prestart.php on line 21
scriptinfo.php is there, and I go through the code and add $_SERVER['DOCUMENT_ROOT'] to everyone 'require_once' that will fix it, but I don't particularly fancy doing that... anyone know if there is a more reasonable solution to this problem? The server is a standard ISPConfig on Debian-Etch "the perfect server" setup with apache2, mysql 5.0 and php 5 ....
I've heard of a misconfigured server before that looks for include files in the wrong directory when the running file is an include inside a file in a different directory. Does this server run other scripts properly?
0/5
1
2
3
4
5
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on prestart.php on line 21
Beginner
Usergroup: Customer
Joined: Oct 31, 2008
Total Topics: 1
Total Comments: 1
Hi9ya Everyone:
I've installed WSN Links using the autosetup.php file and when I try to run the program I get:
Warning: require_once(scriptinfo.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/web73/web/wsnlinks/includes/prestart.php on line 21
Fatal error: require_once() [function.require]: Failed opening required 'scriptinfo.php' (include_path='/usr/share/php/') in /var/www/web73/web/wsnlinks/includes/prestart.php on line 21
scriptinfo.php is there, and I go through the code and add $_SERVER['DOCUMENT_ROOT'] to everyone 'require_once' that will fix it, but I don't particularly fancy doing that... anyone know if there is a more reasonable solution to this problem? The server is a standard ISPConfig on Debian-Etch "the perfect server" setup with apache2, mysql 5.0 and php 5 ....
-Ben.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I've heard of a misconfigured server before that looks for include files in the wrong directory when the running file is an include inside a file in a different directory. Does this server run other scripts properly?