I am setting up a website on a shared linux server on Bluehost.com
Today I installed Drupal 5.1 from Fantastico in /home/linguaet/public_html/drupal and it does not appear to be working:
First issue
When I go to:www.linguaetc.com/drupal I receive the following error:
Parse error: syntax error, unexpected '*' in /home/linguaet/public_html/drupal/sites/default/settings.php on line 115
Line 115 is the $base_url line. Here are the lines around 115 in settings.php:
* $base_url = 'http://www.example.com/drupal';
* $base_url = 'https://www.example.com:8888/drupal';
*
* It is not allowed to have a trailing slash; Drupal will add it
* for you.
*/
$base_url = 'http://linguaetc.com/drupal'; // NO trailing slash!
/**
* PHP settings:
Second issue
When I go to: http://linguaetc.com/drupal/index.php I receive a number of errors:
Warning: include_once(./sites/default/settings.php) [function.include-once]: failed to open stream: No such file or directory in /home/linguaet/public_html/drupal/includes/bootstrap.inc on line 238
Warning: include_once() [function.include]: Failed opening './sites/default/settings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/linguaet/public_html/drupal/includes/bootstrap.inc on line 238
Warning: Cannot modify header information - headers already sent by (output started at /home/linguaet/public_html/drupal/includes/bootstrap.inc:238) in /home/linguaet/public_html/drupal/includes/common.inc on line 141
Unsupported database type
The database type is unsupported. Please use either mysql for MySQL 3.x & 4.0.x databases, mysqli for MySQL 4.1.x+ databases, or pgsql for PostgreSQL databases. The database information is in your settings.php file.
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
I uninstalled and reinstalled with the exact same errors. Bluehost.com has mysql version 5.0.27. I have sent an email to Bluehost.com but have not yet heard back.
It would be greatly appreciated if some one could advise what I need to do to have drupal up and running.
Yours truly,
Richard
Comments
=-=
If fantastico doesn't work on your host, you have to ask your host what the problem is. You shouldn't be getting a parse error, seems the fantastico install may have an error in it. Drupal is not responsible for whats done to the drupal core to get it to work with in a system such as fantastico.
Personally, I would suggest installing Drupal without fantastico. The new Drupal 5 installer only needs a little information to install on its own. For help installing Drupal without fantastico, in the drupal handbooks, there is a videocasts area, where you can watch a video cast on how to install Drupal 5.
i got it working
richard,
just tried it out and appears to be working fine.
http://pob1.org/fantasticodrupal/
i would just delete and try again.
paul
Don't use that
http://drupal.org/forum/fantastico-de-luxe
--
The news is Now Public | Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile. | Blog about life in Hungary
--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.
Manually installed - Now working!
Thank you all for your comments. I uninstalled the fantastico installation and manually installed it as verymisunderstood suggested. That did the trick! It amazes me how the hosting sites push this great benefits of fantastico and this is the second program in as many days that did not work using fantastico :(
I have learned my lesson... install manually.
Do they?`
I don't remember having heard anything good about Fantastico, from users, hosts or developers... for some other CMS systems too, but apparently it messes up Drupal something awful.
MySql databases
Hi, I have had problems with my Drupal site existing on the same host domain as another site - not a Drupal site -. I ran across your post and thought that it may be a problem with the way Fantastico is installing Drupal. I tried installing Joomla with Fantastico and didn't have any problem seeing both sites.
My question to you since you had success installing it manually - did you have to create the MySql database in Bluehost yourself before you installed?
I have watched the video but got a little confused with the database part.
J
=-=
yes. The DB is created using your hosts tools, then you feed drupal this information during installation so that it can populate the DB.
DB location
DB username
DB password
drupal will then handle the rest of installation on it's own.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Problems accessing Drupal and non-Drupal sites on same account
Thank you for your response. And sarcasm is most welcome as it's a daily part of my joy in life. However, in the case of getting this site up and running, it could easily go over my head. So, I will ask for at least a hand towel.
The problem: two sites being accessible on the same account with bluehost.
I had drupal installed and up and running (installed with Fantastico) and then we discovered that my friend's (non drupal) site came up with a Forbidden Area + a 500 internal server error.
Bluehost fixed the problem of my friend's site not working and then I discovered that all of my sub pages had a 404 page.
On the phone again with Bluehost and after making several adjustments in an .htaccess file, they couldn't get both sites to work at the same time. Since I hadn't done too much work on the drupal site, I had it uninstalled and decided to start over again. I figured that I had changed some setting that was causing the problem. After reinstalling (using fantastico), I had the same problem. When my site was installed, his didn't work. When it wasn't, his worked.
I tested another cms system that fantastico installs and the two sites were able to work at the same time with the other cms. I need to work with Drupal since my company is building a major site on it and I need and want to learn it. So I was determined to solve the problem.
Looking at the posts, I determined that it might have something to do with Fantastico and the way it installs.
I followed your instructions and the video to install myself. Uploading the stuffed drupal 5.5 file into my public html folders, I then unstuffed it, created the database using your instructions, and then filled in the information using the drupal install screen. It worked - but only on johnvasko.com/drupal-5.5
Figuring that I need to get rid of that folder and have all of the files in the main directory, I moved all of them to the main public html directory. Following all the instructions again, I successfully installed drupal.
Then the moment arrived. I checked douglasclark.net. ----Forbidden Area + 500 internal server error.
I have already got a ticket opened in Bluehost for this. They took Christmas eve off, which I thought was a fairly cheeky thing to do for a company of its nature. At least I was able to install Drupal manually, which looks to be the best way for future upgrades.
Question: Is this a Drupal problem or something I need to configure? Or Is this a problem in the way the host set up the other domain in my account?
If it's a Drupal setting, I would love to know what I should change.
Thanks so much. And seasons greetings.
=-=
Certainly not a drupal problem that I know of.
Though Drupal does have the ability to run more then one site off of one code base. Use Multisites as a search term and in the install.txt file for more information.
If your host allows you to use more then one domain name in one account they should certainly be allowing more then one piece of software to be running in each account.
How is the folder structure situated on the server ?
What are the urls used to access each site ?
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Fixed
Finally, both sites are working. Apparently there was a problem in the .htaccess code. There was a default in that code set regarding .php files. Because there was another site hosted at the domain, it wasn't taking that site into consideration. The host already has a default for this so it was able to be commented out and now both sites work perfectly.
But, I'm glad that I learned how to install Bluehost manually thanks to your pointing me to the videos.
Thanks and Happy New Year.
J