erro upload attachments

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Locked
faisca1
Registered User
Posts: 14
Joined: Wed Sep 17, 2008 10:50 am
Location: Portugal

erro upload attachments

Post by faisca1 »

good night
when I try to attach files got an error back invalid file and a yellow triangle

already realized that the problem exists with the name of the file to contain accents him from this error if renomiar the files without accents he uploads
Attachments
erro.JPG
erro.JPG (42.59 KiB) Viewed 928 times
Last edited by darcie on Thu Oct 29, 2015 5:21 pm, edited 1 time in total.
Reason: Topic icon changed
User avatar
Lumpy Burgertushie
Registered User
Posts: 67937
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: erro upload attachments

Post by Lumpy Burgertushie »

if it says invalid file "type" then it probably means that.

make sure whatever file type you are trying to upload is allowed.

if it is the filename then just change the filename so that it doesn't have any of those characters and it should upload.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: erro upload attachments

Post by Oyabun1 »

You should report it as a bug to the phpBB Bug Tracker. I think the problem is that the plupload JavaScript application now used for attachments doesn't support non-ascii characters in files names.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: erro upload attachments

Post by Oyabun1 »

Will be fixed in 3.1.3, see PHPBB3-13396
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
User avatar
R3gi
Registered User
Posts: 113
Joined: Mon May 05, 2014 4:33 pm
Location: Czech Republic

Re: erro upload attachments

Post by R3gi »

Hello, it seems this error is still present, even in 3.1.6. The file is uploaded, no dialog, but the "!" mark still appears. Is there any solution, please?
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: erro upload attachments

Post by Oyabun1 »

Will be fixed in 3.1.7, PHPBB3-13835.

To manually apply the change:

Download and open phpBB/phpbb/plupload/plupload.php

Find

Code: Select all

'name' => $this->request->variable('real_filename', ''), 
Replace with

Code: Select all

'name' => $this->request->variable('real_filename', '', true), 
Save, and upload.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
User avatar
R3gi
Registered User
Posts: 113
Joined: Mon May 05, 2014 4:33 pm
Location: Czech Republic

Re: erro upload attachments

Post by R3gi »

Thank you very much, it seems it helps. Thanks!
Locked

Return to “[3.1.x] Support Forum”