Home »
FUDforum »
How To »
Importing Newsgroups
Importing Newsgroups [message #35474] |
Mon, 15 January 2007 12:31 |
korki
Messages: 2 Registered: January 2007
Karma:
|
Junior Member |
|
|
Hello,
I installed successfully the fudforum 2.7.6 with php 4.4.4
The directory /news where is located nntp.php script is chmoded 777.
Register_argv_argc is ON on the php core and /usr/local/lib/php is where the php executable located
If I run the nntp.php script from my browser.I do not have access to a shell script.
I receive the error: "Missing Forum ID Parameter"
If I comment the lines below
**/if ($_SERVER['argc'] < 2) {
exit("Misssing Forum ID Parameter\n");
}
if (!($fid = (int)$_SERVER['argv'][1])) {
exit("Missing Forum ID Paramater\n");
}
/**
I receive:
Warning: main(/GLOBALS.php) [function.main]: failed to open stream: No such file or directory in /home/soft/public_html/news/nntp.php on line 30
Warning: main(/GLOBALS.php) [function.main]: failed to open stream: No such file or directory in /home/soft/public_html/news/nntp.php on line 30
Fatal error: main() [function.require]: Failed opening required '/GLOBALS.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/soft/public_html/news/nntp.php on line 30
I also executed this scrip from my browser
#!/usr/local/lib/php -q
<?
var_dump($HTTP_SERVER_VARS['argv']);
?>
and I receive: array(0) { }
I sought you helped Micha37 but it was in 2002 and I don't find the lines below for changing also:
"change:
chdir(dirname($HTTP_SERVER_VARS['argv'][0]));
TO:
chdir(__FULL_DIRECTORY_PATH_TO_SCRIPTS_DIR__);
change:
$nntp_adm->get($HTTP_SERVER_VARS['argv'][1]);
TO:
$nntp_adm->get(__RULE_id__);"
$nntp_adm->get($HTTP_SERVER_VARS['argv'][1]);
TO:
$nntp_adm->get(__RULE_id__);"
What else should I try ?
Thank you
[Updated on: Mon, 15 January 2007 12:50] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Nov 28 01:52:16 GMT 2024
Total time taken to generate the page: 0.03892 seconds