Warning: include_once(quotes_stripper.inc.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/hoster/html/modx/manager/index.php on line 90 Warning: include_once() [function.include]: Failed opening 'quotes_stripper.inc.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /var/www/hoster/html/modx/manager/index.php on line 90 Warning: include_once(config.inc.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/hoster/html/modx/manager/index.php on line 127 Warning: include_once() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /var/www/hoster/html/modx/manager/index.php on line 127 Warning: include_once(document.parser.class.inc.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/hoster/html/modx/manager/index.php on line 130 Warning: include_once() [function.include]: Failed opening 'document.parser.class.inc.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /var/www/hoster/html/modx/manager/index.php on line 130 Fatal error: Class 'DocumentParser' not found in /var/www/hoster/html/modx/manager/index.php on line 131
php_admin_value include_path ".:.:.:/usr/share/php5:/usr/share/php5/PEAR:/server/domain.tld/manager/includes/"
// set some runtime options $incPath = str_replace("\\","/",dirname(__FILE__)."/includes/"); // Mod by Raymond if(version_compare(phpversion(), "4.3.0")>=0) { set_include_path($incPath); // this now works, above code did not? } else { ini_set("include_path", $incPath); // include path the old way }
<?php if (version_compare(phpversion(), "4.3.0", ">=")) { // you're on 4.3.0 or later } else { // you're not } ?>
if (version_compare(phpversion(), "5.4") < 0) { @set_magic_quotes_runtime(0); // include_once the magic_quotes_gpc workaround include_once "quotes_stripper.inc.php"; }
include_once "./includes/quotes_stripper.inc.php";