For a couple of days the integration of the S3 service was working fine. Then it stopped. No error messages or anything, but when you attach something it apparently doesn't get uploaded to S3.
I tried whitelisting the IP of the service we were using, 52.219.100.100, in case the server's firewall wasn't allowing it to upload anymore. This hasn't made a difference.
Any idea how to solve this? I double checked all the keys and they are still valid and haven't changed.
Failed uploads after success - AWS S3
Failed uploads after success
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA
Re: Failed uploads after success
This issue has something to do with a PHP configuration because it works on PHP 5.6 but doesn't on PHP 7.2. I don't see any requirements for using the extension like curl must be available and I've checked the differences in PHP configuration between these versions. I don't see anything obvious that would cause this issue.
Given that there are a number of vendor libraries in the extension, is there a way to know what PHP extensions or packages these require?
Given that there are a number of vendor libraries in the extension, is there a way to know what PHP extensions or packages these require?
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA
Re: Failed uploads after success
If you're using PHP 7.2 you're probably getting the error that others have reported.
Code: Select all
[ROOT]/ext/AustinMaddox/s3/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 67: count(): Parameter must be an array or an object that implements Countable
Available for paid phpBB help! PM me.
My Extensions/MODS: 475 Narius Categorized Smilies for phpBB3, Simplified & Compacted All-Members page, Flash Animated Cumulus Tag Cloud, "Hello" Name Tag of Newest User, AWS S3
phpBB portfolio: chevy truck forum, chevy astro van forum
My Extensions/MODS: 475 Narius Categorized Smilies for phpBB3, Simplified & Compacted All-Members page, Flash Animated Cumulus Tag Cloud, "Hello" Name Tag of Newest User, AWS S3
phpBB portfolio: chevy truck forum, chevy astro van forum
-
- Registered User
- Posts: 287
- Joined: Wed Jan 30, 2008 9:58 pm
- Location: Texas, USA
- Name: Austin Maddox
Re: Failed uploads after success
Indeed. I "fixed" the problem by reverting to PHP 5.6.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA
Re: Failed uploads after success
Must admit reverting to php 5.x is a very bad move. The lower php versions have some major vulnerabilities. Is there going to be an update for this plugin for php 7 versions anytime soon? I see on the github that work is being done to accomodate php 7. Just wondered when the release is going to be. I am using phpbb 3.2.7.
-
- Registered User
- Posts: 62
- Joined: Fri Sep 13, 2019 12:53 pm
Re: Failed uploads after success
New version has been submitted, just waiting for approval from the validation team.
Available for paid phpBB help! PM me.
My Extensions/MODS: 475 Narius Categorized Smilies for phpBB3, Simplified & Compacted All-Members page, Flash Animated Cumulus Tag Cloud, "Hello" Name Tag of Newest User, AWS S3
phpBB portfolio: chevy truck forum, chevy astro van forum
My Extensions/MODS: 475 Narius Categorized Smilies for phpBB3, Simplified & Compacted All-Members page, Flash Animated Cumulus Tag Cloud, "Hello" Name Tag of Newest User, AWS S3
phpBB portfolio: chevy truck forum, chevy astro van forum
-
- Registered User
- Posts: 287
- Joined: Wed Jan 30, 2008 9:58 pm
- Location: Texas, USA
- Name: Austin Maddox