Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mamp]

Use it for the Mac OSX/Apache/MySQL/PHP) technology stack.

-1
votes
2answers
568 views

Composer not working all of a sudden with MAMP v3.5

For a couple of days now I have trouble using composer. It keeps throwing these errors when downloading a new package, yet a few weeks ago I used composer without a problem. I have not upgraded ...
0
votes
0answers
116 views

Import Drupal 8 Database in MAMP using PHP Myadmin

I'm trying to import a drupal 8 database to my local MAMP server via phpmyadmin. I have a 1.4MB database.sql.gz file (cache emptied, it doens't matter what database export of drupal 8 I use by the ...
1
vote
3answers
668 views

Drush 8 database connection issue

I'm having trouble connecting to my databases. It worked a few days ago but can't seem to figure why it doesn't work now. It's a D8-site. Drush version is 8.1.12. I've double-checked both the alias-...
0
votes
0answers
90 views

Issue with site local Drush and MAMP [duplicate]

Im trying to set up Drush 8 with MAMP Pro. Short version: Ive got Drush working so that when I cd to my project root and enter a command like vendor/bin/drush en ban it works fine. Ive followed ...
0
votes
2answers
396 views

How to resolve the problems encountered when moving from local to server? [closed]

Which things do we need to be aware of and change when moving a site (in Drupal 8) from a local environment to a server? In Drupal 7 I would just copy the files, change the database settings in ...
1
vote
1answer
88 views

$base_url variable in settings.php is not being read. How do i set this variable?

On my laptop I recently moved my Drupal sites from Acquia Dev Desktop server to a standard MAMP setup. Problem is the root dir folder isn't being read. The root dir folder name would be, by default ...
1
vote
0answers
63 views

Transferred website not referencing images files correctly

I recently copied some Drupal websites from a local Acquia Dev Desktop web server to a local MAMP web server. Curiously the sites work except the graphics are not loading. i.e., stylesheets load, ...
1
vote
1answer
1k views

Why do I get a Drupal\Core\DependencyInjection\ContainerNotInitializedException exception error?

I am using Drupal 8.1.3, Drush 8.1.7, and PHP 5.6.2 on a Mac OS X. I've installed a fresh Drupal 8 site demo from Zircon on a local MAMP stack. When I try to run watchdog show, and some other ...
0
votes
1answer
35 views

Local Drupal installation can't copy files to another computer on network

I want to use file_copy to copy a file from Drupal public directory to a shared folder of another computer on the same network. I can access the shared folder by Finder (Drupal is installed on ...
1
vote
1answer
91 views

Rebuild in Features tripping HTTP 500 Error

I am trying to rebuild some features in Drupal 7.37 in preparation for migration and upgrade on a local dev environment using MAMP but I get an HTTP 500 error when attempting to view overrides. ...
1
vote
1answer
140 views

How can i install Drush 8 for my MAMP configuration only?

For my Drupal 7 websites I’m using the Acquia DevDesktop with Drush version 7, which I still need of course. But for my Drupal 8 sites I’m using MAMP and have yet to install Drush 8. How can this be ...
1
vote
2answers
448 views

Drush db connection issues after upgrading to MAMP 4?

Upgraded to MAMP 4 yesterday and cannot get Drush to connect for the life of me. I believe I had a similar problem with MAMP 3, but the following fixed the issue. No luck this time. sudo mkdir /var/...
1
vote
2answers
53 views

Internal links no longer working. Getting MAMP virtual host info instead

My local site is running Drupal 7.43 using MAMP on Mac OS X 10.10.5. The site was running fine until recently, when all of the links on the front page were no longer working correctly. Each link now ...
2
votes
1answer
2k views

Install Drupal 8 on MAMP: can't detect version of Apache

I'm trying to install Drupal 8 on my mac using MAMP Pro. I get this error message when Drupal tries to verify I have the proper configuration: Apache Version: Due to the settings for ServerTokens in ...
0
votes
0answers
71 views

On localhost my Drupal website doesn't connect to my new cloned database

I have a drupal site that works perfectly on localhost but I want to connect it to a new database (which is a clone from the previous one). Therefore, I have: 1. Cloned the database 2. Changed the ...
3
votes
2answers
4k views

MAMP Pro with PHP 7 OPcode caching

I installed Drupal 8 on MAMP Pro with PHP 7. I am getting this warning in my Drupal reports page: PHP OPcode caching Not enabled PHP OPcode caching can improve your site's performance ...
0
votes
1answer
42 views

cloning a live drupal website (db) to a local / working mamp version [duplicate]

I have a drupal multi-site project, that I've inherited. I am stuck on the process of trying to clone or import the database from a live server to the local enviroment. Does anyone have any ...
0
votes
0answers
16 views

need to clear fire cc all 2 times to get cache cleared

On my Mac I need to cc all 2 times to get cache cleared. The first try end up after a few seconds with no message and cache isn't cleared. The second try need some more time and I get the "success" ...
4
votes
2answers
2k views

Where does drush look for the path of the mysql socket (on MAMP)? [closed]

After upgrading from drush 6.5.0 to 8.0.1-dev through brew, the drush terminal command returns the popular 'PDOException: SQLSTATE[HY000] [2002]' error. The only way to make it work is to add the ...
1
vote
0answers
20 views

Localhost > Subdomain Server Upload > WSOD [duplicate]

I've just completed uploading my databases and site from localhost to the server (destination is a subdomain hosted on bluehost). So far I have: Created a new mySQL db; uploaded the old db into it. ...
0
votes
1answer
4k views

localhost runs site extremely slow [closed]

I have a Windows 7 computer running MAMP and it works fine, although still a little slow. I have been working on a Druapl site for a few months now and normal page load times are around 3 seconds. I ...
0
votes
0answers
552 views

Styled images not created

SOLVED - the location where I copied the project was forcing permissions that didn't allow Drupal to work with. I changed the location and everything worked fine. Thanks everyone for the answers. I'...
0
votes
1answer
331 views

Can't use drush site-install to drop tables and reinstall in MAMP

I have a local multisite instance running MAMP 3.0.7.3, and I can't use the drush site-install command to do a re-install of one of my sites without actually dropping the database first. If I try the ...
6
votes
1answer
6k views

PDOException: SQLSTATE[HY000] [2002] No such file or directory in _registry_check_code() [duplicate]

Drush is running on MAMP, PHP 5.6.6. Inside /Volumes/Doxy/htdocs/omegadoen/sites/all/themes/omega I run: drush omega-wizard I get: Additional uncaught exception thrown while handling ...
7
votes
0answers
6k views

Drush : Missing $settings['hash_salt'] in settings.php [closed]

I just setup a new Drupal environment with Mamp. I can access my website just fine, but whenever I want to run drush cr I get the following error : exception 'RuntimeException' with message 'Missing $...
1
vote
1answer
659 views

Can I change the path to Drush?

I am trying to use omega-wizard but I think I am using the wrong version of Drush. I want to use the drush the is in Acquia Dev Desktop but when i type which drush I get the one that was last ...
0
votes
1answer
105 views

Views url paths not using proper url on localhost

When running site on localhost and using field rewrite I construct a link like this for example <a href="/[uid]/addresses/shipping/default/[profile_id_1]">Set as default</a> I get a path ...
1
vote
1answer
78 views

Two different sites - two Drupal 7 installations - no database or core sharing - MAMP

I've finished configuring a Drupal site using localhost (Mamp) but I have to wait some weeks until it gets uploaded to external host. Now in the meantime I'd like to start developing another site ...
0
votes
1answer
401 views

Drush error on Mac

I installed Drush using Composer globally but when I try to clear the cache I get the following: No Drupal site found, only 'drush' cache was cleared. [warning] 'all' cache was ...
0
votes
3answers
1k views

Drush MAMP not working

I'm running with a big problem for hours now and it's driving me crazy, maybe one of you already know the answer. Drush seems to not want to work on my OSX (10.8.5) with MAMP (3.0.5). When I execute $...
10
votes
6answers
6k views

Drush installed and running; No Drupal site found even with uri specified

After much trial and tribulation, I thought I had drush all ready to roar. Much excitement. But then, no joy... Drush is working. The sites operate fine via MAMP. Regardless, a "drush cc all" command ...
1
vote
2answers
1k views

Drush archive-restore not restoring database nor giving error

I have a Drupal 7 site and database in an archive created via Drush. I'm trying to restore it with Drush on a Mac running MAMP. When I tell it to restore the site it says "[ok]" afterwards and the ...
0
votes
2answers
40 views

Can 1 database serve both a 6 and 7 drupal install on localhost

I have a Drupal 6 live site backed up to my localhost and I want to transition the localhost version to 7 before uploading to become the live site. In my mind the ideal process would be to have a ...
0
votes
1answer
174 views

Module not found during installation

I am creating an install profile that requires, among other things, a slew of Features. Because of the intricacies of the project, which is a multi-site, I have in sites/mysite.com/modules/...
0
votes
3answers
263 views

Cannot setup Drupal anymore

Ever since I switched to a brand new retina MacBook Pro, I'm not able to setup a new Drupal installation anymore... I use MAMP and I configure my vhosts.conf so I can work on virtual hosts (like dev....
2
votes
7answers
6k views

Drush does not work on my Mac [duplicate]

I use MAMP on Mac. When I try to use drush en omega command on drupal root directory to install omega, But the terminal throw me an error: drupal-7.23 tangmonk $ drush en omega Command pm-enable ...
2
votes
0answers
325 views

drush sup Gives “needs a higher bootstrap level” from within document root

I'm trying to upgrade a Drupal 6 site to Drupal 7. I do: cd /path/to/sites/drupal6-site drush sup However I get the errors: Command site-upgrade needs a higher bootstrap level to run - you will ...
1
vote
1answer
1k views

MAMP Pro and Drush mem exhaustion [closed]

I have mamp 6.0 installed. When trying to drush up and confirming "yes", I get: PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in /Users/me/...
0
votes
0answers
260 views

MAMP multi-installs of Drupal, can't login

I know this is probably something super simple, but it's one of those days... I have MAMP set up on my computer so that I can have several local Drupal installs. I have one in a folder called d7 and ...
0
votes
2answers
49 views

What items in the DB do I need to edit when switching from a multisite to a single site? [closed]

I've copied a single site from a live multisite setup to my local (MAMP) server. The content is showing from the site however it is unstyled (and also the home page is showing the 404 page). I assume ...
1
vote
1answer
508 views

Porting a multi-site setup to local (MAMP) server

There seems to be plenty of tutorials about setting up a local multi-site installation, however, I cannot seem to find any information about porting a live multi-site to a local environment. ...
1
vote
1answer
223 views

Remove folder from basepath of urls?

I have 2 sites locally (in MAMP) both in their own folders. I need both sites to be in the web root which I can change in the MAMP settings each time Im working on a different site. However now I ...
1
vote
1answer
2k views

Cannot find installed ffmpeg

I installed ffmpeg according to the ffmpeg instructions I found on d.o. When I do which ffmpeg it tells me /usr/local/bin/ffmpeg but when I search in Finder for it (installing with MAMP) it tells me ...
1
vote
0answers
239 views

Cannot access configuration pages

Dead configuration link Hi, I am developing a Drupal 7 website with MAMP and everything works ok, except that when I access on some configuration pages, all that appears is a non themed breadcrumd ...
1
vote
2answers
3k views

Error 324 (net::ERR_EMPTY_RESPONSE)

Using Drupal 7 and Clean theme and installed Views module. Everything is worked but now, when click Save in Views get this error: ''Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the ...
4
votes
3answers
6k views

Drush and mysql database (with MAMP) connection problem

I have a problem running some drush methods involving database connection. I run the free version of MAMP. If I run methods like si or pml I get no problems But if I run the drush archive-dump ...
1
vote
0answers
663 views

Restoring a Drupal 7 database breaks Clean URLs

I am using Drupal 7 and the Backup & Migrate module to restore (or import) a drupal install that works fine on a different computer. When I run the import process everything seems to work fine, ...