3.1 & 3.2 Extensions Database 3.1 / 3.2File Download

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6484
Joined: Jan 13th, '14, 20:45
    Windows 10 Firefox

Re: File Download

Post by dmzx »

Fr0sTt wrote: Jan 12th, '16, 19:07 He doesn't work, I attach file and not..
What version of phpbb do you use?


EDIT: :thumbup:

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Fr0sTt
Users
Users
Status: Offline
User theme: Dark
Posts: 6
Joined: Jan 11th, '16, 18:15
    Windows 7 Chrome

Re: File Download

Post by Fr0sTt »

Sorry, I'm confused his work :D

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

samemmerde
Users
Users
Status: Offline
User theme: Dark
Posts: 34
Joined: Dec 12th, '15, 09:52
    Windows 10 Firefox

Re: File Download

Post by samemmerde »

Good evening
I installed the extension and it is fine.
I put pictures, resize my forum
and attachment I put the original picture rar file.
The guests can not download the original picture without enregsitré, but I noticed that he could not see the picture either.
Is there a solution for the guests to see the photo?
Thank you

Bonsoir
J'ai installé cette extension et elle est très bien.
Je mets des photos, rédimensionnées sur mon forum
et en pièce jointe je mets la photo original en fichier rar.
Les invités ne peuvent pas télécharger la photo original sans être enregsitré, mais j'ai remarqué qu'il ne pouvait pas voir la photo non plus.
Y a t il une solution pour que les invités voient la photo ?
Merci

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Anuj Dhawan
Users
Users
Status: Offline
User theme: Dark
Posts: 109
Joined: Aug 31st, '15, 08:32
    Windows 7 Chrome

Re: File Download

Post by Anuj Dhawan »

Hi,

Attachments are showing up twice when using this extension.

I have noticed it lately only but it looks like it's been happening for quite some time on my Board. Board is enough, if not heavily, modified so I was not sure initially which extension might be causing it. Have started a thread for this on phpbb.com and from a hint there, it looks like (unfortunately) disabling "File Download" extension makes it work and that's something I would not like to do.

Any pointer to resolve this will be a great help. As of now this extension is disabled.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

clight77
Donator
Donator
Status: Offline
User theme: Dark
Posts: 506
Joined: Sep 24th, '15, 14:23
    Windows 10 Chrome

Re: File Download

Post by clight77 »

Thanks, just noticed this ext.
Works OK for me on 3.1.9
red.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Windows 10 Chrome

Re: File Download

Post by martin »

Double downloads ? see here File Download
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Anuj Dhawan
Users
Users
Status: Offline
User theme: Dark
Posts: 109
Joined: Aug 31st, '15, 08:32
    Windows 7 Chrome

Re: File Download

Post by Anuj Dhawan »

martin wrote: Jul 16th, '16, 13:41 Double downloads ? see here File Download
I'm not sure if it helped or not but bmp images still shows twice! :???: Need to check other extensions too but it's late in night here in India.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Windows 10 Chrome

Re: File Download

Post by martin »

I see the problem try this file there is 2 ext's in the folder that is needed.
ext.zip
then end result is this
log.png
Note only one download ?
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Anuj Dhawan
Users
Users
Status: Offline
User theme: Dark
Posts: 109
Joined: Aug 31st, '15, 08:32
    Windows 7 Chrome

Re: File Download

Post by Anuj Dhawan »

Hi Martin,

1. I have unloaded "ext.zip" and unzipped it. Can see there are two extension - "downloadlog" and "filedownload" as you said. As I'm using "Upload Extension" to upload the extensions, zipped them individually and uploaded. With Donloadlog ext I'm getting the following error:
Downloadlog -err.jpg

2. Though the "filedownload" from the last post seems to solve the "double attachment" problem for ".bmp" too.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Windows 10 Chrome

Re: File Download

Post by martin »

What phpbb version you using ?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Anuj Dhawan
Users
Users
Status: Offline
User theme: Dark
Posts: 109
Joined: Aug 31st, '15, 08:32
    Windows 7 Chrome

Re: File Download

Post by Anuj Dhawan »

martin wrote: Jul 18th, '16, 13:08 what phpbb version you using ?
phpBB 3.1.9 .

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Windows 10 Chrome

Re: File Download

Post by martin »

Ahhh i posted for 3.2 but should also work.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Anuj Dhawan
Users
Users
Status: Offline
User theme: Dark
Posts: 109
Joined: Aug 31st, '15, 08:32
    Windows 7 Chrome

Re: File Download

Post by Anuj Dhawan »

martin wrote: Jul 19th, '16, 10:04 ahhh i posted for 3.2 but should also work.
Tried again with "Upload Extensions" extension - but got the same error; will try with FileZilla later. Can't try it from this network I'm logged in to. No FTP is allowed with in this proxy here.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ircfc
Users
Users
Status: Offline
User theme: Dark
Posts: 61
Joined: Jun 4th, '16, 06:32
    Windows 7 Firefox

Re: File Download

Post by ircfc »

Hello

Are you good at?

There is a problem with this plugin
When the image was joined in threads
I write threads in the thread send two identical images of the attached image appears

Please check and correct the problem!
This problem only image files that I attach a few examples (in Persian)!
3.png
4.png
5.png
Thanks
Bye
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6484
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: File Download

Post by dmzx »

First post updated.