vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Uploading attachment pics failing.. (https://vborg.vbsupport.ru/showthread.php?t=322470)

BadgerDog 05-06-2016 05:22 PM

Thanks for following up Lynne...

Here's my current values ...

Quote:

*PHP Settings:* Local and Master

max_execution_time 120 120
memory_limit 134217728 64M
post_max_size 3M 3M
upload_max_filesize 3M 3M
max_input_time 80 80

*MySQL Settings:*

max_allowed_packet 16777216
wait_timeout 28800
To my knowledge, they have not changes in recent memory, unless our tech support did so for some reason without my knowledge..

Does this help?

Regards,
Doug

Lynne 05-06-2016 08:45 PM

Those look fine to me.

How about my first questions regarding the attachment type and sizes?

BadgerDog 05-07-2016 07:58 AM

1 Attachment(s)
Sorry.I missed that Lynne...

Attached is pic of those settings...

The issue happens on PNG's and JPG's, as our members rarely, if at all, upload anything else...

Regards,
Doug

Lynne 05-07-2016 02:02 PM

I am really not seeing anything obvious here. I would say you should upgrade because I do recall there were some image issues with earlier versions of vB4, but I know you don't want to do that and I honestly don't know if that would really fix the issue for you. Usually when you get an error when uploading an image, there is something in the error_logs, but you said there was not. You *may* want to try setting an upload_tmp_dir for the server, but I'm not sure if that will fix the issue either.

What about mod_security or suhosin? Are either enabled on the site? You may want to try disabling them and see if your users still have the issue.

BadgerDog 05-07-2016 03:54 PM

Lynne ...

Thanks again for all your attempts to help ... much appreciated..

I checked again and there's no errors in the logs.

I really don't know anything about about mod_security or suhosin, so I can't tell you if they're enabled or not. Are they part of vBulletin?

A question ... why would using the Basic method of uploading work for some of these people experiencing these failures and the Advanced method not?

Do they use different background code to handle the selection and uploading of files?

Regards,
Doug

Lynne 05-07-2016 07:52 PM

The two methods of uploading definitely use different code. I believe they were even pretty much written by different sets of developers also since the vB3 team was different than the vB4 team and the Basic method is from vB3 and the Advanced method is from vB4.

As for mod_security and suhosin, they are server applications that some hosts install. So, you would need to ask your host if either is installed and if you are able to disable them yourself (usually via .htaccess).

rohirrim 05-08-2016 07:37 PM

that issue can be related with browser. recently i faced such problem and that's was only me. Anyway I realised that it's because firefox latest update. I unistall latest version then install old version 37. it works. then ı updated this old one via firefox self update. and the issue fixed.
Ask members if they use firefox

BadgerDog 05-19-2016 03:17 PM

Quote:

Originally Posted by rohirrim (Post 2570364)
that issue can be related with browser. recently i faced such problem and that's was only me. Anyway I realised that it's because firefox latest update. I unistall latest version then install old version 37. it works. then ı updated this old one via firefox self update. and the issue fixed.
Ask members if they use firefox

Thanks, but the problem seems to independent of the type of browser the member is using,

I think I have the answer, so read the next post I leave for Lynne ..

Regards,
Doug

--------------- Added [DATE]1463678505[/DATE] at [TIME]1463678505[/TIME] ---------------

Lynne.... :)

I had Sucuri tech support (the cloud firewall vendor) track this one down on their end ?

Quote:

They said: "That IP was blocked on our internal system for making too many requests in a small period of time. There were 53 requests in 4 seconds, which is a lot, so what I would recommend doing is configuring an option to only allow 8-10 images at the most per reply in a thread or 8-10 images for a new post/topic on the forum and that should fix the issue to prevent this from happening."
Unfortunately, the member told me that they were only trying to upload a few pics, so either there must be something weird about vBulletin?s upload code used in asset.php, or the way Sucuri?s IDS (Intrusion Detection System) interprets what?s happening.

I think I may have to find a coder to look at asset.php and see if he can create a pause between the upload of every pic, when a member is using the Advanced Uploading Method.

Thanks for all your input in attempting to help us .. much appreciated.. :up:

Regards,
Doug


All times are GMT. The time now is 11:51 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01042 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete