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



Joined: May 30, 2006
Posts: 12

PostPosted: Sun Mar 11, 2007 9:36 pm Reply with quote

Hello,

1st some info, i'm running raven's latest 7.6 package
updated nukesentinel to latest versions
using NSN GR Downloads module (for 7.6)

Ok here's the problem, whenever i try to upload a file (to test to upload function) it will say 'Wrong extension!" now i deffinitally have added the extension in the admin section. I even tried without the period, aswell as with a " on the end. such as this:
mp3
*.mp3
.mp3
*.mp3"
I've tried every combination of these yet i cannot upload an mp3 file. I'm really perplexed. The directory is 777 and set to allow users to upload.

Any help would be greatly appreciated i've already scoured this website to see if its already been answered for me but still no luck.

the website is www.imperialrecordings.com you can click the upload music section and try for yourself. (login: test) (pw: test1)

LiTh
thx
lith@gmail.com


Last edited by LiTh on Mon Mar 12, 2007 4:43 pm; edited 2 times in total 
View user's profile Send private message
LiTh







PostPosted: Mon Mar 12, 2007 3:35 pm Reply with quote

apologies for reposting in the modules forum, had no idea it was moved to this new forum Very Happy
 
jakec
Site Admin



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

PostPosted: Mon Mar 12, 2007 3:54 pm Reply with quote

Is it just mp3 files?

Also when you say the latest is that RN 2.10?
 
View user's profile Send private message
jakec







PostPosted: Mon Mar 12, 2007 4:07 pm Reply with quote

The login and password you provided doesn't appear to work.
 
LiTh







PostPosted: Mon Mar 12, 2007 4:38 pm Reply with quote

oop sorry login: test pw: test1
yes 2.1 raven release (the one on this front page)

it also seems to be not just mp3 but also ogg and wmv files (the only 3 i wish to allow since its a music oriented site only)
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon Mar 12, 2007 9:40 pm Reply with quote

First of all, extensions should be added with the period but no asterix (*)
Having just visited your site, the log in does not work so I'm not able to test that but you have not set up any categories either and this needs to be selected first when a user tries to make an upload.
 
View user's profile Send private message Send e-mail
LiTh







PostPosted: Mon Mar 12, 2007 9:57 pm Reply with quote

Ok i changed the extensions and took out the asterix, well good news it doesnt say wrong extension anymore... bad news is it says "ERROR: File Not Uploaded" i've checked 100 times that the directory that the file is being uploaded to (and subsequint files) is CHMODD 777

Also the test:test1 login password should work fine, i edited my original post and changed it to this (before i put test:test2 which was incorrect). I've logged in and out and this works perfect. Also the catagories are working as they should as i have it to only allow registered users to upload to the directory (in the admin categories section) So this is working as should i believe.

I'm now even more perplexed that i get the ERROR message when the directory is 777 and should be available to be uploaded to.

Thanks for the help guys, i'm almost there! Smile
 
LiTh







PostPosted: Mon Mar 12, 2007 10:19 pm Reply with quote

i made another account incase there's still problems with test:test1 this account is: test13:test31 (login: test13 password: test31)
 
Guardian2003







PostPosted: Tue Mar 13, 2007 4:23 am Reply with quote

That account logs me in. The categories and everything else seems fine now but I'm gettng the same upload error.
I'm not sure if this might be a error due to the upload timing out, I have to assume you have enough webspace for it...
Try adding a file extension for .doc and adding a word document or something, this should help narrow down whether it is timing out as the file sixe is very small.
 
LiTh







PostPosted: Tue Mar 13, 2007 6:32 am Reply with quote

I dont think its the time out, cause i tried renaming a text.txt file to text.mp3 (with 1byte) to see if it would work and i get the same thing happening. I deffinitally have enough space (200+ gigs space free). I even went thru this entire process to change the php.ini file located on my host to instead use a copy of it on my webserver and changed the max upload from 8megabytes to 160megabytes (the only change i made) and cron job'd it to update once a week.

I'm wondering if it would have to do with groups in anyway, cause the only logical thing i can think of is the directory isnt chmodd 777, but i've checked litterally over 100 times and it for sure is. Thanks again for helping out, i really do appreciate it.

Steve
 
montego
Site Admin



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

PostPosted: Tue Mar 13, 2007 7:07 am Reply with quote

LiTh, can you please check your Apache error logs to see if there is any additional info on the error? BTW, be careful what you post. You may want to edit out full path details, for example.

I will admit that I have never allowed the use of the upload feature and so are not real familiar with that. Guess I should have remembered that prior to taking this over... Wink

_________________
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
LiTh







PostPosted: Tue Mar 13, 2007 7:35 pm Reply with quote

I'm not totally familar (just kind of getting into php teaching myself ect) with the process of checking the apache error logs, how would i get about that? (Sorry for the noob question Sad
 
montego







PostPosted: Wed Mar 14, 2007 6:53 am Reply with quote

Well, it depends a bit on what you have access to, but I think this is a hosted server right? It should come with some form of control panel and there is usually an option to view / download your error log.
 
LiTh







PostPosted: Wed Mar 14, 2007 7:52 am Reply with quote

WOOHOO! I FIGURED IT OUT Very Happy

Ok here was the problem guys, it turns out my host (dreamhost.com) has "The PHP option allow_url_fopen" option DISABLED, so i had to put in a different path so instead of "http://www.imperialrecordings/blahblah/" instead it was this: /home/username/domain.com/directory/ and bam! now it works like a charm! Thank you guys so much for all the help. It was really very very appreciative. I've been a lurker on these boards for quite awhile and when i needed help you guys were right there Smile

I'll be on these boards more often now to just keep upto date and also to say hi Very Happy

Warmest Regards
Steve aka LiTh
 
LiTh







PostPosted: Wed Mar 14, 2007 3:37 pm Reply with quote

i just noticed something interesting, if there is a number in the extension it is case sensitve, such as:

.mp3 is allowed but .MP3 will not be allowed, this is not the case for other extensions such as: .ogg, .OGG, .wmv, .WMV

Wierd bug easy workaround is adding .MP3 and .mp3

LiTh
 
montego







PostPosted: Thu Mar 15, 2007 6:39 am Reply with quote

Hey, glad to see you are up and running! Sorry that I was not more help.

Also, thanks for reporting the "bug". I have taken note of it to be addressed in some future release (yet to be planned).
 
Guardian2003







PostPosted: Fri Apr 13, 2007 4:36 pm Reply with quote

Off topic slightly but LiTh although I use this module myself I have never used the upload feature but I wanted to ask a couple of quick questions;
1 when a registered user submits file, do you get an email?
2 When you view the directory in which the uploaded files are stored, do they keep the original file name? For example, if you upload myfile.mp2 do you see 'myfile.mp3' in the directory or does it get renamed to something like 0002.mp3
 
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 ©