-
Describe the problem/questionWhen using PHP 8 or above the URL shorting option does not work (even though it still creates a shorten URL), this is the error that I get in the logs
It works just fine when the privatebin instance is set to use PHP 7.4.x Did you use the FAQ section?
What you did?
What happensThe shorten URL does not created but it doesn't get return to the page and is created to a blank page (you must log into YOURLS to grab the shorten link). What should happenPage should refresh with the shorten link like it did when using PHP 7.4 Additional informationNot sure if this is considered a bug or not but creating a support ticket to see if anyone can help me out with this. I am using Plesk panel as well but made sure all settings are in ordered. It works perfectly fine when the PHP version for the privatebin instance is set to 7.4.33. The YOURLS instance is on 8.3.3 and has no issues. Server addressServer OSAlmaLinux 8.9 WebserverNGINX PrivateBin version1.7.1 Browser and versionBrave 1.62.165 Chromium: 121.0.6167.184 (Official Build) (64-bit) Local operating system and versionWindows 11 Version 22H2 (Build 22621.3007) Issue reproducibilityNo, I cannot reproduce it on https://privatebin.net. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The shorten.php is not anything that this project provides, but I found it mentioned in a discussion of a proposed feature, maybe you were using that? We have since gained functionality for a YOURLS proxy in #997 which became part of release 1.5. You can find more information on how to set it up in the configuration wiki page as well as in the comments on the relevant settings in the sample configuration file: PrivateBin/cfg/conf.sample.php Lines 250 to 260 in 03e7f6a |
Beta Was this translation helpful? Give feedback.
The shorten.php is not anything that this project provides, but I found it mentioned in a discussion of a proposed feature, maybe you were using that?
We have since gained functionality for a YOURLS proxy in #997 which became part of release 1.5. You can find more information on how to set it up in the configuration wiki page as well as in the comments on the relevant settings in the sample configuration file:
PrivateBin/cfg/conf.sample.php
Lines 250 to 260 in 03e7f6a