CheersnGears Posted Friday at 04:33 PM Posted Friday at 04:33 PM 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 Friday at 04:46 PM Posted Friday at 04:46 PM 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 Friday at 04:49 PM Author Posted Friday at 04:49 PM 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 Friday at 04:55 PM Posted Friday at 04:55 PM 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 Friday at 05:08 PM Author Posted Friday at 05:08 PM 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 19 hours ago Author Posted 19 hours ago So I let it collect logs over the weekend. Unfortunately, there was no additional information in the error messages.Â
Recommended Posts