This began in the last day or two (2.0.18)
When I go to reply to a post (and, although I'm trying to add an attachment now, it's happened before when just "replying") - after I hit "Post" or "Preview" I'm redirected to a "action=post;board=28.0" page (Start New Topic).
This renders me unable to add/post anything.
I've logged out; Control+F5; checked to make sure everything is up to date. This began happening in the last day or two (and I've done nothing to my install in, easily, 4-6 months).
And, as an aside, it *doesn't* seem to happen here; which makes me think it's not a browser issue, but rather, a site-specific one .....
Further ...
It now seems to *only* be happening when I add an attachment (picture, whatever).
Trying to see if I can add attachments here .....
Quote from: lemur21 on July 29, 2021, 09:51:15 PM
This began in the last day or two (2.0.18)
it worked fine before?
what changes have you made since then?
Absolutely nothing. It legitimately *just* started happening -- seemingly out of nowhere.
I did update Google Chrome (which is why I tested if I could add an attachment here) - which I can.
as per your other post (I'll repost here to keep things in the same thread)
Quote from: shadav on July 29, 2021, 10:58:29 PM
Quote from: lemur21 on July 29, 2021, 10:52:50 PM
I am now having this same problem.
Max upload size is set to 0 (no limit)
The jpg I'm attaching is 660kb (tiny)
The problem only began in the last 2-3 days; I've made no changes to my forum software in, say, 4-6 months.
do you have a php.ini in your root folder?
or in your hosting account do you see php settings anywhere?
When this happens, does anything come up in your error logs?
Complicating matters more -- apparently, I *can* add the attachment via my phone. Which now makes me think it *is* a Chrome issue; although, I could add an attachment here.
Lots of errors in the error log; but none related to this (unless the error log isn't *instantaneous* -- when I replicated the error here/now, nothing is written to the error log. I'll check back to see if there's a delay writing).
Check the size limit setting for post_max_size or upload_max_filesize in php.ini
If that's the same place as Attachment settings --- I have
Max attachment folder space 900,000 KB (which I upped from 800,000 last night, in case that was the issue)
Max attachment size per post
Max size per attachment
Max number of attachments
All are set to 0 (no limit) - and have been since the forum was created
I was referring to the php settings not the SMF settings. I am pretty sure the php setting overide the smf settings.
Quote from: shadav on July 29, 2021, 11:00:03 PM
do you have a php.ini in your root folder?
or in your hosting account do you see php settings anywhere?
these are not in smf admin
php.ini this is in either your files via ftp or hosting accounts file manager, in the root folder (where settings.php is located)
php settings is in your hosting account (if your host has it)
you may want to contact your host and ask them to help you increase your post_max_size and max_upload_size if you can't find either of the above.
cPanel -> Software -> Select PHP Version -> Options
Not available on all hosts.
Further complicating matters ...
I asked a member of my site to attach a sample attachment. He did.
I downloaded said attachment and then tried to reply *with* that attachment -- same issue.
I'm now attaching that file *here* - which means it's not a server issue (since he could do it) and it is site-specific; but not even software-specific. I'm inclined to think of it as a Chrome issue; but why would it work here and not on my own forum? Weird ........
Did you try a different browser?
Have you made recommended changes to php settings?
Chrome may be using memory differently than other browsers, and php settings here may be different from your server.
I used my phone (and it worked) as I said last night; which first had me thinking its Chrome.
I didn't make changes to php settings, because - if someone else on my forum was able to do so; then the settings aren't the issue, right?
Has anyone else been able to post with Chrome? You may have to increase upload settings to accommodate newer versions of Chrome.
So - more determinations (and now, I think I'm much closer).
1) I could post using Chrome from my desktop computer
2) I could *still* post using Chrome after updating my desktop computer to the newest Chrome version
3) I still cannot post using my laptop
This leads me to presume it's a Chrome extension (since the desktop and laptop don't share the same extensions); so now, I'll disable each extension and add them back one-by-one until I find the offender. Of course, I don't expect them to update their extension merely because I cannot add attachments to messages on my forum -- but, who knows what it's impacting that's leading to that.
I think that's the only reasonable answer, given the anecdotal experiences here.