Hey,
I'm trying to install drupal on my server. Its a hosted server, that does have full support for drupal. Now i'm following the instructions in a lullabot vidcast on how to install drupal. It says to extract files and then upload the files to your server. Did all this and afterwards when i try to access the site i get an error message. Now i'm pretty sure this is drupal's error message beacause my host doesn't give errors, when something is improperly configured the host just redirects you it's homepage and it's not doing that.
Here's the exact error message:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log."
Basically i followed the instructions and uploaded all the files to the server. I haven't set up a database yet, but i'm pretty sure this an error specific to something other than drupal not having a database to access, but i could be wrong. I haven't configured any config files in drupal yet, and im pretty sure this is the problem. My servers schema is little different when comparded to others(i think), beacuse once you log into the server through ftp you see three folders containing subdomains of each site. These are the actual web addresses of the individual sites. I then put the drupal files in my main site's subdomain folder. I'll go to the web punch in my address and then i get the infamous error code.
Can't wait to get drupal going! Ohhh yea I tried searching the forums but haven't found anything.
Any help would be regarded highly,
jBell
Comments
hi
HI, im no pro, but, that is a server error. It is not a drupal error.
It could mean many things. Do you have access to more detailed server logs?
I struggled yesterday to
I struggled yesterday to install drupal on a hosted server .. so I can compare installation notes with you.
But first a question .. do you have CPanel and PhpMyAdmin installed on your hosted server?
Search the site for 500
Here's one recent 500 error post:
http://drupal.org/node/80169
There's plenty of possibilities for a file not being read.
Check ownership, permissions, htaccess, bad files, and symlinks.
thanks all for the swift
thanks all for the swift replies.
As for the cpanel question. I really am not sure if this installed my hosted server i just posted to the admin forum at the host site and they should get back to me in maybe an hour of two. I dont think i have access to detailed server logs but i also asked this question in the same post.
PHPmyAdmin is installed and i was using it last night. I was beginning to build a database for the drupal account but i feel asleep. Could that be the problem? I haven't finished building the database yet so i dont know if that is the solution.
There are the specs of the hosted server:
Hosting OS Proprietary *nix
PHP version 4.4.1
Perl version 5.8.4
MySQL version 4.0.24
MySQL hostname db4.awardspace.com
I'm going to try a few things from the link inforeto left thanks again for the help.
One Problem Fixed Another Surfaces
I fixed the problem after tyring some of things in the URL inforeto left and i got it to work.
I deleted the .htaccess file and removed the index.html file and now the site falls onto an infallibly beautiful drupal error:
"Unable to connect to database server
This either means that the username and password information in your settings.php file is incorrect or we can't contact the MySQL database server. This could mean your hosting provider's database server is down.
The MySQL error was: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
Currently, the username is username and the database server is localhost.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider."
With the little drupal guy in top left corner. I've never been so happy to see an error.
I guess now i have to get that database setup. But that shouldn't be that hard.
But this brings me to another question. Since this site isn't being hosted locally. Once i get that database setup isn't it going to give me access to like some sort of configuration panel?? If this is going to happen wouldn't that panel be accessible to anyone who navigates to my site? If the previous is true how would i fix this?
thanks
jBell
jBell, by defeault no one
jBell, by defeault no one has access to the control panel. The first account registered gets admin status and access to the control panel. The chances of somone doing this before you is slim.
If you actually have a steady flow of visitors to your domain, rename index.php to something only you know while youre setting it up.
I mean, there are ways to password protect the directory while youre installing, but thats a whole nother tutorial :|
So you have used PHPMyAdmin
So you have used PHPMyAdmin without seeing the 500 Internal Server Error?
Go back to PHPMyAdmin and check if you can see the created drupal database with imported tables (57).
I followed the same video tutorial on installation.
When making any mistakes (several in my setup) I found it easier to delete the database and start again .. until it worked.
...
p.s. .. I posted this reply before seeing your last message on getting it to partly work.
test_connect.php script
Assuming that you have setup (as in tutorial)
database name = drupal
database username = drupal
database userpassword = drupal
You can drop this php script .. test_connect.php ..
into your hosted server to test a database connection:-
i had the same problem...
mine is caused by a module being enabled, but i'm not sure which one. i'm in the process of disabling/enabling to test, but i'd suggest loading drupal as originally packages, then enable modules one by one until you find the problem. i'll post again once i determine which mod and what the problem was - bad module, incomplete, etc. good luck!
got it!
check versions of your modules. i accidentally loaded a 4.7 mod for my 5.1 installation :) that doesn't work.