When i attempt to upload a file, .mp4 specifically i get the error:
“You do not have access to this upload directory” but images work fine.
I am using the build:20100810 and the server wizard checks out just fine.
-Richard
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
September 15, 2010 9:59pm
Subscribe [4]#1 / Sep 15, 2010 9:59pm
When i attempt to upload a file, .mp4 specifically i get the error:
“You do not have access to this upload directory” but images work fine.
I am using the build:20100810 and the server wizard checks out just fine.
-Richard
#2 / Sep 16, 2010 7:58am
Welcome to the ExpressionEngine forums, Richard.
Are you logged in as a SuperAdmin? Are the download settings set for All or Images Only?
#3 / Sep 16, 2010 1:59pm
Yes, i am logged in as a Super Admin and my File Upload Preferences are set to “all file types”
#4 / Sep 17, 2010 2:04am
Richard,
Can you add mp4 to to list of allowed file types in system/expressionengine/config/mimes.php
Was this a fresh install or an upgrade?
#5 / Sep 17, 2010 1:44pm
I added the type: ‘mp4’ =>‘video/mp4’ to the list and still no luck i get the same error.
This is a fresh install running on WAMP, i restarted the server after changing the config but it didn’t help.
#6 / Sep 18, 2010 4:34pm
Hi Richard,
How big is the mp4 file?
Cheers
Greg
#7 / Sep 18, 2010 7:13pm
about 16mb
#8 / Sep 20, 2010 1:30am
gluecat,
Is the upload for the File custom field or an image upload in a regular text area field?
If it is a File custom field then make sure that in it’s custom field options it is set to ‘Any’
If you goto Tools -> Utilities -> PHP Info can you tell us the values for upload_max_filesize, memory_limit and open_basedir
#9 / Sep 20, 2010 3:12am
Apparently WAMP’s default upload size is 2mb, i changed it in the config file: C:\wamp\bin\apache\Apache2.2.11\bin\php.ini to 700mb and it worked!!!
Thank You John and everyone for your patience!!!!
#10 / Sep 20, 2010 3:14am
gluecat, glad that worked for you. Feel free to start a new thread if you have any more questions.