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

upload limit error

Beitrag von JohnDory »

according to the Download Extension Administration I have
Remaining overall traffic for guests for this month: 1 GiB

There are overall 6 downloads with a size of 3.06 MiB / 10 GiB. This includes 0 external downloads.
But even though there is only 6 small files there I still 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()
I cannot find any where to set an upload limit only an overall limit and that has been set to huge.
I am logged in as an admin but it still seems to count my uploads agaist something.
Can you tell what I am over looking :?:
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 »

You need traffic to be able to upload an file.
The extension controlls by default the complete traffic used by the extension for downloads and uploads.
To avoid this error you can disable traffic counting on uploads by deactivating the option "Also decrease the overall traffic for uploads:" in the ACP Modul "General configuration" > "Traffic" of the download extension.
And you should set auto traffics for your usergroups within the module "Traffic management".
After setting these you can upload any file you wants.
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 »

it is already deactivated.
Attached are two screenshots of my settings.
I have also told it to set my username to 10gig a month.

Cheers.

Mike.
Dateianhänge
autotraffic settings
autotraffic settings
traffic.PNG (33.22 KiB) 5560 mal betrachtet
the other traffic settings
the other traffic settings
traffic2.PNG (26.02 KiB) 5560 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 »

And you have this traffic?
You can see the remaining traffic amount in your profile.

And overall traffic is enough, too?

At least you can disable the complete traffic management to use the extension complete without these limits.
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 »

No I dont have all that traffic, I was just trying to get it working by making it think it had loads left but with those settings I should have loads of bandwidth left and not have used it all up.

I've turned off traffic management and get the following error

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: 256
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()
I got another admin to test upload and she got the same error.

When I try to go to the download page while not logged in, as a guest 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
I logged in as a newly created registered user, I can get to the downloads page, but when I try and go in to a catoegory thats when it fails with the above error again.
These errors happen in chrome Version 42.0.2311.135 m and firefox v37.0.2, firefox is my normal browser.

Cheers.

Mike.
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 »

These errors idents a malfunction and not currectly installed extension.
Please deactivate it, upload the latest release and reactivate it.

And at least ve sure trat to use php 5.4 or newer.
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've just reinsatalled v7.0.17
PHP Version 5.5.19
MySQL Version 5.5.42-cll

With traffic management disabled 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: 256
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()
with traffic management turn on, with the default settings I get

Code: Alles auswählen

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()
and that is after successfully uploading 1 file of 340kb and with Disable traffic management for founder: yes in the Download configuration/Traffic
Download Extension Administration
From here you can reach all settings and functions of the Download Extension which are needed to manage it.
Choose one of the functions from the left side to change the named settings.

Information for founders: Remaining overall traffic for registered for this month: 99.67 MiB

The traffic for downloads for guests in 0 B is completely used up for this month. Wait until the next month or ask an administrator.

There are overall 1 downloads with a size of 340.38 KiB / 500 MiB. This includes 0 external downloads.

Download Extension 7.0.17 © 2002 - 2014 by Hotschi, Demolition Fabi, OXPUS
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 »

And the path /ext/oxpus/dl_ext/files/downloads/silent//e074058df049e1282330ca557c4df318. really exists?
The path itself haves an error. There are two backslashes after "silent". This may be an error on your webspace/webserver.

The error message with enabled traffic system is different to the one without traffic management, because uploading can be a missing/unwritable folder and/or missing traffic.
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 »

yes the path is there

Code: Alles auswählen

public_html/et/forum/ext/oxpus/dl_ext/files/downloads/silent
As I say I successfully upladed the first file.

Code: Alles auswählen

public_html/et/forum/ext/oxpus/dl_ext/files/downloads/silent/47636749a410fe4430c41dd05e45cfaf
Also I'm back to the

Code: Alles auswählen

Sorry, but there is no upload traffic left. Please contact the admin if you want to upload this file
I am a founder.
As you can see from the screenshot it claims I have no upload left as a founder and there is one file already uploaded.
Do you want me to PM you access details so you can take a look :?:
Dateianhänge
from the download page stats
from the download page stats
upload.PNG (14.88 KiB) 5514 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 »

At first replace the file /ext/oxpus/dl_ext/includes/modules/dl_upload.php with the attached one and test again.
This may help fix a possible url problem in your case.
Dateianhänge
dl_upload.zip
(5.24 KiB) 163-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!
Antworten