Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Uncaught Error: Undefined constant "e_DEBUG" #4790

Closed
Ralphy819 opened this issue Jun 9, 2022 · 1 comment
Closed

Fatal error: Uncaught Error: Undefined constant "e_DEBUG" #4790

Ralphy819 opened this issue Jun 9, 2022 · 1 comment
Labels
type: bug A problem that should not be happening
Milestone

Comments

@Ralphy819
Copy link

Ralphy819 commented Jun 9, 2022

Fatal error: Uncaught Error: Undefined constant "e_DEBUG" in /webroot/t/h/thesm002/readingcontinuum.com/www/e107_handlers/iphandler_class.php:397 Stack trace: #0 /webroot/t/h/thesm002/readingcontinuum.com/www/e107_handlers/iphandler_class.php(184): eIPHandler->banAction() #1 /webroot/t/h/thesm002/readingcontinuum.com/www/e107_handlers/e107_class.php(1148): eIPHandler->__construct() #2 /webroot/t/h/thesm002/readingcontinuum.com/www/class2.php(231): e107::getSingleton() #3 /webroot/t/h/thesm002/readingcontinuum.com/www/e107_admin/admin.php(13): require_once('...') #4 {main} thrown in /webroot/t/h/thesm002/readingcontinuum.com/www/e107_handlers/iphandler_class.php on line 397

How to Reproduce

I believe I changed Display theme information to OFF in the Site Preferences >> Display Information section under Advanced Options in the Preferences Admin Area. *** After further searching I found that the value is still ON so I'm not sure what value I changed in the admin panel caused this error. ***

PHP Operating System

PHP Version 8.1

I added define('e_DEBUG', false); statememnt in e107_config.php and commented the die statement on line 402 in iphandler_class.php anm I was able to access the website. However when I try to logon I get a blank page w/o any errors.

Thanks

@Ralphy819 Ralphy819 added the type: bug A problem that should not be happening label Jun 9, 2022
@CaMer0n CaMer0n added this to the e107 2.3.3 milestone Jun 12, 2022
@CaMer0n
Copy link
Member

CaMer0n commented Jun 12, 2022

Thank you @Ralphy819 ! This commit should fix the bug. However, it looks like your IP may have been banned.
So you'll want to also check the e107_banlist table and any ban files located in e107_system/(hash)/cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A problem that should not be happening
Projects
None yet
Development

No branches or pull requests

2 participants