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
robert845
New Member
New Member



Joined: Jul 13, 2008
Posts: 13

PostPosted: Tue Aug 05, 2008 8:53 am Reply with quote

I really need to solve this problem I am having with Submit Downloads in nsn downloads

I can add downloads via url path in admin add download. Thats fine.

I cannot upload files though using "submit downloads". I receive the message "error: File Not Uploaded"

It might just be that i need help setting up the correct relative path. Any help?

Any Ideas? I will paypal $20 if this is solved.

I cannot link to my site for security reason but I can help you out with all the code info you want.

Thanks

*1 thing i just noticed. For some reason everytime i switch my category to "yes" for allow uploads and save changes....... I go back and it is set at No again. Maybe the relative path was not confirmed?

*Also when installing I did a "fresh install" of this module instead of an upgrade. I had the standard ravennuke downloads module before.


**I just realized I probably should have put this in the NSN section. Didn't know that existed
 
View user's profile Send private message
robert845







PostPosted: Tue Aug 05, 2008 3:57 pm Reply with quote

Anyone? I really need to figure this out. I will pay for your time
 
testy1
Involved
Involved



Joined: Apr 06, 2008
Posts: 484

PostPosted: Tue Aug 05, 2008 4:09 pm Reply with quote

make sure the folder your using is chmodded corectly, also i use the full url for the link e.g. http://www.yoursite.com/downloads/the_file.zip

also make sure the file name had no spaces in it, use underscore instead.
 
View user's profile Send private message
robert845







PostPosted: Tue Aug 05, 2008 4:18 pm Reply with quote

I tried that.

Here's the problem. I set up a new Category for download. When I modify the category i check allow users to upload. It also asks for the relative path. I believe I am having trouble with the relative path. I can chmod 777 the folders but i believe my path is wrong.

for relative path i am entering http://www.mysite.com/access2/files/

My RN site is located in my access2 folder. files is chmod 777. Do i have to place the folder in the downloads module?

I get the message "error, file not uploaded" Everything else works great and I can manually add a download from my ftp. I need my users to be able to upload

Anymore ideas Testy? or anyone?

figure this out for me and i'll pay you tonight
 
testy1







PostPosted: Tue Aug 05, 2008 6:08 pm Reply with quote

use this to get the right relative path,

Code:


<?php


echo getcwd();

?>


just insert it into a new php file and upload, alternatively you can get the relative path from sentinel where it shows the htacces stuff.

the relative path will something like

Code:


/home/testy/public_html/phpnuke/


if you do make a donation make it to raven, or one of the great features associated with raven.
 
robert845







PostPosted: Tue Aug 05, 2008 8:27 pm Reply with quote

You did it!!!!!!!!!!!!!!!!!!!!!!!!!

You don't know how long i've been struggling with this. I will be donating to this site tonight.

thanks ... I mean it.
 
testy1







PostPosted: Wed Aug 06, 2008 12:41 am Reply with quote

np glad to help
 
robert845







PostPosted: Wed Aug 06, 2008 4:23 pm Reply with quote

One more question with this module Testy... or anyone

I need to be able to set more than 1 group to download a file.

I opened the categoryadd.php file and i'm guessing this line of code needs to be modified:

$gresult = $db->sql_query("SELECT * FROM ".$prefix."_nsngr_groups ORDER BY gname");
while($gidinfo = $db->sql_fetchrow($gresult)) {
$gidinfo['gid'] = $gidinfo['gid'] + 2;
echo "<option value='".$gidinfo['gid']."'>".$gidinfo['gname']." "._DL_ONLY."</option>\n";

Now i'm not exactly sure how to get a drop down list where i can manually select more than one group. Any ideas?
 
montego
Site Admin



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

PostPosted: Thu Aug 07, 2008 6:10 am Reply with quote

robert845, I am going to move your post to under the NSN forum as well as I am going to continue the discussion here rather than over at your post in my forums. That way more people have a chance to find it. But, you need to be patient, as we're all extremely busy right now. Plus, it would be good, I think, for you to brush up on our Only registered users can see links on this board! Get registered or login!. Thanks.

I have set this thread aside to come back to when I've got a spare moment to see if I can create the code you need. It could take more than just in the category add area, but i haven't looked yet.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
robert845







PostPosted: Thu Aug 07, 2008 9:23 am Reply with quote

Thanks for the link Montego. I went over the rules. good to know.

I appreciate that you set aside my thread. I really need help on this one.

I don't mean to rush or push you in any way but let me know how I can free up your time to look over this for me. If thats and option let me know what that will take. Shoot me a PM. This is for a large corporation so time is of the essence. If only I wasn't such a newb Smile! This is the last detail I need to complete our website.
 
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 ©