Hi all

First post, I was looking for a way to create a site for my student organization and I wanted to learn more about websites in general so I felt drupal was the place the place to be. Since I am very new to linux, databases and such I went for the turnkey package for my first go around. I got it installed. but when I launch it brings me to a prompt drupal6 login. Where I can logon by using root and no pw. But then I am given another logon root@drupal6 where I am stuck. I am assuming drupal was already installed and stuff and I can get right to the website stuff. Any help would be much appreciated. I looked for documentation but I must of done something wrong since it is at drupal screen instead of a prompt.

Thanks in advance

Comments

sierrawayfarer’s picture

Which turnkey package(s) do you have? I think you are talking about two different things. One is your webserver and the other is drupal installation. Do you have both of these combined and if so, what is it called?

Typically, you install a web server. Then you install drupal to the webserver's folder that it serves web pages from. This folder is the 'document root' and for apache web server it is called htdocs.

I run linux fedora and have xampp installed as my webserver. The ampp letters within xampp stand for apache, mysql, php, and pearl. Together they comprise my web server on my local machine for testing web applications. The path to my htdocs, document root, folder in fedora with xampp is /opt/lampp/htdocs.

So, what is the path to your document root? What is the name of the folder? And what is the drupal directory in the document root called or if there is no drupal directory what folders does the root contain. Any other information you can think of to supply might also be helpful.

nukeman79’s picture

Thanks for the response

I have whatever is included in the package from http://www.turnkeylinux.org/drupal6. I assume it has everything. I found it when I was reading the getting started that suggested that for beginners it is effective since it supposedly eliminates having to configure a local server to develop a site. So in response to your question I not sure what or where my server is but i think i remember apache somewhere in the boot up. It is run through virtual box.

In regards to your other questions i did not install drupal for reasons above but maybe I should but from the description it looks like drupal is already integrated into the package. i am at a drupal prompt but i saw drupal was more of a windows interface. I am not sure if I cleared up anything. Any advice?

sierrawayfarer’s picture

Yes it has Drupal in it. I looked at the download. It is pretty big. I am always cautious of 3rd party products like that because I don't know what is in them. You might try installing Xampp. It is very simple and lots of people here are familiar with it and could help you with it if you get stuck. Do a google search for xampp and look it over. If you have any questions just ask. I can't help you with what you currently have.

nukeman79’s picture

I will give it a shot so I should get xamp and drupal 6 and install both correct.

sierrawayfarer’s picture

Get xampp first. Study and do the installation. Then make sure the xampp server will serve its default page to you. Once you have that done then if there are any further problems you will know that they are drupal related and not your web server.

nukeman79’s picture

OK, I got xampp up and i have it giving me the test page. I downloaded drupal 6.15 and extracted the tarball. Now its saying i need to move the files to my local host server. How do I know where that is?

sierrawayfarer’s picture

I need to know what operating system you are running. If you are running Windows and double clicked on an .exe file to install xampp it probably asked you for an installation directory. Go down the directory tree from there until you find the htdocs folder. That will be you doc root which you should put drupal-6.15 in. That is if you downloaded the latest stable version of drupal which is 6.15. I could be confused here because I don't work in Windows or maybe you have a different operating system but google search for 'xampp your-operating-system drupal install' and you should probably find the place to put the drupals installation and further direction on installation.

nukeman79’s picture

ok i think i am almost there. I am on ubuntu 9.10. I found the directory using a method online for my linux release. Though when i try and access drupal through the web page i get the following error

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/drupal/includes/file.inc on line 902

and

Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/drupal/includes/file.inc:902) in /opt/lampp/htdocs/drupal/includes/install.inc on line 618

Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/drupal/includes/file.inc:902) in /opt/lampp/htdocs/drupal/includes/install.inc on line 619

have you ever encountered this ?

*EDIT*

I found on the board someone with a simalar issue who had his problem solved. I am all set. Thank you so much for your help it wasn't as bad as I thought. Now to get cracking on a site

sierrawayfarer’s picture

I get the same error on install and it is easy to fix. Open the file, file.inc. It is in your 'incudes' folder. Open it in a text editor that gives you line numbers and go to line 902. Install bluefish if you need a decent text editor. This is the line:
--------------------
elseif ($depth >= $min_depth && mb_ereg($mask, $file)) {
------------------------
If you look closely you will see where I have added 'mb_' in front of ereg. Just do this and save it.

Then open the drupal again and it should take you to the start of the installation process. Hopefully you have directions from here but if not keep asking.

sierrawayfarer

nukeman79’s picture

the xampp thing for linux is setup does that mean my database is created already? If so how do I find my name and password. I tried following instructions use the mysql line to create a data base and it did not seem to recognize the command refereing to the mysqlpackage. Any advice?

sierrawayfarer’s picture

http://www.apachefriends.org/en/xampp-linux.html

No, you need to create a database. Open a browser and go to http://localhost/phpmyadmin/ and create a database and user (other than root). These are the database name, user, and password you use when configuring drupal.

nukeman79’s picture

OK got that done. LAst question i think. When I was finishing the drupal installation it asks for a site email. Whats the format for this line I could not get it to work and it said the email was invalid. It bypassed this but for future reference whats the proper way to enter it.

sierrawayfarer’s picture

For practice you can use anything you want but if you had a site and your name was yahoo.com you might use admin@yahoo.com. Just for fun you might use
yo-boss@none-yo-business.com. LOL. The key is the @ in middle. That is all that is required.

Congratulations on getting through the set up process!