4images Forum & Community
4images Help / Hilfe => Bug Fixes & Patches => Topic started by: abda53bd on January 12, 2023, 09:25:08 PM
-
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
-
Yes, this will be fixed in the next version.