Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount! Get 20% off now with code SPOOKY-2024!

Possible bug

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 1 month ago #285796 by timstohr
Replied by timstohr on topic Possible bug
Bam got the first bug again, including 500 errors (this time it uploaded until the last picture).

The screenshot I took afterwards was better:
Attachments:

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

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 1 month ago #285798 by timstohr
Replied by timstohr on topic Possible bug
I unpublished the stupid UddeIM module, got the error again and this time it shows a 500 error...



Also, it would be great if the Gallery plugin took the name of the album when uploading stuff to the album. Otherwise you have to rename hundreds of photos...
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 1 month ago #285805 by krileon
Replied by krileon on topic Possible bug
Your JS is being compressed. Disable all your compression usage. Then enable debug mode and maximum error reporting. Once done see if issue persists. If it throws a 500 error again then immediately review server error logs as you're getting a server error. Please understand you need to have realistic expectations of your server. You're trying to upload straight from camera photos which are absurdly large for web usage. Shared/Budget hosting is going to struggle with them (and is why I've set the default maximum size to 1MB); especially when being processed with GD2 which will double or triple the filesize of a photo due to the raw byte data (you can check byte data site in GIMP or Photoshop). More than likely you simply are hitting PHP memory limits.

Also, it would be great if the Gallery plugin took the name of the album when uploading stuff to the album. Otherwise you have to rename hundreds of photos...

I can't see the point in this. Why would a whole album of photos be titled the same as the album? You do not have to supply a title as it'll use the filename if no title is supplied.


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 1 month ago #285806 by krileon
Replied by krileon on topic Possible bug
I was able to successfully mass-upload over 100 raw camera photos perfectly fine. I believe your issue is either your server crashing (most likely the cause) or you've an extension installed throwing errors. Only way to know is debug mode and maximum error reporting followed by reviewing server error log. There's also a possibility your JS compression extension is breaking the JS.


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.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 1 month ago #285817 by timstohr
Replied by timstohr on topic Possible bug
Will check that but my guess is that the problem lies somewhere else. I can perfectly fine upload 100s of 7 MB pictures (since I have 8GB RAM, the cause is not the server memory... and it has never spiked above 30% usage even with 200 people on the site simultaneously) HOWEVER the error happened when I uploaded tiny pictures that I had downloaded from FB (and only then in very few of them, since it uploaded the rest fine).

Since FB also uses some compression techniques (downsizing, lossy compression, non-lossy compression etc...) i thought that it had something to do with this (Upload 100 pictures downloaded from FB and it is bound to happen). Non-compressed pictures upload spectacularly for me.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 1 month ago - 8 years 1 month ago #285818 by krileon
Replied by krileon on topic Possible bug
So it's only the photos downloaded from Facebook doing this? There's really not much more I can suggest without an error to investigate so you need to trigger the error then review server error log around the time of the upload. I am unable to reproduce here.

Edit: Downloaded 52 photos from my Facebook and they uploaded fine. All were raw camera photos taken during J&B.


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.
Last edit: 8 years 1 month ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum