Installation problems with path
-
I’ve searched and searched but can find no definitive answer to this question. This is another include problem.
I have WP working on one site. I want to set up a new WP installation on another domain (different site). I unzipped WP into a folder named Wpj. I have created a new DB, set the user, and entered the configuration into wp-config.php.
I keep getting errors that relate to undefined functions and it appears this is due to required files not getting included.
I set up a test and get this info:
getcwd = /home/jimryan/public_html/Wpj
$_SERVER[‘DOCUMENT_ROOT’] is /home/jimryan/public_htmlI modified .htaccess and added these paths to the PHP include path:
get_include_path() = /usr/lib/php:/usr/local/lib/php:/home/jimryan/public_html/Wpj:/home/jimryan/public_html/Wpj/wp-includes:/home/jimryan/public_html/Wpj/wp-adminNo matter what I do, install.php dies with this:
Fatal error: Call to undefined function: get_option() in /home/jimryan/public_html/Wpj/wp-includes/template-functions-general.php on line 116I have also tried changing the define of ABSPATH to the actual path string instead of using dirname(__FILE__).
I’ve also tried copying over my wordpress files from the other site since I know those work. I then entered the new site’s DB configuration. This gives the same error.
I’m stumped. Is this site specific? Any ideas?
Thanks
- The topic ‘Installation problems with path’ is closed to new replies.