Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NSN Gr Downloads - a.k.a NukeDepository
Author Message
thundarfoot
Regular
Regular



Joined: Jan 16, 2008
Posts: 75

PostPosted: Thu Jan 24, 2008 12:33 am Reply with quote

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
 
View user's profile Send private message
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu Jan 24, 2008 4:22 am Reply with quote

Should point you to:admin.php?op=DLMain

Make sure you uploaded all files.Check modules/Downloads/admin
 
View user's profile Send private message
thundarfoot







PostPosted: Thu Jan 24, 2008 6:24 am Reply with quote

Thats the address its pointing to. but just refreshes admin page. every file from the extraction is in place. Sad

I dont actually have a DLMain directory, the directory it was installed to is downloads. if that matters
 
Susann







PostPosted: Thu Jan 24, 2008 7:25 am Reply with quote

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: 9457
Location: Arizona

PostPosted: Thu Jan 24, 2008 11:35 am Reply with quote

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.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
thundarfoot







PostPosted: Thu Jan 24, 2008 12:09 pm Reply with quote

The version is NSN_GR_Downloads_750_103pl1 downloaded from [ Only registered users can see links on this board! Get registered or login! ]

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







PostPosted: Thu Jan 24, 2008 2:13 pm Reply with quote

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







PostPosted: Thu Jan 24, 2008 2:19 pm Reply with quote

hmm ok guess im going to have to make a php upload script then...Sad
 
montego







PostPosted: Fri Jan 25, 2008 7:25 am Reply with quote

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: 977

PostPosted: Thu Sep 18, 2008 11:43 am Reply with quote

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: [ Only registered users can see links on this board! Get registered or login! ]

**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?
 
View user's profile Send private message Visit poster's website
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Thu Sep 18, 2008 3:38 pm Reply with quote

Right, it is probably that NSN GR Downloads is missing the $admin_file somewhere

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
blith







PostPosted: Mon Sep 22, 2008 11:16 am Reply with quote

Can anyone send me a version that is working with the latest RN? Sounds llike some have it working...
 
blith







PostPosted: Tue Sep 23, 2008 12:30 pm Reply with quote

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







PostPosted: Wed Sep 24, 2008 6:06 am Reply with quote

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







PostPosted: Wed Sep 24, 2008 11:33 am Reply with quote

Worked beautifully. Thank you!!!
 
montego







PostPosted: Fri Sep 26, 2008 5:43 am Reply with quote

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

PostPosted: Thu Nov 13, 2008 4:58 am Reply with quote

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 
View user's profile Send private message
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Thu Nov 13, 2008 6:45 am Reply with quote

Have you turned on Error reporting in the config.php file?
 
View user's profile Send private message
StalkS







PostPosted: Thu Nov 13, 2008 7:08 am Reply with quote

jakec wrote:
Have you turned on Error reporting in the config.php file?


Yes I have. Nothing is showing as yet.


StalkS
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NSN Gr Downloads - a.k.a NukeDepository

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©