Every so often, I get this error in one of the sites I manage:
This error first occurred on September 29 and has occurred many more times in the `error_log` since. Here is line 19 of `mod_k2_tools.php`:
Since `/path/to/site/modules/mod_k2_toolsDShelper.php` DOES NOT exist on the server, I'm guessing the actual path should be `/path/to/site/modules/mod_k2_tools/helper.php` since that file DOES exist.
What should be the correct reference to this file?
[16-Dec-2016 17:08:20 America/Detroit] PHP Warning: require_once(/path/to/site/modules/mod_k2_toolsDShelper.php): failed to open stream: No such file or directory in /path/to/site/modules/mod_k2_tools/mod_k2_tools.php on line 19
[16-Dec-2016 17:08:20 America/Detroit] PHP Fatal error: require_once(): Failed opening required '/path/to/site/modules/mod_k2_toolsDShelper.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /path/to/site/modules/mod_k2_tools/mod_k2_tools.php on line 19This error first occurred on September 29 and has occurred many more times in the `error_log` since. Here is line 19 of `mod_k2_tools.php`:
require_once (dirname(__FILE__).DS.'helper.php');Since `/path/to/site/modules/mod_k2_toolsDShelper.php` DOES NOT exist on the server, I'm guessing the actual path should be `/path/to/site/modules/mod_k2_tools/helper.php` since that file DOES exist.
What should be the correct reference to this file?