[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: 287
Joined: Wed Jan 30, 2008 9:58 pm
Location: Texas, USA
Name: Austin Maddox
Contact:

Re: [BETA] AWS S3

Post by austin881 »

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
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: [BETA] AWS S3

Post by 2600 »

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.
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: [BETA] AWS S3

Post by 2600 »

Works so far in my live site! Needed PHP 5.5 or higher.
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
User avatar
austin881
Registered User
Posts: 287
Joined: Wed Jan 30, 2008 9:58 pm
Location: Texas, USA
Name: Austin Maddox
Contact:

Re: [RC] AWS S3

Post by austin881 »

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
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: [RC] AWS S3

Post by 2600 »

You may want to state that the Amazon dependency needs PHP 5.5 or higher.
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
User avatar
austin881
Registered User
Posts: 287
Joined: Wed Jan 30, 2008 9:58 pm
Location: Texas, USA
Name: Austin Maddox
Contact:

Re: [RC] AWS S3

Post by austin881 »

: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
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: [RC] AWS S3

Post by 2600 »

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:
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: [RC] AWS S3

Post by 2600 »

I can confirm that so far this works in my test environment in Windows using Xampp in version 3.1.10.
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
gerand
Registered User
Posts: 32
Joined: Sun Jul 31, 2016 4:24 pm

Re: [RC] AWS S3

Post by gerand »

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 »

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 »

Hello, does this extension work in phpbb 3.2?
User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: [RC] AWS S3

Post by 2600 »

I'll test this in my 3.2 test domain and let you know latter.
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: [RC] AWS S3

Post by 2600 »

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.
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
gerand
Registered User
Posts: 32
Joined: Sun Jul 31, 2016 4:24 pm

Re: [RC] AWS S3

Post by gerand »

Thank you! :)
gerand
Registered User
Posts: 32
Joined: Sun Jul 31, 2016 4:24 pm

Re: [RC] AWS S3

Post by gerand »

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

Return to “Extensions in Development”