Author |
Message |
robert845
New Member


Joined: Jul 13, 2008
Posts: 13
|
Posted:
Tue Aug 05, 2008 8:53 am |
|
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 |
|
|
|
 |
robert845

|
Posted:
Tue Aug 05, 2008 3:57 pm |
|
Anyone? I really need to figure this out. I will pay for your time |
|
|
|
 |
testy1
Involved


Joined: Apr 06, 2008
Posts: 484
|
Posted:
Tue Aug 05, 2008 4:09 pm |
|
|
|
 |
robert845

|
Posted:
Tue Aug 05, 2008 4:18 pm |
|
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

|
Posted:
Tue Aug 05, 2008 6:08 pm |
|
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

|
Posted:
Tue Aug 05, 2008 8:27 pm |
|
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

|
Posted:
Wed Aug 06, 2008 12:41 am |
|
|
|
 |
robert845

|
Posted:
Wed Aug 06, 2008 4:23 pm |
|
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
|
Posted:
Thu Aug 07, 2008 6:10 am |
|
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! |
|
|
 |
robert845

|
Posted:
Thu Aug 07, 2008 9:23 am |
|
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 ! This is the last detail I need to complete our website. |
|
|
|
 |
|