Skip to Content Skip to Menu

[SOLVED] CB Gallery upload error

  • Vorak
  • Vorak
  • OFFLINE
  • Posts: 218
  • Thanks: 41
  • Karma: 3
7 years 6 months ago - 7 years 2 months ago #292838 by Vorak
[SOLVED] CB Gallery upload error was created by Vorak
Hello,

Yesterday I updated to the latest version of CB Gallery.

All settings that I can find are enabled for the creation of albums as well as photos.
However, when I try to upload a photo I get this error:

You do not have permission to create files in this gallery.

I tried with a few regular JPG and PNG files, but the same every time.
Linking to the URL of an image, on the other hand, works without a problem.

Did I miss a setting somewhere else?
Last edit: 7 years 2 months 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 6 months ago #292847 by krileon
Replied by krileon on topic CB Gallery upload error
Where are you uploading from? The profile gallery uses the gallery tab for access permission checks. Ensure the Gallery tab is published and accessible to the user otherwise you need to use an Asset that isn't a profile based one.


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.

  • Vorak
  • Vorak
  • OFFLINE
  • Posts: 218
  • Thanks: 41
  • Karma: 3
7 years 6 months ago #292854 by Vorak
Replied by Vorak on topic CB Gallery upload error
Yes, the gallery tab is published, and inside its settings everything says "same as global", which I assume means the settings in the plugin. There I have enabled the uploading of images, but I have disabled videos, links, files.

I tried uploading straight from the tab in my profile, as well as from a menu link pointing to the CB Gallery plugin, but in both cases the error is the same. I am able to reach the upload page, and I can select an image to upload, but upon trying to upload the error appears.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
7 years 6 months ago #292860 by krileon
Replied by krileon on topic CB Gallery upload error
It seams to think whatever you're trying to upload is not an image, but a file. Please try uploading it to our demo site below and see if issue persists.

demo.cbdemosites.com/

As you're still on PHP 5.3 it could be a PHP bug as I only have a minimum of PHP 5.6 to test.


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.

  • Vorak
  • Vorak
  • OFFLINE
  • Posts: 218
  • Thanks: 41
  • Karma: 3
7 years 6 months ago #292867 by Vorak
Replied by Vorak on topic CB Gallery upload error
I have tried to upload the same file through the demo site and it works without a problem.

I did try to upload different images on my website, in JPG, PNG and GIF, and they all have the same issue.

I just tried to set the error reporting on maximum, and then the upload bar goes green instead of red. After that, the page is darkened but nothing else happens and it just sits there like that, and no image is actually added to the album. When I turn the error reporting off again, the upload bar goes red again like before.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
7 years 6 months ago #292880 by krileon
Replied by krileon on topic CB Gallery upload error
Your issue maybe due to the below bug.

forge.joomlapolis.com/issues/6576

Edit the Gallery tab within CB > Tab Management then set all of its parameters to the same values as those in CB Gallery > Configuration to try and workaround it to see if that's your issue. Next log out and back in to clear the parameter cache and retry.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum