LinkStackOrg / LinkStack

LinkStack - the ultimate solution for creating a personalized & professional profile page. Showcase all your important links in one place, forget the limitation of one link on social media. Set up your personal site on your own server with just a few clicks.
https://linkstack.org
GNU Affero General Public License v3.0
2.3k stars 235 forks source link

Use of undefined constant STDIN #236

Closed mzch closed 1 year ago

mzch commented 1 year ago

Platform: Debian 11.5 Server type: Apache2 PHP version: 8.1.13

Updating to v3.1.0, the following error happens while setting up: Use of undefined constant STDIN

The difinition STDIN is not in index.php.

--- index.php.orig      2022-11-27 04:10:34.617021695 +0900
+++ index.php   2022-11-27 04:09:04.413053261 +0900
@@ -4,6 +4,7 @@
 use Illuminate\Http\Request;

 define('LARAVEL_START', microtime(true));
+define('STDIN',fopen("php://stdin","r"));

 /*
 |--------------------------------------------------------------------------
JulianPrieber commented 1 year ago

Does this error show constantly or just after the update? Can you still use the application?