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
[SOLVED]Uploading an mp3 causes my admin session to log out
[SOLVED]Uploading an mp3 causes my admin session to log out
Last edited by blackhawk on Fri Oct 10, 2014 8:28 pm, edited 1 time in total.
Re: Uploading an mp3 causes my admin session to log out
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:
Be sure that the News settings will allow mp3 uploads. See option:
Allow only files with these extensions to be uploaded:
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: Uploading an mp3 causes my admin session to log out
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
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
It works for me with latest News using CMSMS 1.11.11.
I can upload via the "File" custom field and via TinyMCE upload.
I can upload via the "File" custom field and via TinyMCE upload.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: Uploading an mp3 causes my admin session to log out
Your feedback helps me out a lot! Let me keep trying things...
Re: Uploading an mp3 causes my admin session to log out
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!
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
Have you check your system info page for upload limits..?
Re: [SOLVED]Uploading an mp3 causes my admin session to log
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!
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!