Can someone help? I have serached the forums and see a lot of similar problems, but not exactly my issue:
These are the error messages I get when I click on my url, I am trying to get to the drupal "welcome
page.
Warning: main(includes/bootstrap.inc): failed to open stream: No such file or directory in /home/hilwv/hawaii-island-www/index.php on line 12
Warning: main(): Failed opening 'includes/bootstrap.inc' for inclusion (include_path='./:/usr/local/lib/php') in /home/hilwv/hawaii-island-www/index.php on line 12
Fatal error: Call to undefined function: drupal_page_header() in /home/hilwv/hawaii-island-www/index.php on line 13
What I have done:
I have created the database, uploaded the drupal files, and set settings.php as follows:
* Database URL format:
* $db_url = 'mysql://dbuser:dbpassword@http://hawaii-island.hi.lwv.org/hawaii_island_hi_lwv_org';
* $db_url = 'pgsql://username:password@localhost/database';
*/
$db_url = 'mysql://dbuser:dbpassword@http://hawaii-island.hi.lwv.org/hawaii_island_hi_lwv_org';
$db_prefix = '';
/**
* Base URL:
*
* The URL of your website's main page. It is not allowed to have
* a trailing slash; Drupal will add it for you.
*/
$base_url = 'http://hawaii-island.hi.lwv.org;
I have also tried setting my local host to: http://216.147.119.31, which made better send to me since this is where I want to view the site right now and my domain name is NOT set up yet. However, I get the same exact errors either way.
HELP- I am pulling my hair out!
[-sepeck: removed some specific account/pw information for long term search]
Comments
Password
I am sure a lot of hackers appreciate you posting your database admin and password here. If I were you, I would change it ASAP!!!!!!!!!
Otherwise this is probably your solution:
mysql://dbuser:dbpassword@hawaii-island.hi.lwv.org/hawaii_island_hi_lwv_org
(get rid of http://)
andre
-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com
That did not fix the problem
Ooops on the username and password- I was getting desparate. I did, of course change them.
Getting rid of the http:// did NOT fix the problem. I am still getting the same errors.
I am going NUTS. I have another drupal site that is working FINE. I can not see any difference in the settings.php (except the usernames, passwords, base url, etc...) Could it be something else not related to the settings?
Any other suggestions?
bootstrap.inc
Do you have bootstrap.inc in your includes folder?
Is this really the name of your database: hawaii_island_hi_lwv_org
Did you check that the admin and password match the admin and password on your mysql server?
-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com
Tried all that
Yup-
I have boostrap.inc in the includes
yes- this is really the name of the database- the database manager automatically names it from the url
yes- admin and password match.
Any other ideas? Anyone?
hm
Not really, is your DocumentRoot set to: /home/hilwv/ in httpd.conf (apache configuration)?
-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com
same problem
heya, just had the same problem. check your php.ini and check the include_path directive. Mine was set to:
include_path="/usr/share/php"I changed it to
include_path=".:/usr/share/php"which now includes the current directory in the list of places it looks for include files. Works fine now.
You can find where your php.ini is by creating a
phpinfo();script and checking for the location in the output of that.solution
I was having the same problem and this link solved my problem.
http://drupal.org/node/548202
Same issue
I have installed a test joomla installation for several weeks and it suddenly started giving the same error.
I did not make any system changes.
How could this happen automatically to an already up and running system?
I tried all the methods listed in this thread but did not help.
I even restarted the server.
Does anybody have any idea?
thanks sunonearth and mjezell !!! :-)
i'm quoting the solution for other people:
"I got the same error messages
mjezell - September 11, 2009 - 21:13
I got the same error messages when I first installed Drupal because I was renaming the default.setting.php file to setting.php. You need to make a copy of that file and rename it. Drupal uses the default.setting.php file during setup and throws those errors if it's not there."
this works! just delete all files, reupload all files, and this time rename
default.settings.php ---> settings.php (no need to edit anything inside)
and then upload again default.settings.php, so that there are 2 files.
good luck!!!