| Author |
Message |
thundarfoot Regular


Joined: Jan 16, 2008 Posts: 75
|
Posted:
Thu Jan 24, 2008 12:33 am |
|
I just installed nsn gr downloads im using current raven/nuke.
Clicking on the newly added downloads button returns me to the admin page
Any ideas? thanks |
|
|
|
 |
Susann Moderator

Joined: Dec 19, 2004 Posts: 2878 Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Thu Jan 24, 2008 4:22 am |
|
Should point you to:admin.php?op=DLMain
Make sure you uploaded all files.Check modules/Downloads/admin |
|
|
|
 |
thundarfoot Regular


Joined: Jan 16, 2008 Posts: 75
|
Posted:
Thu Jan 24, 2008 6:24 am |
|
Thats the address its pointing to. but just refreshes admin page. every file from the extraction is in place.
I dont actually have a DLMain directory, the directory it was installed to is downloads. if that matters |
|
|
|
 |
Susann Moderator

Joined: Dec 19, 2004 Posts: 2878 Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Thu Jan 24, 2008 7:25 am |
|
No the directory is correct. Whats your NSN GR version number ?
Turn config error on in your config.php. Maybe it shows something. |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 8623 Location: Arizona
|
Posted:
Thu Jan 24, 2008 11:35 am |
|
Personally, I would recommend removing ALL the files under modules/Downloads and then re-uploading the NSN GR Download files. I could have sworn there were instructions suggesting just that and I think I ran into problems over 3 years ago when I first tried setting this up.
Its worth a shot anyways. |
|
|
|
 |
thundarfoot Regular


Joined: Jan 16, 2008 Posts: 75
|
Posted:
Thu Jan 24, 2008 12:09 pm |
|
The version is NSN_GR_Downloads_750_103pl1 downloaded from
I removed all files from the modules/downloads and then put the nsn files back, still no go just refreshes admin page.
error reporting is on, and no error is returned no error is show in apache logs |
|
|
|
 |
Susann Moderator

Joined: Dec 19, 2004 Posts: 2878 Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Thu Jan 24, 2008 2:13 pm |
|
I´m using the same version for two different RavenNuke sites and had never such a problem. A conflict with other files. I don´t know. |
|
|
|
 |
thundarfoot Regular


Joined: Jan 16, 2008 Posts: 75
|
Posted:
Thu Jan 24, 2008 2:19 pm |
|
hmm ok guess im going to have to make a php upload script then... |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 8623 Location: Arizona
|
Posted:
Fri Jan 25, 2008 7:25 am |
|
thundarfoot, that's the right version. Had you run through the database installer part? Like Susann said, I too have this running just fine on a couple of sites. |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 975
|
Posted:
Thu Sep 18, 2008 11:43 am |
|
I am actually having this problem now. I have had this installed previously but now when I click on the 1.03 Downloads icon in the Modules administration section I get a refresh of the admin page. The link is:
**EDIT** interestingly enough, when I changed the name of my admin file and changed the entry to match in config.php, and then I click on the 1.03 Downloads Administration icon I get a 404 Page not found error:
The Page Requested: /admin.php. This then has to mean something in the functions or code is not right.... it is not recognizing admin_file entry? |
|
|
|
 |
evaders99 Moderator

Joined: Apr 30, 2004 Posts: 3221
|
Posted:
Thu Sep 18, 2008 3:38 pm |
|
Right, it is probably that NSN GR Downloads is missing the $admin_file somewhere |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 975
|
Posted:
Mon Sep 22, 2008 11:16 am |
|
Can anyone send me a version that is working with the latest RN? Sounds llike some have it working... |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 975
|
Posted:
Tue Sep 23, 2008 12:30 pm |
|
Okay I set my error loggin to 1 and this is the error I get when clicking on Downloads in the Modules admin section:
| Code: | September 23, 2008, 1:26 pm 1054 : Unknown column 'radmindownload' in 'field list'
SQL was: SELECT radminsuper, radmindownload FROM nuke_authors WHERE aid='xxxx' |
Does anyone know what I can fix to get this to work? Thank you. |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 8623 Location: Arizona
|
Posted:
Wed Sep 24, 2008 6:06 am |
|
Try replacing your modules/Downloads/admin/index.php file with the following code instead:
| Code: |
<?php
/********************************************************/
/* NSN GR Downloads */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/* http://www.nukescripts.net */
/* Copyright © 2000-2005 by NukeScripts Network */
/********************************************************/
/* Based on Journey Links Hack */
/* Copyright (c) 2000 by James Knickelbein */
/* Journey Milwaukee (http://www.journeymilwaukee.com) */
/********************************************************/
global $admin_file;
if(!defined('ADMIN_FILE')) {
Header("Location: ../../".$admin_file.".php");
die();
}
$module_name = "Downloads";
@require_once("mainfile.php");
get_lang($module_name);
$aid = substr("$aid", 0,25);
$row = $db->sql_fetchrow($db->sql_query("SELECT title, admins FROM ".$prefix."_modules WHERE title='$module_name'"));
$row2 = $db->sql_fetchrow($db->sql_query("SELECT name, radminsuper FROM ".$prefix."_authors WHERE aid='$aid'"));
$admins = explode(",", $row['admins']);
$auth_user = 0;
for ($i=0; $i < sizeof($admins); $i++) { if ($row2['name'] == "$admins[$i]" AND $row['admins'] != "") { $auth_user = 1; } }
if ($row2['radminsuper'] == 1 || $auth_user == 1) {
@include_once("includes/nsngd_func.php");
$dl_config = gdget_configs();
if(!isset($op)) { $op="DLMain"; }
switch ($op) {
case "DLMain":@include("modules/$module_name/admin/Main.php");break;
case "DLConfig":@include("modules/$module_name/admin/Config.php");break;
case "DLConfigSave":@include("modules/$module_name/admin/ConfigSave.php");break;
case "Categories":@include("modules/$module_name/admin/Categories.php");break;
case "CategoryActivate":@include("modules/$module_name/admin/CategoryActivate.php");break;
case "CategoryAdd":@include("modules/$module_name/admin/CategoryAdd.php");break;
case "CategoryAddSave":@include("modules/$module_name/admin/CategoryAddSave.php");break;
case "CategoryDeactivate":@include("modules/$module_name/admin/CategoryDeactivate.php");break;
case "CategoryDelete":@include("modules/$module_name/admin/CategoryDelete.php");break;
case "CategoryDeleteSave":@include("modules/$module_name/admin/CategoryDeleteSave.php");break;
case "CategoryModify":@include("modules/$module_name/admin/CategoryModify.php");break;
case "CategoryModifySave":@include("modules/$module_name/admin/CategoryModifySave.php");break;
case "CategoryTransfer":@include("modules/$module_name/admin/CategoryTransfer.php");break;
case "DownloadActivate":@include("modules/$module_name/admin/DownloadActivate.php");break;
case "DownloadAdd":@include("modules/$module_name/admin/DownloadAdd.php");break;
case "DownloadAddSave":@include("modules/$module_name/admin/DownloadAddSave.php");break;
case "DownloadBroken":@include("modules/$module_name/admin/DownloadBroken.php");break;
case "DownloadBrokenDelete":@include("modules/$module_name/admin/DownloadBrokenDelete.php");break;
case "DownloadBrokenIgnore":@include("modules/$module_name/admin/DownloadBrokenIgnore.php");break;
case "DownloadCheck":@include("modules/$module_name/admin/DownloadCheck.php");break;
case "DownloadDeactivate":@include("modules/$module_name/admin/DownloadDeactivate.php");break;
case "DownloadDelete":@include("modules/$module_name/admin/DownloadDelete.php");break;
case "DownloadModify":@include("modules/$module_name/admin/DownloadModify.php");break;
case "DownloadModifyRequests":@include("modules/$module_name/admin/DownloadModifyRequests.php");break;
case "DownloadModifyRequestsAccept":@include("modules/$module_name/admin/DownloadModifyRequestsAccept.php");break;
case "DownloadModifyRequestsIgnore":@include("modules/$module_name/admin/DownloadModifyRequestsIgnore.php");break;
case "DownloadModifySave":@include("modules/$module_name/admin/DownloadModifySave.php");break;
case "DownloadNew":@include("modules/$module_name/admin/DownloadNew.php");break;
case "DownloadNewDelete":@include("modules/$module_name/admin/DownloadNewDelete.php");break;
case "Downloads":@include("modules/$module_name/admin/Downloads.php");break;
case "DownloadTransfer":@include("modules/$module_name/admin/DownloadTransfer.php");break;
case "DownloadValidate":@include("modules/$module_name/admin/DownloadValidate.php");break;
case "ExtensionAdd":@include("modules/$module_name/admin/ExtensionAdd.php");break;
case "ExtensionAddSave":@include("modules/$module_name/admin/ExtensionAddSave.php");break;
case "ExtensionDelete":@include("modules/$module_name/admin/ExtensionDelete.php");break;
case "ExtensionModify":@include("modules/$module_name/admin/ExtensionModify.php");break;
case "ExtensionModifySave":@include("modules/$module_name/admin/ExtensionModifySave.php");break;
case "Extensions":@include("modules/$module_name/admin/Extensions.php");break;
case "FilesizeCheck":@include("modules/$module_name/admin/FilesizeCheck.php");break;
case "FilesizeValidate":@include("modules/$module_name/admin/FilesizeValidate.php");break;
}
} else {
Header("Location: ".$admin_file.".php");
}
?>
|
Sorry to have to post the whole file, but I am not sure what you have previously and this is what I have that is working just fine with the newed *nuke versions. |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 975
|
Posted:
Wed Sep 24, 2008 11:33 am |
|
Worked beautifully. Thank you!!! |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 8623 Location: Arizona
|
Posted:
Fri Sep 26, 2008 5:43 am |
|
Excellent! One of these days I'm going to finish my clean-up of this module's code and just make it available for the community. Its an excellent module, but it hasn't been upgraded code-wise in a very long time. |
|
|
|
 |
StalkS Hangin' Around

Joined: Oct 04, 2003 Posts: 35
|
Posted:
Thu Nov 13, 2008 4:58 am |
|
Hi, I have similar Issue that has only just reared its head today. |
Last edited by StalkS on Wed Dec 10, 2008 5:24 am; edited 1 time in total |
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 2873 Location: United Kingdom
|
Posted:
Thu Nov 13, 2008 6:45 am |
|
Have you turned on Error reporting in the config.php file? |
|
|
|
 |
StalkS Hangin' Around

Joined: Oct 04, 2003 Posts: 35
|
Posted:
Thu Nov 13, 2008 7:08 am |
|
| jakec wrote: | | Have you turned on Error reporting in the config.php file? |
Yes I have. Nothing is showing as yet.
StalkS |
|
|
|
 |
|
|
|
|