Skip to Content Skip to Menu

[SOLVED] Invalid File Type: CB Gallery

  • jmaridon
  • jmaridon
  • OFFLINE
  • Posts: 49
  • Thanks: 8
  • Karma: 2
7 years 2 weeks ago - 7 years 2 weeks ago #298071 by jmaridon
[SOLVED] Invalid File Type: CB Gallery was created by jmaridon
When attempting to upload files, in this case PNG and JPG, I am receiving the following error even though I have added both to the list of allowed extensions:

Invalid file. Please upload only pdf, png, jpg, gif, bmp!

Could you please help me out with this?
Last edit: 7 years 2 weeks ago by krileon. Reason: Added [SOLVED] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
7 years 2 weeks ago #298083 by krileon
Replied by krileon on topic Invalid File Type: CB Gallery
Are you meaning to upload it as a file or as a photo? At the moment you appear to have photo uploading disabled and it's trying to upload as a file. However, it looks like it can't find the extension. Ensure your file is named properly with a proper extension. Ensure both CB and CB Gallery are up to date. The file extension parameter in CB Gallery should also be comma separated without spaces. You can also test uploading your photo to our demo site below, which is using defaults.

demo.cbdemosites.com/


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 or Create an account to join the conversation.

  • jmaridon
  • jmaridon
  • OFFLINE
  • Posts: 49
  • Thanks: 8
  • Karma: 2
7 years 2 weeks ago #298111 by jmaridon
Replied by jmaridon on topic Invalid File Type: CB Gallery

krileon wrote: Are you meaning to upload it as a file or as a photo? At the moment you appear to have photo uploading disabled and it's trying to upload as a file. However, it looks like it can't find the extension. Ensure your file is named properly with a proper extension. Ensure both CB and CB Gallery are up to date. The file extension parameter in CB Gallery should also be comma separated without spaces. You can also test uploading your photo to our demo site below, which is using defaults.

demo.cbdemosites.com/


I have tried both uploading as a file and as a photo. I can confirm that all the settings are configured to allow upload of photos and files with the correct extensions as you indicated. Now I can't even upload any files from the profile. I am not sure what is wrong.

Please Log in or Create an account to join the conversation.

  • jmaridon
  • jmaridon
  • OFFLINE
  • Posts: 49
  • Thanks: 8
  • Karma: 2
7 years 2 weeks ago #298112 by jmaridon
Replied by jmaridon on topic Invalid File Type: CB Gallery
I was able to fix this by reinstalling the plugin.
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum