[CDB] AWS S3

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
austin881
Registered User
Posts: 284
Joined: Wed Jan 30, 2008 9:58 pm
Location: Boise, Idaho, USA
Name: Austin Maddox
Contact:

Re: [BETA] AWS S3

Post by austin881 » Thu Oct 06, 2016 12:29 pm

John connor wrote:How does this extension store the amazonaws links?
It doesn't store them separately. It just uses the default phpbb_attachments table.
John connor wrote: Question: When I update this extension, do I have to delete the data, or can I just disable the EXT and upload the new version?
You don't have to delete the data. The only extra data this extension stores is in phpbb_config.
John connor wrote: Looking at error_log I see this:
[06-Oct-2016 04:35:02 America/Chicago] PHP Parse error: syntax error, unexpected '$value' (T_VARIABLE) in /home/USERNAME/public_html/mysite/ext/AustinMaddox/s3/vendor/aws/aws-sdk-php/src/functions.php on line 36
Steps to reproduce? What action were you performing when it throws that error? I can't reproduce that.
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

User avatar
John connor
Registered User
Posts: 2296
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: [BETA] AWS S3

Post by John connor » Fri Oct 07, 2016 4:40 am

austin881 wrote:
John connor wrote:How does this extension store the amazonaws links?
It doesn't store them separately. It just uses the default phpbb_attachments table.
So if I were to delete this EXT and reupload this EXT the AWS links will remain in the database in phpbb_attachments?

John connor wrote: Looking at error_log I see this:
[06-Oct-2016 04:35:02 America/Chicago] PHP Parse error: syntax error, unexpected '$value' (T_VARIABLE) in /home/USERNAME/public_html/mysite/ext/AustinMaddox/s3/vendor/aws/aws-sdk-php/src/functions.php on line 36
austin881 wrote:Steps to reproduce? What action were you performing when it throws that error? I can't reproduce that.

All I did was upload this extension to the ext folder of the website FTP. Once this extension was in the ext folder the site was blank and I saw that error.

Edit-

Added an issue to Composer at Github. https://github.com/composer/composer/issues/5768

EDIT 2-

I updated to PHP 5.6.19 and I still have this issue.

User avatar
John connor
Registered User
Posts: 2296
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: [BETA] AWS S3

Post by John connor » Fri Oct 07, 2016 10:45 pm

Works so far in my live site! Needed PHP 5.5 or higher.

User avatar
austin881
Registered User
Posts: 284
Joined: Wed Jan 30, 2008 9:58 pm
Location: Boise, Idaho, USA
Name: Austin Maddox
Contact:

Re: [RC] AWS S3

Post by austin881 » Tue Oct 11, 2016 6:10 am

Good to hear! It appears that AWS S3 version 0.1.3 is looking like a possible release candidate so I've updated the prefix accordingly.
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

User avatar
John connor
Registered User
Posts: 2296
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: [RC] AWS S3

Post by John connor » Thu Oct 13, 2016 1:05 am

You may want to state that the Amazon dependency needs PHP 5.5 or higher.

User avatar
austin881
Registered User
Posts: 284
Joined: Wed Jan 30, 2008 9:58 pm
Location: Boise, Idaho, USA
Name: Austin Maddox
Contact:

Re: [RC] AWS S3

Post by austin881 » Fri Oct 14, 2016 4:03 am

:shock: People are still using PHP < 5.5? Yikes! PHP completely dropped support for 5.5 on July 21st, 2016. They are not even releasing critical security issue fixes for it anymore. Upgrade! :o

I updated the first post to state the PHP >= 5.5.0 requirement.
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

User avatar
John connor
Registered User
Posts: 2296
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: [RC] AWS S3

Post by John connor » Fri Oct 14, 2016 11:08 am

I tried to use 5.6, and although this ext worked it broke my SMTP E-mail. I asked here about that but got no response. So I have to use 5.5. :cry:

User avatar
John connor
Registered User
Posts: 2296
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: [RC] AWS S3

Post by John connor » Sun Oct 23, 2016 2:43 am

I can confirm that so far this works in my test environment in Windows using Xampp in version 3.1.10.

gerand
Registered User
Posts: 32
Joined: Sun Jul 31, 2016 4:24 pm

Re: [RC] AWS S3

Post by gerand » Sun Jan 22, 2017 12:00 am

Hello, does this extension work in phpbb 3.2?

gerand
Registered User
Posts: 32
Joined: Sun Jul 31, 2016 4:24 pm

Re: [RC] AWS S3

Post by gerand » Sun Jan 22, 2017 12:00 am

Hello, does this extension work in phpbb 3.2?

gerand
Registered User
Posts: 32
Joined: Sun Jul 31, 2016 4:24 pm

Re: [RC] AWS S3

Post by gerand » Sun Jan 22, 2017 12:01 am

Hello, does this extension work in phpbb 3.2?

User avatar
John connor
Registered User
Posts: 2296
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: [RC] AWS S3

Post by John connor » Sun Jan 22, 2017 1:25 am

I'll test this in my 3.2 test domain and let you know latter.

User avatar
John connor
Registered User
Posts: 2296
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: [RC] AWS S3

Post by John connor » Sun Jan 22, 2017 9:50 am

I can confirm it works in 3.2 except I found an issue. With this extension enabled the option in the quick-mod tools to permanently delete a topic throws an error pictured. But the topic is still deleted.

http://imgur.com/HxCedNa

You can soft delete a topic and you will not get this error.

I don't see an error_log file.

gerand
Registered User
Posts: 32
Joined: Sun Jul 31, 2016 4:24 pm

Re: [RC] AWS S3

Post by gerand » Sun Jan 22, 2017 10:35 am

Thank you! :)

gerand
Registered User
Posts: 32
Joined: Sun Jul 31, 2016 4:24 pm

Re: [RC] AWS S3

Post by gerand » Sun Jan 22, 2017 10:49 am

I have only one doubt. Is there any other way of installation, without being via composer?

Locked

Return to “Extensions in Development”