[SOLVED] Error Message: File failed to save! Error: File no

13 years 4 weeks ago - 13 years 3 weeks ago #159122 by cliburn
Hi All,

In the file plugin of GJ, I have set the option file to be uploaded to MP3 via backend (CB>GJ>plugin) and also set the limit size to 5mb and I get this error even if I uploaded a 3mb mp3 file.

File failed to save! Error: File not specified!

Tnx in advanced!

Please Log in to join the conversation.

13 years 4 weeks ago #159140 by krileon
Could not duplicate, was able to upload perfectly fine. The file not specified is a last resort error. It only displays if the upload fails and the failing upload provided no error. Please try uploading for example a txt file. Please note by default mp3 is NOT supported, you must configure the file integration from backend to support mp3. The default supported files are "zip,rar,doc,pdf,txt,xls". You would need to change this to "mp3,zip,rar,doc,pdf,txt,xls".


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 4 weeks ago #159152 by cliburn
Hi!

Thank you for the quick reply. I did upload first a text file and it works perfectly. I tried changing the default supported files to include mp3 and a 5mb file, still the error shows. I tried to trace the process using firebug and the uploading really does takes place and after that, I get this error in the front end:

File failed to save! Error: File not specified!

and server response is:

Failed to load source for: www.website.com/groups/pluginclass?plugin=cbgroupjive&action=plugin&func=file_save&cat=17&grp=16

Please Log in to join the conversation.

13 years 4 weeks ago #159165 by krileon
Was not able to duplicate, configured files integration to support 10MB (10240) and added mp3. Was able to successfully upload an MP3 file. You can test if a upload was successful or not by seeing if its in the appropriate folder at the below path.

images/comprofiler/cbgroupjivefile/CATEGORY_ID/GROUP_ID/

The only reason you should get that error is if the global $_FILES does not contain your file upload. Which means a problem at the POST process. Perhaps a conflict, browser related, or even host related.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 4 weeks ago #159246 by cliburn
Hi!

I have solved it. I check the directory you mentioned and noticed that the text files I uploaded are there. The MP3s are not. Even if the extension and size was correct on the admin side settings. I checked the POST process and it is sending the file correctly. Finally I checked if changing the setting in the admin side of GJ file size really changes the upload file size settings and it did not. I manually changed it in php.ini:

; Maximum allowed size for uploaded files.

upload_max_filesize = 10M

That fixed the problem.

Thanks again for the help! :p
The following user(s) said Thank You: menneke

Please Log in to join the conversation.

13 years 3 weeks ago #159294 by krileon
Changing the upload size from backend has no affect on PHPs upload limit, you are correct that it must be changed via PHP.ini. Thank you for sharing your resolution!


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.181 seconds

Facebook Twitter LinkedIn