• Welcome to Simple Machines Community Forum. Please login or sign up.
December 06, 2021, 08:02:37 AM

News:

Check out the SMF Function DB!


Attachments

Started by Bigguy, October 29, 2020, 09:43:08 AM

Previous topic - Next topic

Bigguy

My users are reporting to me that they can not upload attachments. All they get when they try is a block of code in a red box but this does not produce errors in the log files. I can post attachments just fine. Just not my members.


Bigguy

Yup, OP is from my forum so maybe he is talking about it. Didn't see that before I posted sorry.

shawnb61

Not seeing it...

It might help to have that red text...
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

lurkalot

Quote from: shawnb61 on October 29, 2020, 11:52:29 AM
Not seeing it...

It might help to have that red text...

Does it for me as well on Bigguy's site.  Here's the red text,

Quotetinyportal2.png <!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="https://www.smfhelper.com/Themes/default/css/index.css?smf21rc3_1603387703"> <link rel="stylesheet" href="https://www.smfhelper.com/Themes/default/css/jquery.custom-scrollbar.css?smf21rc3_1603387703"> <link rel="stylesheet" href="https://www.smfhelper.com/Themes/default/css/jquery.sceditor.css?smf21rc3_1603387703"> <link rel="stylesheet" href="https://www.smfhelper.com/Themes/default/css/hof.css?smf21rc3_1603387703"> <link rel="stylesheet" href="https://www.smfhelper.com/Themes/default/css/responsive.css?smf21rc3_1603387703"> <style> img.avatar { max-width: 100px; max-height: 100px; } .postarea .bbc_img { max-width: 600px; } .postarea .bbc_img { max-height: 800px; } </style> <script> var smf_theme_url = "https://www.smfhelper.com/Themes/default"; var smf_default_theme_url = "https://www.smfhelper.com/Themes/default"; var smf_images_url = "https://www.smfhelper.com/Themes/default/images"; var smf_smileys_url = "https://www.smfhelper.com/Smileys"; var smf_smiley_sets = "fugue,alienine,smfh"; var smf_smiley_sets_default = "fugue"; var smf_scripturl = "https://www.smfhelper.com/index.php"; var smf_iso_case_folding = false; var smf_charset = "UTF-8"; var smf_session_id = "194adec7e027b009e8f83b44a66a2f18"; var smf_session_var = "a3d39bcd4"; var smf_member_id = 3; var ajax_notification_text = 'Loading...'; var help_popup_heading_text = 'A little lost? Let me explain:'; var banned_text = 'Sorry lurkalot, you are banned from using this forum!'; var smf_txt_expand = 'Expand'; var smf_txt_shrink = 'Shrink'; var smf_quote_expand = 100; </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js?smf21rc3_1603387703"></script> <script src="https://www.smfhelper.com/Themes/default/scripts/smf_jquery_plugins.js?smf21rc3_1603387703"></script> <script src="https://www.smfhelper.com/Themes/default/scripts/jquery.custom-scrollbar.js?smf21rc3_1603387703"></script> <script src="https://www.smfhelper.com/Themes/default/scripts/script.js?smf21rc3_1603387703"></script> <script src="https://www.smfhelper.com/Themes/default/scripts/theme.js?smf21rc3_1603387703"></script> <script src="https://www.smfhelper.com/Themes/default/scripts/jquery.atwho.min.js?smf21rc3_1603387703" defer></script> <script src="https://www.smfhelper.com/Themes/default/scripts/jquery.caret.min.js?smf21rc3_1603387703" defer></script> <script src="https://www.smfhelper.com/Themes/default/scripts/tinyportal/tinyPortalMentions.js?smf21rc3_1603387703" defer></script> <script src="https://www.smfhelper.com/Themes/default/scripts/alerts.js?smf21rc3_1603387703"></script> <script> var new_alert_title = "SMF Helper"; var alert_timeout = 10000; var smf_you_sure ='Are you sure you want to do this?'; </script> <title>SMF Helper</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta property="og:site_name" content="SMF Helper"> <meta property="og:title" content="SMF Helper"> <meta name="keywords" content="SMF support,modifications,help,themes,tech,computers,downloads,showcase,articles "> <meta property="og:description" content="SMF Helper"> <meta name="description" content="SMF Helper"> <meta name="theme-color" content="#557EA0"> <meta name="robots" content="noindex"> <link rel="help" href="https://www.smfhelper.com/index.php?action=help"> <link rel="contents" href="https://www.smfhelper.com/index.php"> <link rel="search" href="https://www.smfhelper.com/index.php?action=search"> <link rel="alternate" type="application/rss+xml" title="SMF Helper - RSS" href="https://www.smfhelper.com/index.php?action=.xml;type=rss2"> <link rel="alternate" type="application/atom+xml" title="SMF Helper - Atom" href="https://www.smfhelper.com/index.php?action=.xml;type=atom"><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="stylesheet" type="text/css" href="https://www.smfhelper.com/Themes/default/css/tp-style.css?v200" /><link rel="stylesheet" type="text/css" href="https://www.smfhelper.com/Themes/default/css/tp-responsive.css?v200" /><link rel="stylesheet" type="text/css" href="https://www.smfhelper.com/Themes/default/css/tp-custom.css?v200" /> <style type="text/css"> .block_leftcontainer, .block_rightcontainer, .block_topcontainer, .block_uppercontainer, .block_centercontainer, .block_frontcontainer, .block_lowercontainer, .block_bottomcontainer { padding-bottom: 4px; } #tpleftbarHeader { margin-right: 4px; } #tprightbarHeader { margin-left: 4px; } </style> <script type="text/javascript"><!-- // --><![CDATA[ var tpPanels = new Array(); function togglepanel( targetID ) { var pstate = 0; var panel = targetID; var img = "toggle_" + targetID; var ap = 0; if ( document.getElementById && (0 !== panel.length) ) { target = document.getElementById( panel ); if ( target !== null ) { if ( target.style.display == "none" ) { target.style.display = ""; pstate = 1; removeFromArray(targetID, tpPanels); document.cookie="tp_panels=" + tpPanels.join(",") + "; expires=Wednesday, 01-Aug-2040 08:00:00 GMT"; var image = document.getElementById(img); if(image !== null) { image.src = 'https://www.smfhelper.com/Themes/default/images/tinyportal/TPupshrink.png';; } } else { target.style.display = "none"; pstate = 0; tpPanels.push(targetID); document.cookie="tp_panels=" + tpPanels.join(",") + "; expires=Wednesday, 01-Aug-2040 08:00:00 GMT"; var image = document.getElementById(img); if(image !== null) { image.src = 'https://www.smfhelper.com/Themes/default/images/tinyportal/TPupshrink2.png';; } } } } } function removeFromArray(value, array){ for(var x=0;x<array.length;x++){ if(array

shawnb61

Are you both on tinyportal?
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

lurkalot

Quote from: shawnb61 on October 29, 2020, 02:02:51 PM
Are you both on tinyportal?

Yes that's on Bigguys site which is running TP. 

I don't have that on issue my own sites running the same setup.

shawnb61

Shambles - was your site on tinyportal?

I couldn't read the other screenshot, but the top looked the same...

Looks like insertion of the logo is doing something...  Might also be theme related?
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

lurkalot

Quote from: shawnb61 on October 29, 2020, 02:09:22 PM
Shambles - was your site on tinyportal?

I couldn't read the other screenshot, but the top looked the same...

Looks like insertion of the logo is doing something...  Might also be theme related?

Funny you should mention the logo Shawn.  https://www.smfhelper.com/index.php?topic=737.msg5813#msg5813

shawnb61

Did the problem go away?

Bigguy - what did you do?
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Bigguy

The logo was just made wrong that's all. It did honestly look like crap, so I fixed how it looked, no code behind it. Also, I am running the new tp 2.0 not the older one, so that might make a difference, not sure.

lurkalot

Quote from: Bigguy on October 29, 2020, 06:41:13 PM
The logo was just made wrong that's all. It did honestly look like crap, so I fixed how it looked, no code behind it. Also, I am running the new tp 2.0 not the older one, so that might make a difference, not sure.

Sorry Bigguy, I assumed you were having bigger issues with the logo.   If you Un-install TP I'll test the attachments again.  ;)

Bigguy

TP was uninstalled and attachments tested and they still do not work. So something must be up with SMF. Unless it's a different mod I have installed which I can't see that really.

lurkalot

Yep it was exactly the same without TP installed.

Was this the release version of RC3, or a later one from GitHub after the official release?

Bigguy

After the official release. Not sure how long after but it was not the official release that I used. It was after that.

shawnb61

Does it behave the same on all themes?
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Bigguy

I don't have any themes installed. All I did was a bit of css work to change the colors.

Bigguy

I may have figured it out. I need a member to post an attachment.

lurkalot

Quote from: Bigguy on October 30, 2020, 09:53:16 PM
I may have figured it out. I need a member to post an attachment.

Still getting the red text issue Bigguy.  Two of us have now tried since with the same result.

lurkalot

Try attaching a image as a regular member and see if you get the same result.  I'm guessing you don't see it logged in as admin. 

Advertisement: