Author |
Message |
LiTh
New Member


Joined: May 30, 2006
Posts: 12
|
Posted:
Sun Mar 11, 2007 9:36 pm |
|
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 |
|
|
 |
LiTh

|
Posted:
Mon Mar 12, 2007 3:35 pm |
|
apologies for reposting in the modules forum, had no idea it was moved to this new forum  |
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Mon Mar 12, 2007 3:54 pm |
|
Is it just mp3 files?
Also when you say the latest is that RN 2.10? |
|
|
|
 |
jakec

|
Posted:
Mon Mar 12, 2007 4:07 pm |
|
The login and password you provided doesn't appear to work. |
|
|
|
 |
LiTh

|
Posted:
Mon Mar 12, 2007 4:38 pm |
|
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
|
Posted:
Mon Mar 12, 2007 9:40 pm |
|
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. |
|
|
|
 |
LiTh

|
Posted:
Mon Mar 12, 2007 9:57 pm |
|
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!  |
|
|
|
 |
LiTh

|
Posted:
Mon Mar 12, 2007 10:19 pm |
|
i made another account incase there's still problems with test:test1 this account is: test13:test31 (login: test13 password: test31) |
|
|
|
 |
Guardian2003

|
Posted:
Tue Mar 13, 2007 4:23 am |
|
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

|
Posted:
Tue Mar 13, 2007 6:32 am |
|
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
|
Posted:
Tue Mar 13, 2007 7:07 am |
|
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...  |
_________________ 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! |
|
|
 |
LiTh

|
Posted:
Tue Mar 13, 2007 7:35 pm |
|
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  |
|
|
|
 |
montego

|
Posted:
Wed Mar 14, 2007 6:53 am |
|
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

|
Posted:
Wed Mar 14, 2007 7:52 am |
|
WOOHOO! I FIGURED IT OUT
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
I'll be on these boards more often now to just keep upto date and also to say hi
Warmest Regards
Steve aka LiTh |
|
|
|
 |
LiTh

|
Posted:
Wed Mar 14, 2007 3:37 pm |
|
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

|
Posted:
Thu Mar 15, 2007 6:39 am |
|
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

|
Posted:
Fri Apr 13, 2007 4:36 pm |
|
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 |
|
|
|
 |
|