Page 1 of 1
[SOLVED]Uploading an mp3 causes my admin session to log out
Posted: Wed Oct 08, 2014 12:47 pm
by blackhawk
I am using cmsms 1.11.11
I created a file upload field under the news module. When I attempt to upload an .mp3 file inside an article (admin) page, it logs me out of my session and I have to log back into admin.
After logging back into the admin account, and traveling to my article page, I can see that the mp3 file was never uploaded either.
What are some things I can do to help investigate why I get booted on file uploads?
Thanks
Re: Uploading an mp3 causes my admin session to log out
Posted: Wed Oct 08, 2014 11:05 pm
by JohnnyB
What are the server's error logs showing? Admin log?
Be sure that the News settings will allow mp3 uploads. See option:
Allow only files with these extensions to be uploaded:
Re: Uploading an mp3 causes my admin session to log out
Posted: Thu Oct 09, 2014 11:08 am
by blackhawk
Thank you JohnnyB. You gave me more knowledge on prepping. But these steps didn't work. The server logs don't say any apache or mysql errors happened. And I added mp3 as an option for uploads.
It doesn't matter if the mp3 is 9MB or 35MB in size...it will not upload...
The funny thing is that I can upload photos (i.e. jpg's), but just not mp3's...
perhaps this is a new bug related issue with version 1.11.11??? or can other users upload mp3's through the news module in this version?
thanks
Re: Uploading an mp3 causes my admin session to log out
Posted: Thu Oct 09, 2014 1:19 pm
by JohnnyB
It works for me with latest News using CMSMS 1.11.11.
I can upload via the "File" custom field and via TinyMCE upload.
Re: Uploading an mp3 causes my admin session to log out
Posted: Thu Oct 09, 2014 2:49 pm
by blackhawk
Your feedback helps me out a lot! Let me keep trying things...
Re: Uploading an mp3 causes my admin session to log out
Posted: Fri Oct 10, 2014 8:28 pm
by blackhawk
I found a work-around until I am able to automatically upload mp3s...
First I created a text input field definition, and I am using it to write the name of my audio files.
Then within the details template find this field and wrap it with the audio element for HTML5.
So yes, I would have to manually upload the mp3 to a destination to my server, and then manually type the name of the file to this new field. But I'm ok with that until I find a better way to upload the audio.
Thanks again!
Re: [SOLVED]Uploading an mp3 causes my admin session to log
Posted: Sun Oct 12, 2014 10:46 pm
by Dr.CSS
Have you check your system info page for upload limits..?
Re: [SOLVED]Uploading an mp3 causes my admin session to log
Posted: Thu Oct 16, 2014 12:29 pm
by blackhawk
ahhhh - I see it...
Maximum Post Size (post_max_size) 8MB
Maximum Upload Size (upload_max_filesize) 10MB
I can see that I can easily adjust these values from my PHP.ini file too! More importantly, I can see that my live server allows me to upload/post files up to 50MB, which is more than enough for each occurrence.
I also played with the following in my config file...
$config['max_upload_size'] = 50000000;
and last, made sure that mp3 was an acceptable file type.
I see my mp3's uploading now.
Thank you so much for helping me see the system information. This is the answer I needed!