We just started getting tons of errors across our website. They appear when in the _admin and trying to view different screens. Strangely they appear sometimes, but then trying to go back to that screen they don't show and everything seems normal:
PHP WarningFile:[SYSTEM_ROOT]/core/include/asset_edit_interface.incLine:106Message:SimpleXMLElement::__construct(): I/O warning : failed to load external entity "[SYSTEM_ROOT]/core/assets/site/edit_interface_screens.xml"Backtrace:Show Warning: count(): Node no longer exists in /opt/matrix/fudge/dev/dev.inc on line 51 Fatal error: Uncaught exception 'Exception' with message: 'Unable to parse screen list file "/opt/matrix/core/assets/site/edit_interface_screens.xml": String could not be parsed as XML' in /opt/matrix/core/include/asset_edit_interface.inc(108): Asset_Edit_Interface('site') #1 /opt/matrix/core/include/asset.inc(5073): getEI() #2 /opt/matrix/core/include/asset_manager_edit_fns.inc(224): paintBackend(Object(Backend_Outputter)) #3 /opt/matrix/core/include/asset_manager.inc(8961): paintBackend() #4 /opt/matrix/core/include/backend.inc(1526): paintBackend(Object(Backend)) #5 /opt/matrix/core/include/backend.inc(194): _printMain() #6 /opt/matrix/core/include/mysource.inc(571): paint() #7 /opt/matrix/core/web/index.php(30): start()
I thought maybe it was a locals thing, so I tried to run compile_locals.php and I get more errors:
PHP Warning: fopen(/opt/matrix/data/private/logs/error.log): failed to open stream: Permission denied in /opt/matrix/core/include/general.inc on line 1300 PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /opt/matrix/core/include/general.inc on line 1301 PHP Warning: Unable to Write to log file /opt/matrix/data/private/logs/error.log [SYS0051] in /opt/matrix/core/include/locale_manager.inc on line 547 +-----------------------------------------------------------------------------------------------+ | PHP Warning | |-----------------------------------------------------------------------------------------------| | File : [SYSTEM_ROOT]/fudge/general/file_system.inc | | Line : 137 | |-----------------------------------------------------------------------------------------------| | rename(/tmp/string_to_filemwAj9t,[SYSTEM_ROOT]/data/private/conf/main.inc): Permission denied | +-----------------------------------------------------------------------------------------------+
Checking the syslog show:
Mar 5 08:45:03 neo suhosin[22755]: ALERT - script tried to disable memory_limit by setting it to a negative value -1 bytes which is not allowed (attacker 'REMOTE_ADDR not set', file 'unknown') Mar 5 08:45:12 neo puc.edu: SimpleXMLElement::__construct(): I/O warning : failed to load external entity "[SYSTEM_ROOT]/core/include/asset_edit/edit_interface_screens.xml" ([SYSTEM_ROOT]/core/include/asset_edit_interface.inc:106)
Anyone know what could have started causing this? Nothing has changed on our server. Really not sure what is going on here...