Hi everyone! This is my first post and also first time installing MODx 1.0.2 and I’m a total noob to this.
I need some help on the following error messages i encountered after the installation,
[i]Warning: include_once(quotes_stripper.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/xxxx/public_html/modx/manager/index.php on line 91
Warning: include_once() [function.include]: Failed opening ’quotes_stripper.inc.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php:/home/xxxx/php’) in /home/xxxx/public_html/modx/manager/index.php on line 91
Warning: include_once(config.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/xxxx/public_html/modx/manager/index.php on line 129
Warning: include_once() [function.include]: Failed opening ’config.inc.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php:/home/xxxx/php’) in /home/xxxx/public_html/modx/manager/index.php on line 129
Warning: include_once(document.parser.class.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/xxxx/public_html/modx/manager/index.php on line 132
Warning: include_once() [function.include]: Failed opening ’document.parser.class.inc.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php:/home/xxxx/php’) in /home/xxxx/public_html/modx/manager/index.php on line 132
Fatal error: Class ’DocumentParser’ not found in /home/xxxx/public_html/modx/manager/index.php on line 133[/i]
My webhost’s mySQL server details:
Server version: 5.0.85-community
MySQL client version: 4.1.22
Did I miss something during the installation or have I committed errors thus the errors?
Thank you in advance for any help or insight into the problem.
-
☆ A M B ☆
- 24,524 Posts
MODx requires that the include path be modified by PHP at runtime:
// set some runtime options
$incPath = str_replace("\\","/",dirname(__FILE__)."/includes/"); // Mod by Raymond
if(version_compare(phpversion(), "4.3.0")>=0) {
set_include_path(get_include_path() . PATH_SEPARATOR . $incPath);
} else {
ini_set("include_path", $incPath); // include path the old way (note we don't have PATH_SEPARATOR before 4.3.0, so we're not appending to the existing include path.. it's an edge case at this point)
}
Your server may be configured in such a way that this isn’t working as expected:
If you find that this function is failing for you, and you’re not sure why, you may have set your php include path in your sites’s conf file in Apache (this may be true of .htaccess as well)
So to get it to work, comment out any "php_value include_path" type lines in your Apache conf file, and you should be able to set it now in your php code.
Also:
If you set something using php_admin_value in httpd.conf it is then not possible to be set the value at runtime, even if it’s NOT PHP_INI_SYSTEM.
My webhost help to checked the apache configuration file of the server and found that there is no entry for ’php_value include_path’ or ’php_admin_value’. They also checked the .htaccess file of my domain but could not find anything related to these variables.
what else can I do to resolve the issue?
Did u already find out whats wrong? I’m having the same problem as you have..