PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  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
robert845
New Member
New Member


Joined: Jul 13, 2008
Posts: 8

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

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


Joined: Jul 13, 2008
Posts: 8

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

Anyone? I really need to figure this out. I will pay for your time
View user's profile Send private message
testy1
Worker
Worker


Joined: Apr 06, 2008
Posts: 113

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

make sure the folder your using is chmodded corectly, also i use the full url for the link e.g.
Only registered users can see links on this board!
Get registered or login to the forums!


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


Joined: Jul 13, 2008
Posts: 8

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

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
Only registered users can see links on this board!
Get registered or login to the forums!


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
Only registered users can see links on this board!
Get registered or login to the forums!
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
View user's profile Send private message
testy1
Worker
Worker


Joined: Apr 06, 2008
Posts: 113

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

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.
View user's profile Send private message
robert845
New Member
New Member


Joined: Jul 13, 2008
Posts: 8

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

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.
View user's profile Send private message
testy1
Worker
Worker


Joined: Apr 06, 2008
Posts: 113

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

np glad to help
View user's profile Send private message
robert845
New Member
New Member


Joined: Jul 13, 2008
Posts: 8

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

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


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

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

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 to the forums!
. 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.
View user's profile Send private message Visit poster's website
robert845
New Member
New Member


Joined: Jul 13, 2008
Posts: 8

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

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.
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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum