CheersnGears Posted November 22 Posted November 22 I'm getting this error repeatedly in my log files triggered by Guest and with no URL available. Â Error: Undefined constant "ROOT_PATH" (0) #0 {main} #0 /var/www/vhosts/cheersandgears.com/httpdocs/init.php(1049): IPS\_Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main} Â
Jim M Posted November 22 Posted November 22 ROOT_PATH should be defined in the init.php as the PHP __DIR__ and that is used in our software. Third party applications/plugins should be using a separate constant. Does the error list third party applications/plugins? If so, you can try disabling those.
CheersnGears Posted November 22 Author Posted November 22 2 minutes ago, Jim M said: ROOT_PATH should be defined in the init.php as the PHP __DIR__ and that is used in our software. Third party applications/plugins should be using a separate constant. Does the error list third party applications/plugins? If so, you can try disabling those. It doesn't list anything 😞.  What I posted above and this below is all I get. The log entry was triggered by a guest (Guests) 21 hours ago The URL of page the error occurred on was Not available I turned my logging up to level 1, see if I get more information that way.Â
Jim M Posted November 22 Posted November 22 Is this something you can run into yourself by viewing as a guest? I have also tagged this to a developer to see if they can shed some light here.
CheersnGears Posted November 22 Author Posted November 22 11 minutes ago, Jim M said: Is this something you can run into yourself by viewing as a guest? I have also tagged this to a developer to see if they can shed some light here. I opened a private windows and bounced around the site a bit but it didn't seem to catch anything.  I'll watch it for a bit.  Apparently it's been going on for a few weeks and I didn't catch it. It can't be that harmful.
CheersnGears Posted November 25 Author Posted November 25 So I let it collect logs over the weekend. Unfortunately, there was no additional information in the error messages.Â
Recommended Posts