PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
thundarfoot
Regular
Regular


Joined: Jan 16, 2008
Posts: 75

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

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: 3143
Location: Germany:Moderator German NukeSentinel Support

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

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 Visit poster's website
thundarfoot
Regular
Regular


Joined: Jan 16, 2008
Posts: 75

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

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


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

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

No the directory is correct. Whats your NSN GR version number ?
Turn config error on in your config.php. Maybe it shows something.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

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

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.
View user's profile Send private message Visit poster's website
thundarfoot
Regular
Regular


Joined: Jan 16, 2008
Posts: 75

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

The version is NSN_GR_Downloads_750_103pl1 downloaded from
Only registered users can see links on this board!
Get registered or login to the forums!


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


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

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

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.
View user's profile Send private message Visit poster's website
thundarfoot
Regular
Regular


Joined: Jan 16, 2008
Posts: 75

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

hmm ok guess im going to have to make a php upload script then...Sad
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

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

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.
View user's profile Send private message Visit poster's website
blith
Client


Joined: Jul 18, 2003
Posts: 977

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

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 to the forums!


**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 Back to top

Right, it is probably that NSN GR Downloads is missing the $admin_file somewhere
View user's profile Send private message Visit poster's website
blith
Client


Joined: Jul 18, 2003
Posts: 977

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

Can anyone send me a version that is working with the latest RN? Sounds llike some have it working...
View user's profile Send private message Visit poster's website
blith
Client


Joined: Jul 18, 2003
Posts: 977

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

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.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

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

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.
View user's profile Send private message Visit poster's website
blith
Client


Joined: Jul 18, 2003
Posts: 977

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

Worked beautifully. Thank you!!!
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

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

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.
View user's profile Send private message Visit poster's website
StalkS
Hangin' Around


Joined: Oct 04, 2003
Posts: 35

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

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: 3038
Location: United Kingdom

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

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


Joined: Oct 04, 2003
Posts: 35

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

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


Yes I have. Nothing is showing as yet.


StalkS
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum