News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Immer noch > You have not supplied a valid HTTP status code - [Fixed in 4.0.15]

Started by rockbaer2007, 09.01.2023 15:19:16

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

rockbaer2007

Hallo Arno,
wenn auf Downloadbutton klicken bekomme ich immer noch folgende Meldung:0 You have not supplied a valid HTTP status code

dann habe ich den Link per Rechtsklick - "Adresse des Link kopieren" kopiert (1) und in neues Tab eingefügt  und Enter und es kommt die obige Meldung, wenn in ich aber verkürze (2) ein Enter
funktioniert der Download

(1) https://www.ugso-software.de/index.php/download-new-testpage?task=download.send&id=1&catid=2&m=0
(2) https://www.ugso-software.de/index.php/download-new-testpage?task=download.send&id=1

Das komisch ist der Link wird automatisch zu der Adresse wie (1)
also nach dem Download des Programm steht da (1) in der Zeile

Hello Arno,
when click on download button I still get the following message:0 You have not supplied a valid HTTP status code

then I copied the link by right click - "copy address of link" (1) and pasted into new tab and enter and it comes the above message, but if in I shorten (2) an enter
the download works

(1) https://www.ugso-software.de/index.php/download-new-testpage?task=download.send&id=1&catid=2&m=0
(2) https://www.ugso-software.de/index.php/download-new-testpage?task=download.send&id=1

The funny thing is the link will automatically go to the adress like (1)
so after downloading the program it says (1) in the line


Translated with www.DeepL.com/Translator (free version)

jDownloads Version 4.0.12 pre beta
  •  

rockbaer2007

Hier der Link zur Downloadseite
https://www.ugso-software.de/index.php/download-new-testpage/category/2-unkategorisiert

Hinweis an den Jdownloads Einstellungen habe ich nichts geändert

Here is the link to the download page
https://www.ugso-software.de/index.php/download-new-testpage/category/2-unkategorisiert

Note I have not changed anything in the Jdownloads settings
  •  

Arno

Hallo,
das hattest du schon mal nachgesehen?
https://www.jdownloads.com/forum/index.php?topic=13733.msg48711#msg48711

Ist das ein Update (von 3.9.x) oder eine neue jDownloads 4 Installation?
Wenn Update, mit welcher Version (ungefähr, oder Datum) wurde das durchgeführt?
--------------------------------------------------------------------------------------Added by ColinM-------------
Hello,
did you already look at that?
https://www.jdownloads.com/forum/index.php?topic=13733.msg48711#msg48711

Is this an update (from 3.9.x) or a new jDownloads 4 installation?
If update, with which version (roughly, or date) was this done?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

Benutzt du die Option zum direkten starten des Downloads?
Also ohne vorherigen Anzeige der Zusammenfassung.


Do you use the option to start the download directly?
That is, without first displaying the summary.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

Okay. Es scheint sich um einen Bug zu handeln der dann auftritt wenn die obigen Option verwendet wird (in Verbindung mit aktiver sef option in Joomla).
Betrifft also alle User mit dieser Kombination.
Ich versuche es heute oder morgen zu fixen.


Okay. It seems to be a bug that occurs when the above option is used (in combination with an active sef option in Joomla).
So it affects all users with this combination.
I will try to fix it today or tomorrow. 
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

Hi,
ich schick dir morgen mal einen fix zum testen.
Bin leider etwas krank.


Hi,
I'll send you a fix tomorrow to test.
Unfortunately I'm a bit sick.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

rockbaer2007

Quote from: Arno on 09.01.2023 20:25:52
Benutzt du die Option zum direkten starten des Downloads?
Also ohne vorherigen Anzeige der Zusammenfassung.


Do you use the option to start the download directly?
That is, without first displaying the summary.
Nein benutze ich nicht.


No I do not use.
  •  

Arno

Hat sich das Problem nun mit der Version 4.0.13 erledigt? Hast du es installiert und getestet?
Falls nicht, bitte ich erneut um ein Akeeba Backup da ich das Problem sonst mangels Reproduzierung wohl nicht lösen kann.


Has the problem now been solved with version 4.0.13? Have you installed and tested it?
If not, please make another Akeeba backup, otherwise I will probably not be able to solve the problem due to lack of reproduction.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

rockbaer2007

  •  

Arno

Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

keep2000

Got the issue with clean installed 4.0.12, and it's still there after updated to 4.0.14

There is a category, which is public. There is a file in it, which is restricted to registered.
With super user level, it does work.
With registered user, I get this: You have not supplied a valid HTTP status code

Details:

InvalidArgumentException Object
(
    [message:protected] => You have not supplied a valid HTTP status code
    [string:Exception:private] =>
    [code:protected] => 0
    [file:protected] => .../libraries/vendor/joomla/application/src/AbstractWebApplication.php
    [line:protected] => 507
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => .../libraries/src/Application/CMSApplication.php
                    [line] => 975
                    [function] => redirect
                    [class] => Joomla\Application\AbstractWebApplication
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => .../components/com_jdownloads/src/Controller/DownloadController.php
                    [line] => 664
                    [function] => redirect
                    [class] => Joomla\CMS\Application\CMSApplication
                    [type] => ->
                )



I backtraced a bit and it's maybe aroud line 649 in DownloadController, $allow = $user->authorise('download', 'com_jdownloads.category.'.$catid); is false.

When I check the settings and allow the download permission to registered (like this: https://snipboard.io/MFKEDC.jpg ) I can download the file.

So it must be there, also need a proper message in this case.
  •  

Arno

Quote from: keep2000 on 24.01.2023 15:28:36
Got the issue with clean installed 4.0.12, and it's still there after updated to 4.0.14

There is a category, which is public. There is a file in it, which is restricted to registered.
With super user level, it does work.
With registered user, I get this: You have not supplied a valid HTTP status code

I backtraced a bit and it's maybe aroud line 649 in DownloadController, $allow = $user->authorise('download', 'com_jdownloads.category.'.$catid); is false.

When I check the settings and allow the download permission to registered (like this: https://snipboard.io/MFKEDC.jpg ) I can download the file.

So it must be there, also need a proper message in this case.
Hi,
okay, thanks I will check this this evening.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

QuoteThere is a category, which is public. There is a file in it, which is restricted to registered.
With super user level, it does work.
With registered user, I get this: You have not supplied a valid HTTP status code

Ich veröffentliche heute noch die Version 4.0.15. Damit habe ich das Szenario oben erfolgreich getestet. Bitte installiere diese und teste es dann erneut.


Today I am releasing version 4.0.15. I have successfully tested the scenario above with it. Please install it and then test it again.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •