4images Help / Hilfe > Bug Fixes & Patches
MAIN_SCRIPT error (with fix) on 1.9 on PHP 8.1.12
(1/1)
abda53bd:
PHP Fatal error: Uncaught Error: Undefined constant "MAIN_SCRIPT" in includes/page_header.php:83
I get this error after creating a new account on a new install and trying to log in.
Fix:
file: global.php
line 27 add:
if(!defined('MAIN_SCRIPT')){
define('MAIN_SCRIPT', __FILE__);
}
It's possible this only happens on non-verified accounts
kai:
Yes, this will be fixed in the next version.
Navigation
[0] Message Index
Go to full version