Question Questions ⇒ PDF files uploaden in file upload is denied
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArrayHensyr Wolf
- Users

- Status: Offline
- User theme: Dark
- Posts: 25
- Joined: Dec 29th, '16, 11:14
Re: PDF files uploaden in file upload is denied
Earlier (a year ago) I also had the extension file upload and I could upload pdf files in a message but had to change or add something in a list of file extensions, only I don't remember how to do that. But I didn't have the extension image upload then either.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraydmzx
- Founder

- Status: Offline
- User theme: Dark
- Posts: 6484
- Joined: Jan 13th, '14, 20:45
Re: PDF files uploaden in file upload is denied
\ext\dmzx\fileupload\controller\fileupload.php
Find This may be a partial find and not the whole line
Code: Select all
protected $allowed_extensions = array(
'zip',
'rar',
'mp3',
'wmv',
);Replace with Replace the preceding lines with the following
Code: Select all
protected $allowed_extensions = array(
'zip',
'rar',
'mp3',
'wmv',
'pdf',
);-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArraySniper_E
- VIP

- Status: Offline
- User theme: Dark
- Posts: 1160
- Joined: Oct 14th, '14, 17:01
Re: PDF files uploaden in file upload is denied
Man, I looked in that file twice and couldn't find those lines. And there they are. That's not like me
And your pdf in acp posting can remain as Documents. It works for great.
And your pdf in acp posting can remain as Documents. It works for great.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraymartin
- Admin

- Status: Offline
- User theme: Dark
- Posts: 5119
- Joined: Apr 6th, '14, 14:12
Re: PDF files uploaden in file upload is denied
Or wait for the new version to be released wink wink.
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
ArrayHensyr Wolf
- Users

- Status: Offline
- User theme: Dark
- Posts: 25
- Joined: Dec 29th, '16, 11:14
Re: PDF files uploaden in file upload is denied
Good evening, Can you also tell me where I can find these?dmzx wrote: Jan 29th, '25, 08:12\ext\dmzx\fileupload\controller\fileupload.phpFind This may be a partial find and not the whole lineCode: Select all
protected $allowed_extensions = array( 'zip', 'rar', 'mp3', 'wmv', );Replace with Replace the preceding lines with the followingCode: Select all
protected $allowed_extensions = array( 'zip', 'rar', 'mp3', 'wmv', 'pdf', );
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraymartin
- Admin

- Status: Offline
- User theme: Dark
- Posts: 5119
- Joined: Apr 6th, '14, 14:12
Re: PDF files uploaden in file upload is denied
Your answer is in your own post \ext\dmzx\fileupload\controller\fileupload.php
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArrayHensyr Wolf
- Users

- Status: Offline
- User theme: Dark
- Posts: 25
- Joined: Dec 29th, '16, 11:14
Re: PDF files uploaden in file upload is denied
Thank you very much, i should go to the file with filezilla.martin wrote: Jan 29th, '25, 21:43 Your answer is in your own post \ext\dmzx\fileupload\controller\fileupload.php
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArrayHensyr Wolf
- Users

- Status: Offline
- User theme: Dark
- Posts: 25
- Joined: Dec 29th, '16, 11:14
Re: PDF files uploaden in file upload is denied
Thank you all for the help you provided.
I have now managed to post pdf manuals on my forum in the messages.
I do wonder about one thing: I used to have a nice little frame in yellow that members could click on to download the pdf.
Now it is just a link, can I get that nice little frame back?
I have now managed to post pdf manuals on my forum in the messages.
I do wonder about one thing: I used to have a nice little frame in yellow that members could click on to download the pdf.
Now it is just a link, can I get that nice little frame back?
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraymartin
- Admin

- Status: Offline
- User theme: Dark
- Posts: 5119
- Joined: Apr 6th, '14, 14:12
Re: PDF files uploaden in file upload is denied
As i posted above there is a new version being tested right now.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArrayHensyr Wolf
- Users

- Status: Offline
- User theme: Dark
- Posts: 25
- Joined: Dec 29th, '16, 11:14
Re: PDF files uploaden in file upload is denied
Okay thank you.
When the new version is out can I just upgrade or do I have to reinstall the new extension?
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraydmzx
- Founder

- Status: Offline
- User theme: Dark
- Posts: 6484
- Joined: Jan 13th, '14, 20:45
Re: PDF files uploaden in file upload is denied
You can upgrade, it will be version 1.0.6Hensyr Wolf wrote: Jan 29th, '25, 22:36Okay thank you.
When the new version is out can I just upgrade or do I have to reinstall the new extension?
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArrayHensyr Wolf
- Users

- Status: Offline
- User theme: Dark
- Posts: 25
- Joined: Dec 29th, '16, 11:14
Re: PDF files uploaden in file upload is denied
Is there a new release of the File Upload extension yet?
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arrayivailo95
- Users

- Status: Offline
- User theme: Dark
- Posts: 919
- Joined: Feb 2nd, '18, 11:04
Re: PDF files uploaden in file upload is denied
Never mind 
Last edited by ivailo95 on Apr 30th, '25, 17:18, edited 1 time in total.
Feed like a disease
And bring them to their knees
They'll pay for their deceit
And bring them to their knees
They'll pay for their deceit
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArraySniper_E
- VIP

- Status: Offline
- User theme: Dark
- Posts: 1160
- Joined: Oct 14th, '14, 17:01
Re: PDF files uploaden in file upload is denied
I have not seen the release of the updated
