By JaymeNYC on
I've been tryin to do this for a while, I've searched the site aswell as the net and I always get stuck. It seems like alot of the directions skip around by not tellin me where to put the drupal files or when I was watchin the drupal vid it went into a ftp and onto a remote server. Is there good clear directions on this or can any1 help?
Comments
I assume you have MAMP from
I assume you have MAMP from http://mamp.info installed and working. Unless you have made any configuration changes this is what you should do:
1. Download latest Drupal
2. Unpack and move the folder drupal-6.3 to /Applications/MAMP/htdocs
3. Rename the folder to simply drupal (/Applications/MAMP/htdocs/drupal)
4. Start MAMP
5. Open your browser and go to http://localhost:8888/drupal
Thanks! The shortest and
Thanks! The shortest and most helpful explanation :)
got it workin!
permissions issues
Hi,
I am trying to test Drupal under MAMP on Mac Os X.
Despite many attempts, I still have the same error message :
Yes, I did check the permissions. I granted full access to all (me, staff, everyone).
Still, it's not working.
Any idea?
Thank you!
I think Mamp has it's own
I think Mamp has it's own permissions setup as well, what I did was made myself the owner of files instead of the default www/mysql, it warns you not to but I do it anyway, local testing is not much security concern on a mac and mamp secures itself from prying eyes anyway.
Also with every drupal install, I modify the permissions starting from the root folder on down and give myself ownership, drupal files permissions are flakey, so by doing this, I make sure I have ownership on every single file.
enabling permissions for the whole drupal folder
I ran into this problem installing Drupal 6.9 on a Mac, with MAMP running. We did this for the entire drupal folder:
chmod -R 777 drupal
and then the install worked.
------------------------
Liz Henry
liz@bookmaniac.net
How do you run chmod on a local installation?
I have this same problem but I can't figure out how to change permissions on a local installation. Where would I type the chmod command?
Thanks
totally stuck....
I have followed these directions (and the more convoluted versions elsewhere) and keep running into the same problem:
I will go thru step five, then drupal starts its install.
Step 3 of the provided drupal set up is database name, dB user name, dB password.
I set up a database in myPHPadmin. I enter that info and the page just reloads.
To test what happened if it was incorrect info, i entered the wrong info and it brings up a message that the info is incorrect. So i feel safe assuming that i am not messing up my databasename, user name, and password.
(i am using "root" and "root" for my user and password as they were provided by MAMP.)
i'm so new to drupal, php, etc... so if anyone can help, i would be grateful.
best
gjc
Stuck the same way...
Did you ever find an answer to this? I have been stuck on that same install page and cannot figure out a way to get past it. Created new databases, new useres, etc. - Always results in this same condition, exact same thing as you.
>I will go thru step five, then drupal starts its install.
>Step 3 of the provided drupal set up is database name, dB user name, dB password.
> I set up a database in myPHPadmin. I enter that info and the page just reloads.
Edit your settings.php file
You can get around this by editing line 92 in your settings.php file to include your database name, user and password details. This line here:
So if the MySQL user account is 'admin', password is 'secret' and your databasename is 'mywebsite', then the new line would look like
Then hit the 'Please try again' link and the install should continue.
Thanks!
Hey newkid
Thanks and more thanks! That did the trick and within 2 minutes of reading your post I finally have my drupal setup running.
Earned yourself some karma today!
Thanks again,
ed
Wow! After days of
Wow! After days of frustration this worked. Would love to know why this is happening with MAMP and drupal. My first install was great, then I had problems and tried to reinstall....everytime i entered username and password the page just refreshed and did nothing. Now, after changing that one line, it just worked! Thanks Mistresskim.
How I fixed the problem
It was constantly either refreshing or telling me I didnt have access.
First you need to copy and paste your default settings.php (under drupal/sites) change the name of the new file to "settings.php"
Then open the new category (settings) and go to line 92 it should say
$db_url = 'mysql://username:password@localhost/databasename';
where it says username and password change to root root. So it shoudl look like this 'mysql://:root:root@localhost/(whatever your database name is)';
make sure you save it when you exit
afterwards press command I on the settings category (and the default settings category) look on the bottom where it says sharing and permissions make sure you make it so everyone can read and write.
After 5-6 hours yesterday this solved my problem I hope it helps someone else.
Thank you so much
I finally got this thing to work. Eveything else I tried just ended in errors...
This is simple and it WORKS!
Well done.
Keith
Worked great!
Thank you so much... Great instructions. Up & running in minutes!
How well and truly do you rock
Thanks to this clear and simple information, this was so easily completed. I've signed up with drupal.org for the explicit purpose of thanking you. Well done.
what about mode_rewrite
I'm sure MAMP comes with the module mod_rewrite... but somehow drupal does not think it can handle "clean URL's"
has anyone figured that one out?
..eeh simple :)) .httacces
..eeh simple :))
.httacces was omitted in my copy paste to httdocs
so one has just to make sure it is in your web dir...
help, please - installing Drupal 6.3 on MAMP
The Drupal installer requires that you create ./sites/default/settings.php as part of the installation process, and then make it writable. If you are unsure how to grant file permissions, please consult the on-line handbook.
The directory sites/default/files does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually, or ensure that the installer has the permissions to create it automatically. For more information, please see INSTALL.txt or the on-line handbook.
I have 6.3 setup on mamp,
I have 6.3 setup on mamp, works good, even took off the :88888 so I can use it like a normal domain.tld
I put all my files under user/Sites/drupal, then change the document root in mamp, I'm using mamp pro, if you need a copy of it let me know.
Weird - Works, but broke my Mysql Server
Got everything to work, pretty nifty and neat. But for some reason the MAMP start page is no longer working saying it's unable to connect to mysql.
cannot connect to server from MAMP start page
I'm experiencing the same problem and error when trying to open the MAMP start page. It was working just fine, then stopped connecting to mysql. Any ideas on how to resolve this problem would be appreciated.
Same thing
I moved the Drupal files into the root, not a subfolder and Mamp worked fine.
Solved this in a different way
See http://drupal.org/node/459376#comment-1619738
Strange behavior
Clicked the start button on MAMP and I get http://localhost:8888/install.profile=default. Any idea what is wrong? I have tried everything but can find a way to get the startup page to open so i can acces myphpadmin.
Try
Edited, misunderstood request.
Help, installing Drupal 6.13 on MAMP, can't get past DB Config
I am using Tom Gellers install tut on Lynda.com and for some reason I can not get past the database configuration.
I am entering "drupal" as the database name
"root" for Database username
"root" for Database password
clicking save and the page continues to refresh with empty fields!?
I believe I have read and tried all the suggestions in this post with no luck :(
Anyone know of any special issues with drupal 6.13?
many thanks in advance
Two things to try
No issues with d 6.13 as far as I know. Just so u know most of us get tripped up at the DB configuration step.
1) did you create your database and name it? Use phpMyAdmin which you should be able to access from the MAMP setup page.
2) turn Mamp server off
3) then go to the mamp folder and specifcially htdoc/sites/all/default and find the setting.php file. Find the lines that sets the name of the database and insert your name in their. I can't remember the eact way it is configured
4) turn Mamp server back on
5) then go though what you did above. In browser, http://localhost...........
6) do as u did before.
Should work.
MAMP Drupal Login Problem - Solved
I'm just including this here, in case anyone else hits the wall and doesn't intuit the solution immediately.
I got my Drupal site displayed fine on my first MAMP install, but when I logged in, I was moved to my user account page but not given any administration permissions. My hunch was that this is a cookie problem, since the domain is http://localhost:8888 rather than my domain name.
I changed the cookie domain in my settings file to:
$cookie_domain = '.localhost:8888';
and was able to log in.
Bram
--
Bram Moreinis
Greenfield Digital
http://greenfielddigital.com
Would be nice to take all these fixes and document them
Because they aren't mentioned in http://drupal.org/node/66187