Previous Thread
Next Thread
Print Thread
Hop To
#265870 12/12/2023 5:40 AM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
May have found a bug in 7.7.5

When I upload using the select a file to attach button on britbike forum it works fine BUT
when I drag a file it becomes corrupt see bottom image.
I tested .jpg and .jpeg both are allowed.

Please advice

[Linked Image][Linked Image]


Quote


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Morgan #265881 12/22/2023 11:43 AM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Oops still not working 😊


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Morgan #265882 12/25/2023 12:05 PM
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
curious.
Have you tried drag and drop the same file on your pc one folder to another?
This will fail if you are short on temp drive space or memory


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Morgan #265883 12/25/2023 12:38 PM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Hi Ruben,

I have tested it both locally on my IMAC and here now on UBBCentral which works but it don't work to drag files into Britbike forum's attachment feature.
Merry Christmas

[Linked Image]
Above image was dragged but as mentioned it don't work on my Britbike forum

Last edited by Morgan; 12/25/2023 1:30 PM.

Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Morgan #265897 01/21/2024 5:34 PM
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Late on this reply.
If it works here.
This site is hosted on a simple shared account.
At least the last time i was told.
I would look at the php settings for timeout and memory
max_execution_time
max_input_time
max_file_uploads
max_input_vars
memory_limit
post_max_size
upload_max_filesize

You may need to increase a setting for the delay and for a temp buffer size for drag and drop


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Morgan #265898 01/21/2024 5:43 PM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Ruben, in that case would I not have same trouble when adding via upload button ?

Where would I set drag settings?
Cheers

Last edited by Morgan; 01/21/2024 5:45 PM.

Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Morgan #265909 02/11/2024 7:48 AM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Update, suddenly today when I tested to drag a new image to attachment on my forum and it worked to my surprise.
Have changed nothing so it might be one of those unexplained adventures in life.

Cheers

Last edited by Morgan; 02/11/2024 7:48 AM.

Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Morgan #265910 02/13/2024 5:56 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I was never able to replicate this on v7.7.5 nor v8. For whatever reason, it appears that the script was being "read in" as plain code versus being processed by the web server (as the portions of coding that appear seem to be plain HTML).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
1 member likes this: Morgan
Morgan #265923 02/15/2024 6:40 AM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Oh same issue appear again... 😨


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Morgan #265928 02/16/2024 12:55 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I'm still not able to replicate this on PHP7.4 or PHP8 using a stock build of v8 and v7.7.5.

If it "works" some days and "doesn't work" others, it's something going on with your host... Are they flipping PHP versions or is someone changing configurations on you?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #265937 02/20/2024 4:40 AM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Gizmo,

This "drag a file it becomes corrupt" issue is a pain. I have not been able to do it for months and yes I believe able to do it once
10 days ago.

If you wish to test it then I or you could set up an account on britbike forum.

that way you could test this issue and possible the other issue with selecting/uploading images described in the other topic.

Let me know if you wish to test on britbike.

Last edited by Morgan; 02/20/2024 4:45 AM.

Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (ahmed047), 272 guests, and 132 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)