upload limit error

Support für Extensions für phpBB 3.1.x von Entwickler OXPUS
JohnDory
Beiträge: 15
Registriert: Mi 29. Apr 2015, 16:01

Re: upload limit error

Beitrag von JohnDory »

without making any settings changes, loading the file and clearing the cache, I get

Code: Alles auswählen

General Error
Sorry, but there is no upload traffic left. Please contact the admin if you want to upload this file

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/ext/oxpus/dl_ext/includes/modules/dl_upload.php
LINE: 207
CALL: trigger_error()

FILE: [ROOT]/ext/oxpus/dl_ext/controller/main.php
LINE: 964
CALL: include('[ROOT]/ext/oxpus/dl_ext/includes/modules/dl_upload.php')

FILE: (not given by php)
LINE: (not given by php)
CALL: oxpus\dl_ext\controller\main->handle()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 117
CALL: call_user_func_array()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 61
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()

FILE: [ROOT]/app.php
LINE: 33
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
after turning the traffic management off I get

Code: Alles auswählen

General Error
Could not upload attachment to ././ext/oxpus/dl_ext/files/downloads/silent/e074058df049e1282330ca557c4df318.

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/ext/oxpus/dl_ext/includes/modules/dl_upload.php
LINE: 264
CALL: trigger_error()

FILE: [ROOT]/ext/oxpus/dl_ext/controller/main.php
LINE: 964
CALL: include('[ROOT]/ext/oxpus/dl_ext/includes/modules/dl_upload.php')

FILE: (not given by php)
LINE: (not given by php)
CALL: oxpus\dl_ext\controller\main->handle()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 117
CALL: call_user_func_array()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 61
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()

FILE: [ROOT]/app.php
LINE: 33
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
Its not because of the . after the file name is it :?:
the silent folder CHMOD is set to 777
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2660
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: upload limit error

Beitrag von oxpus »

The point at the end of the file is not the reason. This comes from the language string in which the filename will be inserted.

Okay, another fix:
Dateianhänge
dl_upload.zip
(5.24 KiB) 159-mal heruntergeladen
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
JohnDory
Beiträge: 15
Registriert: Mi 29. Apr 2015, 16:01

Re: upload limit error

Beitrag von JohnDory »

Have add the dl_upload.php and since removing the extension I have had to re-add

Code: Alles auswählen

ALTER TABLE phpbb_downloads ENGINE = MyISAM;
ALTER TABLE phpbb_downloads CHANGE COLUMN description description MEDIUMTEXT NOT NULL;
ALTER TABLE phpbb_downloads ADD FULLTEXT INDEX desc_search(description);
I have been able to upload a couple of small files today, I beleive that is because it is the start of a new month.
I am now getting

Code: Alles auswählen

General Error
Sorry, but there is no upload traffic left. Please contact the admin if you want to upload this file

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/ext/oxpus/dl_ext/includes/modules/dl_upload.php
LINE: 207
CALL: trigger_error()

FILE: [ROOT]/ext/oxpus/dl_ext/controller/main.php
LINE: 964
CALL: include('[ROOT]/ext/oxpus/dl_ext/includes/modules/dl_upload.php')

FILE: (not given by php)
LINE: (not given by php)
CALL: oxpus\dl_ext\controller\main->handle()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 117
CALL: call_user_func_array()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 61
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()

FILE: [ROOT]/app.php
LINE: 33
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
See the permissions I have set, I also tried having the guest uploading but that made no difference.
As you can see from the traffic settings I have set it so there should be that much left over, but it still is not working.
Any other ideas :?:

Cheers.

Mike.
Dateianhänge
permissions.PNG
permissions.PNG (30.99 KiB) 5145 mal betrachtet
traffic.PNG
traffic.PNG (35.72 KiB) 5145 mal betrachtet
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2660
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: upload limit error

Beitrag von oxpus »

How big is the file?
Regard, PHP have limits for file uploads and post-data sizes.

Containts the filename special chars?
Is this alltimes the same file which will not be uploaded?
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
JohnDory
Beiträge: 15
Registriert: Mi 29. Apr 2015, 16:01

Re: upload limit error

Beitrag von JohnDory »

Can you tell me if there is a setting somewhere that sets the maximum size of an upload :?:
I seem to be able to upload small files but any bigger ones fail.
The biggest I've uploaded is 6.35kb, the one I was trying to upload but failed is 5.83meg and I just tried uploading 12meg and when it should have finished it just went back to the categories/upload a file and not to where I was uploading from categories/silent/upload a file
Dateianhänge
categories/silent/upload a file
categories/silent/upload a file
correct-upload.PNG (17.5 KiB) 5138 mal betrachtet
categories/upload a file
categories/upload a file
cat-upload.PNG (19.18 KiB) 5138 mal betrachtet
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2660
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: upload limit error

Beitrag von oxpus »

The upload limit is set in the php configs. You must change the php.ini or asks your provider about this.

Currently you can upload files less than 2 MB. This is shown under the upload field (see your screenshot).
All bigger files will be dropped and gets a size at least of 0 bytes (empty file).
And this is the really "error message" in the download extention:
Filesize 0 = upload error, with an activated traffic management the "wrong" error message.
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
JohnDory
Beiträge: 15
Registriert: Mi 29. Apr 2015, 16:01

Re: upload limit error

Beitrag von JohnDory »

I have cracked it I think.
when we had the php updated on our machine the upload_max_filesize was reset to 2meg by our hosts, I have reset that to the original size and its now uploading the files I require.
Perhaps that could be added to a FAQ, you need to check the upload_max_filesize is set to a size so you can upload file sizes you require :?:

Thanks for the help getting this working.
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2660
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: upload limit error

Beitrag von oxpus »

Nice to read the extension will work again as you wants.

Hmpf, the max upload limit is shown under the download upload/edit form and yes, most supports are about how to increase this limit.
But no "new"/"small" webmaster seams be willing to "learn" all about the settings on their own webspace/server :cry:
And I'll not thrilled to extend the online help about the forum enviroment settings which can not be controlled by the extension.

But I thanks you, too, for finding two elementary path errors in the extension.
Overall nothing really big things, but in some cases the malfunction file handling could drop uploaded or existing files, too.
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
JohnDory
Beiträge: 15
Registriert: Mi 29. Apr 2015, 16:01

Re: upload limit error

Beitrag von JohnDory »

oxpus hat geschrieben:But I thanks you, too, for finding two elementary path errors in the extension.
Overall nothing really big things, but in some cases the malfunction file handling could drop uploaded or existing files, too.
you are most welcome any time, again thank you.
JohnDory
Beiträge: 15
Registriert: Mi 29. Apr 2015, 16:01

Re: upload limit error

Beitrag von JohnDory »

we have come across another error.
If I log out of the forum and then I go to the downlads and click on a category I get

Code: Alles auswählen

Fatal error: Class 'dl_auth' not found in /home/harry/public_html/et/forum/ext/oxpus/dl_ext/includes/modules/dl_cat.php on line 441
when one of our registered users went to the same category while logged in he got the same error.
I've checked a couple of other uers and they get he same error going in to a category, I even asked another founder to look, she got the same error.
It looks like I am the only one to be able to get a download.
Antworten