drupal.org - Installing Drupal http://drupal.org/taxonomy/term/1/0 Installing Drupal? Please see the documentation in the handbook and the video resources for Drupal 5 and Drupal 6 for additional installation resources. en STICKY: Installing Drupal - README http://drupal.org/node/237410 <p>Greetings and welcome to the <em>Installing Drupal</em> forum.</p> <p>Our community contributed documentation resides in the handbooks which is built with the Book module. These can be reached through the <a href="http://drupal.org/handbooks" rel="nofollow">Documentation tab</a> at the top of the page.</p> <p>Don't forget that the Drupal download comes with an INSTALL.txt.<br /> <a href="http://drupal.org/getting-started/5/install" rel="nofollow">Installing Drupal</a><br /> <a href="http://drupal.org/getting-started/5/install-contrib" rel="nofollow">Installing Modules and Themes</a></p> <p>Check out <a href="http://drupal.org/handbook/customization" rel="nofollow">Beyond the basics</a> for more community contributed documentation, videos, tips and tricks. Also, please consider <a href="http://drupal.org/contribute/documentation" rel="nofollow">contributing yourself</a> when you have figured out a nice solution.<br /> <a href="http://drupal.org/handbook/customization/tutorials/beginners-cookbook" rel="nofollow">The Drupal Cookbook (for beginners)</a><br /> <a href="http://drupal.org/node/128752" rel="nofollow">Drupal 6 - Overview, Installation &amp; Upgrading</a><br /> <a href="http://drupal.org/node/128749" rel="nofollow">Drupal 5 - Overview, Installation &amp; Upgrading</a></p> <p>If you run into any issues you can <a href="http://drupal.org/search/node" rel="nofollow">search</a> using advanced search (must be logged in) and don't forget the <a href="http://drupal.org/Troubleshooting-FAQ" rel="nofollow">Troubleshooting FAQ</a></p> <p><a href="http://drupal.org/node/237410" target="_blank">read more</a></p> Installing Drupal Sat, 22 Mar 2008 05:09:51 +0000 sepeck 237410 at http://drupal.org Drupal in Gallery2 subdirectory http://drupal.org/node/515604 <p>Hello!</p> <p>I have a gallery2 script with clean urls in my rootdir <a href="http://mywebsite.com" title="http://mywebsite.com" rel="nofollow">http://mywebsite.com</a><br /> And a drupal script used as my blog at <a href="http://mywesite.com/blog" title="http://mywesite.com/blog" rel="nofollow">http://mywesite.com/blog</a> located at rootdir/blog/</p> <p>I' ve successfully created some static drupal pages in my root dir.<br /> For example <a href="http://mywesite.com/blog/about" title="http://mywesite.com/blog/about" rel="nofollow">http://mywesite.com/blog/about</a> -&gt; <a href="http://mywesite.com/about" title="http://mywesite.com/about" rel="nofollow">http://mywesite.com/about</a><br /> For example <a href="http://mywesite.com/blog/contact" title="http://mywesite.com/blog/contact" rel="nofollow">http://mywesite.com/blog/contact</a> -&gt; <a href="http://mywesite.com/contact" title="http://mywesite.com/contact" rel="nofollow">http://mywesite.com/contact</a></p> <p>using .htaccess</p> <p>RewriteCond %{THE_REQUEST} /about<br /> RewriteCond %{REQUEST_URI} !/index\.php$<br /> RewriteRule . /blog/about [QSA,L]</p> <p>RewriteCond %{THE_REQUEST} /contact<br /> RewriteCond %{REQUEST_URI} !/index\.php$<br /> RewriteRule . /blog/contact [QSA,L]</p> <p>But I'm stuck at subdirs like forum/24354 or /user/55</p> <p>I've tried<br /> RewriteCond %{THE_REQUEST} /forum/(\?.|\ .)<br /> RewriteCond %{REQUEST_URI} !/index\.php$<br /> RewriteRule . /blog/forum/(\?.|\ .) [QSA,L]</p> <p>But gallery's rewrite rules ignore it and give 404 errors.</p> <p>Has anyone done this before?<br /> Thanx</p> http://drupal.org/node/515604#comments Installing Drupal Drupal 6.x Fri, 10 Jul 2009 13:05:37 +0000 gutarim 515604 at http://drupal.org really werid!! http://drupal.org/node/515440 <p>hi everyone,</p> <p>i used to install my Drupal on the local host. Today I tried to install it on my 1&amp;1 server. I have set up the setting.php (copy and change permission), but I still get the requirements problem. I totally have no idea what happen? 'cause this is not my first time to install drupal. I believe I really follow the correct steps. Or that probably is 1&amp;1's server causes this problem??</p> <p>===============================================================<br /> Requirements problem<br /> The following error must be resolved before you can continue the installation process:<br /> register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings. (Currently using PHP register globals Enabled ('1'))</p> http://drupal.org/node/515440#comments Installing Drupal Drupal 6.x Fri, 10 Jul 2009 08:23:54 +0000 davids701124 515440 at http://drupal.org No install screen http://drupal.org/node/515230 <p>I have just downloaded, unzipped and copied all the drupal folders to my site. however when i go to my site i get a blank screen, if i try /install.php i still get a blank screen. I have created my database in MySQL and have tested it and it works. Please help with any info you have available for this problem. Thanks.</p> http://drupal.org/node/515230#comments Installing Drupal Drupal 7.x Fri, 10 Jul 2009 01:26:48 +0000 Giraffix 515230 at http://drupal.org stopped at front page http://drupal.org/node/515182 <p>I installed drupal on the server and the front page is fine but nothing else works. I get a 404 not found (port 80) on all the links including when I try to log in. I dumped the database and imported through the phpMyAdmin. </p> <p>Any ideas, I am lost here<br /> Thanks</p> http://drupal.org/node/515182#comments Installing Drupal Drupal 6.x Thu, 09 Jul 2009 23:57:40 +0000 atomikJulian 515182 at http://drupal.org how can i log out when i close my sight? http://drupal.org/node/515170 <p>how can i log out when i close my sight? i close my window, if i dont log out it stays logged in, no matter where you view it from.</p> http://drupal.org/node/515170#comments Installing Drupal Drupal 6.x Thu, 09 Jul 2009 23:39:05 +0000 steve49201 515170 at http://drupal.org Newbie Help! http://drupal.org/node/514902 <p>Hi everyonel</p> <p>I just installed Drupal on my server at <a href="http://www.adamstorr.com/drupal" title="www.adamstorr.com/drupal" rel="nofollow">www.adamstorr.com/drupal</a></p> <p>Everything is working perfectly... I'm familiarizing myself with the Administration area. I have one question: Now that Drupal is installed....how do I connect my current pages in the root directory so I can manage content in Admin? Do I just turn my pages into my own template and add it in "Theme"?</p> <p>Could someone give me some tips or point me in the right direction with a link?</p> <p>Any help would be very much appreciated. </p> <p>Thanks,<br /> Adam</p> http://drupal.org/node/514902#comments Installing Drupal Drupal 6.x Thu, 09 Jul 2009 17:23:55 +0000 adamstorr 514902 at http://drupal.org 500 Internal server error when installing http://drupal.org/node/514684 <p>hi,</p> <p>I copy one drupal site from server and upload same in another server and tried to install using install.php. But the installation stop at first stage ( on clicking Install Drupal in English) . The Firebug Shows 500 internal error, how to solve this issue ?</p> http://drupal.org/node/514684#comments Installing Drupal Drupal 6.x Thu, 09 Jul 2009 13:58:56 +0000 galtech123 514684 at http://drupal.org Moving Drupal from one server to another http://drupal.org/node/514656 <p>Hi,</p> <p>We rent a new dedicated server with more power, more disk space, and so on...<br /> What is the way of migrating my drupal installation from one server to the other? Do I just have to copy all the files, and then export and import the database? Or is there something else I should care about?</p> <p>Thanks</p> http://drupal.org/node/514656#comments Installing Drupal Drupal 6.x Thu, 09 Jul 2009 13:21:42 +0000 Julien PHAM 514656 at http://drupal.org Function ereg() is deprecated http://drupal.org/node/514334 <p>Instaling drupal-6.13 ,i configured mysql database and users on that time showing this error.can any one resolve this problem</p> <p>Function ereg() is deprecated in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\drupal\includes\file.inc on line 895</p> http://drupal.org/node/514334#comments Installing Drupal Drupal 6.x Thu, 09 Jul 2009 05:32:33 +0000 vreddymasu 514334 at http://drupal.org Fatal Error upon Installation: db_create_table() in /htdocs/drupal613/includes/common.inc on line 3219 http://drupal.org/node/514320 <p>Hello</p> <p>Can anybody help me please. I am attempting install of Drupal 6.13 onto server with MySQL 5.051a and PHP Version 5.2.6-1+lenny3.</p> <p>I have followed the intructions and entered the db details then I get presented with a white screen and the following error</p> <p>Fatal error: Call to undefined function: db_create_table() in /htdocs/drupal613/includes/common.inc on line 3219</p> <p>I have done this a couple of times now and confirmed versioning etc. Am I not seeing something?</p> <p>Thanks</p> <p>Shane</p> http://drupal.org/node/514320#comments Installing Drupal Drupal 6.x Thu, 09 Jul 2009 05:16:32 +0000 Shane 514320 at http://drupal.org Can't put Drupal (Installed in XAMPP) in my own environment.... http://drupal.org/node/514258 <p>My partner already installed drupal (lets say the site is "xamppdrupal") with all needed modules in XAMPP in his computer. When I moved the site (i put the "xamppdrupal" folder in htdocs and import the database in my phpMyAdmin) to my own environtment in my computer, it says : </p> <p><i> The mysqli error was: Unable to use the MySQLi database because the MySQLi extension for PHP is not installed. Check your <code>php.ini</code> to see how you can enable it..</i></p> <p>So I go to the folder xamppdrupal\sites\default and change the line in settings.php:</p> <p>$db_url = '<b>mysqli</b>://root:adi@localhost/kms';</p> <p>to </p> <p>$db_url = '<b>mysql</b>://root:adi@localhost/kms'; </p> <p>Then it showed login page, the problem is when after i logged in it says:</p> <p><i>The requested URL /drupal-6.12/news_and_announcements was not found on this server.</i></p> <p>I've tried to enable the mysqli ext in php.ini and used the first $db_url = '<b>mysqli</b>............'. But it also didnt work.</p> <p>I've tried install drupal 6.12 (lets say the site is "mydrupal") in my environment and it's working fine.</p> <p>Anyone can help me? I'll appreciate it very much.</p> <p>Thanks.</p> http://drupal.org/node/514258#comments Installing Drupal Drupal 6.x Thu, 09 Jul 2009 03:44:45 +0000 adideswar 514258 at http://drupal.org mamp http://drupal.org/node/514248 <p>any help is greatly appreciated: try to get on my site local and this is what appears:</p> <p>warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'views_access' was given in /Applications/MAMP/htdocs/drupal/includes/menu.inc on line 452.<br /> warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imce_access' was given in /Applications/MAMP/htdocs/drupal/includes/menu.inc on line 452.<br /> warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'views_access' was given in /Applications/MAMP/htdocs/drupal/includes/menu.inc on line 452.</p> <p>with a body block and blue square with question mark. I'm lost........</p> <p>Mark</p> http://drupal.org/node/514248#comments Installing Drupal Drupal 6.x Thu, 09 Jul 2009 03:10:50 +0000 home builder 514248 at http://drupal.org local host with mamp http://drupal.org/node/514166 <p>I'm currently trying to set up a local host using mamp. I have it installed and running. Brought in drupal 6.13. Am currently trying to install it. I have created a copy of default.settings.php and created a new folder settings.php and put it in there. On the copy I changed the permissions thru get info to read/write. Still getting an error message and i cannot continue the install. Any thoughts? Thanks in advance.</p> <p>Mark</p> http://drupal.org/node/514166#comments Installing Drupal Drupal 6.x Thu, 09 Jul 2009 00:10:48 +0000 home builder 514166 at http://drupal.org Installing 2 drupal into rootfolder and subfolder interference problem. http://drupal.org/node/514014 <p>I've installed on drupal into domain.com root, another into root/site2 which will be mapperto anotehr domain.<br /> Problem in that .htaccess from first installtion in the root overrides .htaccess stuff for root/site2!!!<br /> How to handle that?!</p> http://drupal.org/node/514014#comments Installing Drupal Drupal 6.x Wed, 08 Jul 2009 20:32:51 +0000 Ectar 514014 at http://drupal.org Can't connect to database http://drupal.org/node/513906 <p>In reference to <a href="http://drupal.org/node/511750" title="http://drupal.org/node/511750" rel="nofollow">http://drupal.org/node/511750</a></p> <p>I downloaded Drupal 6.13, copied it to a new directory, created new databases on the database server, and started to go through install.php However, it cannot contact the database, even though I can connect from the command line. I can connect to the database with some simple PHP test scripts.</p> <p>How can I get more information from Drupal as to why it cannot connect? I need some useful logs or something. Right now, all I know is it tells me, Can't connect to MySQL server on '172.16.1.1' (13). But since I can connect to the database...</p> http://drupal.org/node/513906#comments Installing Drupal Drupal 6.x Wed, 08 Jul 2009 18:14:14 +0000 jnojr 513906 at http://drupal.org multisite on cpanel/whm before dns switch http://drupal.org/node/513858 <p>I have a current test site setup with drupal 6 and I can browse to it via something like <a href="http://example.com/~testsite" title="http://example.com/~testsite" rel="nofollow">http://example.com/~testsite</a></p> <p>The drupal install is in the root. I would like to setup a second site using the same core drupal install and browse to it via <a href="http://example.com/~testsite/newsite/" title="http://example.com/~testsite/newsite/" rel="nofollow">http://example.com/~testsite/newsite/</a></p> <p>I have previously setup multisites with working domain names doing the following:<br /> setup new db<br /> created folder within sites/whatever.com.newsite/<br /> put dummy settings.php file there<br /> setup sub domain in cpanel newsite.whatever.com<br /> deleted folder newsite using ftp<br /> created symlink for public_html to public_html/newsite<br /> browsed to whatever.com/newsite and it gives me install wizard</p> <p>I have done all these steps for this test site but I am getting a regular 404 error page (not drupal) when I browse to <a href="http://example.com/~testsite/newsite/" title="http://example.com/~testsite/newsite/" rel="nofollow">http://example.com/~testsite/newsite/</a>. So, I am assuming the problem is the naming structure within the sites folder that I used, which is example.com.~testsite.newsite.</p> <p>I didn't think this woudl work with the ~, but I thought I would try anyway. Does anyone know how I can setup the multisite for this new area?</p> <p>Thanks.</p> http://drupal.org/node/513858#comments Installing Drupal Drupal 6.x Wed, 08 Jul 2009 17:21:00 +0000 johnlutz 513858 at http://drupal.org unable to send email on account creation http://drupal.org/node/513774 <p>this was the warning i got when i tried to get my drupal website account created,</p> <p>warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\drupal-6.13\includes\mail.inc on line 193.<br /> Unable to send e-mail. Please contact the site administrator if the problem persists.</p> <p>what exactly should i verify here?</p> <p>thanks for your kindly help.</p> http://drupal.org/node/513774#comments Installing Drupal Wed, 08 Jul 2009 15:58:41 +0000 hevole 513774 at http://drupal.org "Database Name" field during install rejects IP address http://drupal.org/node/513692 <p>I maintain 4 drupal instances on 4 separate IIS servers, and as I was installing a fifth I encountered an oddity.</p> <p>During 6.13 install, the "wizard"/"Interview" prompts me to enter "Database Name"</p> <p>The odd behavior is that when I enter/submit the IP address, drupal doesn't accept it and clears the "Database Name" text entry field and displays that same screen again.</p> <p>I ended up manually modifying the settings.php $db_url value to the IP address and drupal runs fine.</p> <p>Has anyone ran into this "rejection of IP address by the wizard/interview" behavior during install?</p> <p>What caused it in your situation? How did you resolve it?</p> <p>Thx, </p> <p>sdea</p> http://drupal.org/node/513692#comments Installing Drupal Drupal 6.x Wed, 08 Jul 2009 14:34:46 +0000 sdea 513692 at http://drupal.org Upgrading Apache2Triad PHP. http://drupal.org/node/513522 <p>I have just been folowing a drupal book and installed apache2triad as instructed. (Running vista so it took a bit of tweaknig but its running), however i wanted to play about with the e-commerce module and the version of php included in the apache2triad package isn't up to date and so the module will not run correctly. </p> <p>Is there any easy way to upgrade the version of PHP included in the apache2triad bundle as i've been having a lot of problems.</p> <p>Thanks, Ben.</p> http://drupal.org/node/513522#comments Installing Drupal Wed, 08 Jul 2009 11:41:41 +0000 B.Whittick 513522 at http://drupal.org error message on Drupal, Function ereg() is deprecated ... file.inc on line 895. http://drupal.org/node/513462 <p>Hi Guys </p> <p>I am a newbie.</p> <p>I am running Drupal using Mowes portable. </p> <p>When I installed Drupal, everything seemed to work except it is giving me an error</p> <p># : Function ereg() is deprecated in C:\Program Files\Drupal\www\drupal\includes\file.inc on line 895.</p> <p>I get a whole bunch of them. I have reinstalled many times with the same result.</p> <p>I can do most things but I can get to my reports and run status and am unable to run cron.</p> <p>please help</p> http://drupal.org/node/513462#comments Installing Drupal Drupal 6.x Wed, 08 Jul 2009 10:06:30 +0000 littlepeachboy 513462 at http://drupal.org MAMP, can not get SETUP DATABASE to work... http://drupal.org/node/512830 <p>I have a MBP, installed MAMP, and I find that phpMyADMIN works fine.<br /> I am also able to create websites and browse to them locally.<br /> but now I am trying to do a DRUPAL install locally</p> <p>I am able to get to the install screen of the DRUPAL system. but I can not get the DB SETUP<br /> I am getting this error:</p> <p>----------------------------------------------------------------------------------------<br /> Failed to connect to your MySQL database server. MySQL reports the following message: Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2).</p> <p> * Are you sure you have the correct username and password?<br /> * Are you sure that you have typed the correct database hostname?<br /> * Are you sure that the database server is running?</p> <p>----------------------------------------------------------------------------------------</p> <p>i ran this command from shell:<br /> ps aux|grep mysql<br /> and I get this:</p> <p>vincentyoumans 32411 0.1 0.0 590472 192 s000 R+ 2:12PM 0:00.00 grep mysql<br /> vincentyoumans 27431 0.0 0.3 634328 13740 ?? S 12:52PM 0:01.64 /Applications/MAMP/Library/libexec/mysqld --basedir=/Applications/MAMP/Library --datadir=/Applications/MAMP/db/mysql --user=mysql --pid-file=/Applications/MAMP/tmp/mysql/mysql.pid --port=8889 --socket=/Applications/MAMP/tmp/mysql/mysql.sock --lower_case_table_names=0</p> <p><a href="http://drupal.org/node/512830" target="_blank">read more</a></p> http://drupal.org/node/512830#comments Installing Drupal Drupal 6.x Tue, 07 Jul 2009 19:02:50 +0000 vinceyoumans 512830 at http://drupal.org Getting 'user warning: You have an error in your SQL syntax; check the manual... ' during installation and then it stops http://drupal.org/node/512190 <p>I am a beginner and installing drupal-6.12 version. Environment I am installing Drupal is:</p> <p>Windows XP,<br /> Apache 2.2.11 web server<br /> PHP Version 5.2.5<br /> PHPMyAdmin version 3.1.5<br /> MySQL client version: 5.0.45</p> <p>Steps:<br /> 1. Configured PHP on Apache<br /> 2. Configured Drupal and put it into htdocs directory.<br /> 3. Created new database with the name 'drupal' using phpMyAdmin.<br /> 4. Started installation of Drupal using link <a href="http://localhost/drupal/install.php" title="http://localhost/drupal/install.php" rel="nofollow">http://localhost/drupal/install.php</a><br /> 5. Gone through step by step, and configured database by giving required information.<br /> 6. After finishing 'Set up database' step, it stopped by giving below warning. </p> <p>user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\drupal\includes\menu.inc on line 315.<br /> user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\drupal\includes\menu.inc on line 315.</p> <p><a href="http://drupal.org/node/512190" target="_blank">read more</a></p> http://drupal.org/node/512190#comments Installing Drupal Drupal 6.x Tue, 07 Jul 2009 04:26:59 +0000 hardikmca 512190 at http://drupal.org Problems with running installation php file http://drupal.org/node/512154 <p>I have uploaded Drupal 1.2.12.</p> <p>When I run the install,php file, firefox opens a pop up window asking me I want to open the file or if I want to save the file.</p> <p>What am I doing wrong?</p> <p>O</p> http://drupal.org/node/512154#comments Installing Drupal Drupal 6.x Tue, 07 Jul 2009 03:35:36 +0000 obeahman 512154 at http://drupal.org Clean URLs woe http://drupal.org/node/511654 <p>Hi</p> <p>I'm trying to get clean URLs to work on my Drupal 5 installation running Ubuntu Hardy Heron</p> <p>I've followed the tutorial on the Drupal site and abut 10 others and I still cannot get it to work.</p> <p>So far I have done the following:</p> <p>1) Enabled mod-rewrite in Apache</p> <p>2) .htaccess file<br /> <code>#<br /> # Apache/PHP/Drupal settings:<br /> #</code></p> <p># Protect files and directories from prying eyes.</p> <p> Order allow,deny</p> <p># Don't show directory listings for URLs which map to a directory.<br /> Options -Indexes</p> <p># Follow symbolic links in this directory.<br /> Options +FollowSymLinks</p> <p># Make Drupal handle any 404 errors.<br /> ErrorDocument 404 /index.php</p> <p># Force simple error message for requests for non-existent favicon.ico.</p> <p> #ErrorDocument 404 "The requested file favicon.ico was not found.</p> <p># Set the default handler.<br /> DirectoryIndex index.php</p> <p># Override PHP settings. More in sites/default/settings.php<br /> # but the following cannot be changed at runtime.</p> <p># PHP 4, Apache 1.</p> <p> php_value magic_quotes_gpc 0<br /> php_value register_globals 0<br /> php_value session.auto_start 0</p> <p><a href="http://drupal.org/node/511654" target="_blank">read more</a></p> http://drupal.org/node/511654#comments Installing Drupal Drupal 5.x Mon, 06 Jul 2009 17:17:21 +0000 Gainax 511654 at http://drupal.org