Questions tagged [mamp]

1

votes
0

answer
226

Views

MySQL won't start in MAMP Pro

I've tried killing mysql with sudo killall -9 mysqld as well as setting innodb_force_recovery = 1 in the /tmp/my.cnf (but it gets over written. My log says: 180108 16:03:37 mysqld_safe Logging to '/Applications/MAMP/logs/mysql_error.log'. 180108 16:03:37 mysqld_safe Starting mysqld daemon with datab...
dcp3450
1

votes
1

answer
64

Views

MAMP attempting to connect to production SQL Database - localhost PHP Google App Engine Flexible Not Working

I am hosting a WordPress site on Google App Engine Flexible Environment. I got my local server working with MAMP. Then I needed to add SSL to MAMP so that images on my site would appear in the local environment, and so I could update WordPress and Plugins using these instructions: https://cloud.goog...
bld2104
1

votes
0

answer
341

Views

WordPress Installation Using Mamp: Error establishing a database connection

I am a beginner in WordPress. I have been doing an Udemy course, entitled 'WordPress Theme Development Using Bootstrap' by Brad Hussey. I have installed MAMP. Then I followed all the instructions of the tutorial to create a new database and a new user account via PHPMyAdmin. Then I edit the wp-confi...
john
194

votes
29

answer
166.5k

Views

Laravel 5 – Remove Public from URL

I know this is a very popular question but I haven't been able to find a working solution for Laravel 5. I've been trying to migrate from Codeigniter for a long time, but this convoluted installation process keeps putting me off. I don't want to run a VM, this just seems awkward when switching betwe...
user1537360
1

votes
0

answer
102

Views

ERR_EMPTY_RESPONSE after starting MAMP when enabling xdebug.profiler_aggregate

When I set xdebug.profiler_aggregate=1 then localhost does not work anymore and gives ERR_EMPTY_RESPONSE in Chrome (Safari and Firefox do not work either). Setting back xdebug.profiler_aggregate=0 everything works fine. working php.ini file with xdebug.profiler_aggregate disabled: [xdebug] zend_ext...
Adriaan De Bolle
1

votes
1

answer
347

Views

HTTP Post with Authorization header (CORS) on Wordpress

I can't achieve to POST something using Authorization: Bearer -token- and I hardly suspect my server configuration. I am using MAMP Pro, in a wordpress based server. That server delivers an API (this is not the Rest API wordpress plugin). This API works fine when i'm using Postman. My typical use ca...
Kleioz
1

votes
0

answer
245

Views

MAMP PRO Apache server won't start

After I tried to use Dynamic DNS the Apache server has stopped running. I updated MAMP PRO to the latest version, reset all Templates, check for another http process, but nothing helped. There are no errors in the logs. I made a video of the bug: https://vimeo.com/255845597
Sanya Kuzovlev
1

votes
0

answer
310

Views

Mamp Pro Nginx 502 Bad Gateway in WordPress admin-ajax.php

I've recently migrated a WordPress site: From: Mamp Pro / Apache / PHP 5.6.32 / MySQL 5.5.38 To: Mamp Pro / Nginx / PHP 7.0.14 / MySQL 6.5.38 One issue I've been having is in the WP 'Add New Post' screen, I'm getting a 502 (Bad Gateway) error in the console log coming from wp-admin/admin.ajax.php. D...
Tom
1

votes
0

answer
168

Views

MAMP PRO apache couldn't start - no error logs

Just upgraded Mac OS with the latest Sierra security update and MAMP PRO cannot start apache anymore. I re-installed MAMP PRO but nothing does. Thanks for your help!!
user1732055
1

votes
1

answer
515

Views

Invalid asset name supplied: '(null)'

I am trying to make an iPhone application where you press a button and it streams a video from my mac to the phone via MAMP. When I hit the button the player shows up however the video does not play and I get this error. 2018-03-15 10:19:30.487597-0500 stream[5956:2522500] CredStore - performQuery -...
pillarman38
1

votes
0

answer
40

Views

Sudden loss of DB connection in PHP

I was going to work on a PHP project I regularly work on, but I've encountered a strange error I can't seem to fix. In my project, I connect to a MySQL database using MySqli name 'cms'. I've been regularly using this connection, but suddenly errors are being thrown about it not existing. Here's the...
Stan
1

votes
0

answer
47

Views

mamp virtual host only working with no internet connection

I've setup my own Virtual Host using MAMP (Free) on my MacBook (High Sierra 10.13), and it semi-works, in that it'll correctly redirect to the proper localhost folder when I have no internet connection. However, when I do have a connection, it redirects to a page that says the domain is up for sale....
GROVER.
1

votes
0

answer
36

Views

MAMP mod_rewrite returns 301

I'm having trouble to set up MAMP correctly together with mod_rewrite. My .htaccess looks like this: RewriteEngine On RewriteBase /api/ RewriteRule ^booking/add/?$ booking.php [NC,L] On my Webserver everything is working fine, but running the script locally doesn't work. The response header from MAM...
user3532505
1

votes
1

answer
728

Views

Can't update php.ini on MAMP v4.4.1

I am learning to use wordpress and I'm trying to adjust the php.ini file to adjust the configuration for the minimum server requirements of my template. I am running MAMP 4.4.1 and Wordpress 4.9.4 on MAC osx High Sierra. I have a fresh install of both and would like to update the following: memory_l...
NanoVector
1

votes
0

answer
214

Views

Cannot access Mamp Start Page / Localhost on firefox but can on chrome

As the question states I cannot access the Mamp start page/localhost on firefox anymore, this seems to have come out of the blue as I could a few weeks ago. The url is: 'http://localhost:8888/MAMP/?language=English' This works fine in chrome but not in firefox. The message I get is: 'We can’t conn...
Thomas
1

votes
1

answer
87

Views

Node js can't connect to local database

I have a node js App, and when i try to run the node js using local database (mysql) and i use mamp and the error shown Localhost refuse to connect and log shown TypeError: Cannot read property 'query' of undefined. But when i try running the node js using db in server is fine. app.js var mysql = re...
Ratri
1

votes
0

answer
737

Views

MAMP with php extension intl on osx

I need to setup a project base on CakePhp FW, so I need to enable intl extension. I followed this tutorial , but I always get make: *** [php_intl.lo] Error 1 even though I created symbolic link between MAMP and the directory containing XCode php development headers by using this command (after excu...
user3783161
1

votes
1

answer
232

Views

MAMP Pro Appears to be missing site directory in document root path for site

I have a client site that I need to work on in a local environment. I set the site up on my MAMP Pro server and imported the database, adding the client's user credentials and setting the site URL and homepage to 'http://localhost:8888/client_website'. When I try to login with the URL 'http://local...
Brian Francoeur
1

votes
0

answer
129

Views

MAMP - Got bad request after clicking on Start Servers

After installing MAMP 4.0 for mac. I click on 'Start Servers', then chrome shows a page (http://localhost:8888/MAMP/) with (Bad Request Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit.) The same thing when I click on 'Open WebSta...
Gloria
1

votes
1

answer
49

Views

Wordpress error when installing parent theme

I'm new to web dev: trying to install a custom theme to Wordpress. Running Windows 10 and working on a local server with MAMP. When I went to see my theme, I get the following message: Broken Themes The following themes are installed but incomplete. Name Description mywebsite The parent th...
retinanets
1

votes
0

answer
92

Views

.htaccess <If> statement invalid command when running Mamp Pro and apache 2.4+

I'm running Mamp Pro 4.4.1 with Apache 2.4.28. Anytime I use an 'if' statement in my .htaccess file such as RedirectMatch (.*) http://www.wooga.com$1 results in 'Invalid command 'If', perhaps misspelled or defined by a module not included in the server configuration'. However, setting up a local s...
Johnny Slack
1

votes
0

answer
113

Views

Unable to upload media for WP on fresh install of WP [Local - MAMP]

I am just getting started with locally developing a WP site. I am able to add posts, create pages, add plugins and upload themes on my local version of WP. However, I am facing an issue uploading media. Any time I upload a media file the upload fails and I get the following error 'The uploaded fi...
Frank
1

votes
1

answer
36

Views

Issue accessing local hosted Wordpress site (redirects+other nonsense)

I have ran into quite the issue. I have been developing a website hosted locally with MAMP. I always used localhost:90/wordpress/ to access the website and it was worked up till today. A few hours ago, I began the process of moving the website from local server to an actual domain. Unfortunately, I...
IBeDubya
1

votes
0

answer
41

Views

MAMP 1146 “Table Does Not Exist” Errors

I am seeing this error in MAMP for every table/database I have setup and can't seem to find a solution. When I am in PHPMyAdmin I can see the tables of each database listed but in the Structure tab under Information they all show as having Data of 0B. If I navigate to the relevant folders on my hard...
Don Macarthur
1

votes
0

answer
19

Views

Trying to get this code to pull using MAMP and sequelpro using c#

I am trying to get this code to pull from a sequel pro database using c# and MAMP and I keep getting the following error after I enter the city name that is for sure in the database. I don't understand why it's saying that the connection needs to be valid and open as I have an open script in the cod...
Leo Lyons
1

votes
0

answer
40

Views

Mamp PRO No Owner / Permission trouble on Windows (Running Wordpress)

I have setup multiple hosts and everything was running fine until I wanted to deploy my website. All files uploaded via wordpress failed to transfer. I found out they had no Owner. So even me as a user/admin couldnt open them. I have to use powershell command 'icacls * /reset /t /c /q' to fix the pe...
Martin Ouředník
1

votes
0

answer
76

Views

MAMP Pro 5.0.3 SSL Failure

All sites work fine when SSL is not enabled. Once I enable it, it fails... I installed MAMP Pro 5.0.3 today hoping that might change things. Tried SSL again, got a failure and this message from the log: [Tue Aug 07 16:14:53 2018] [notice] Graceful restart requested, doing restart (48)Address already...
lenny_eiger
1

votes
1

answer
133

Views

Jekyll setup on Github Pages, issues with bundle install

Edit: I am using Mac OS 10.12.3 I've tried using rvm with ruby-2.4.1. Was trying to follow the steps on here: https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/ Here's my logs (when i try bundle install): An error occurred while installing eventmachine (1.2.7), a...
MIN S
1

votes
0

answer
63

Views

Enable SSH2 on MAMP 4.4.1 PHP 7.2.1

I am using php7.2.1 on MAMP 4.4.1 and was trying to enable SSH2 but couldn't succeed. Anyone, who have already configured SSH2 on PHP7.2.1 then please guide me through. Thanks Aziz
1

votes
0

answer
164

Views

Virtual Host with MAMP

I installed Drupal 8 with MAMP. My MAMP preference number for Apache Port : 80 , Nginx Port: 80 and MySQL Port: 8889 In etc/hosts file, I add 127.0.0.1 mmcast.test In httpd.conf file, Listen 80 and uncomment the following line. # Virtual hosts Include /Applications/MAMP/conf/apache/extra...
May Phyu
1

votes
0

answer
368

Views

Creating a localhost version of a secure / https / SSL website

I am trying to copy one of my websites to a localhost MAMP server for further development. I bring you this as I am unable to access the site due to: 'This site can't provide a secure connection localhost sent an invalid response. ERR_SSL_PROTOCOL_ERROR' I have: Copied public_html folder to MAMP. Co...
Jason Is My Name
1

votes
0

answer
15

Views

Unable To connect when uploading bigger files to mysql database using laravel and mamp

I have a problem while uploading files into my apache server, the navigator keeps showing the message the connection was reset. I've tried with little files (100kb), it works just fine, but when I tried 500kb or more files the connection was reset... Here is my php.ini settings for uploads : upload...
Mohammed Chanaa
1

votes
0

answer
500

Views

How to allow CORS with MAMP

I want to allow CORS with MAMP and understood that I need to add Header set Access-Control-Allow-Origin '*' in httpd.conf file but I don't know WHERE exactly. I tried to add the line inside a like Options Indexes FollowSymLinks AllowOverride All Header set Access-Control-Allow-Origin '*' but nothin...
user4406203
1

votes
1

answer
70

Views

Connect MySQL workbench to MAMP using socket/path on windows

i am trying to connect to mysql workbench to MAMP with socket/path on windows 10 my problem : 1 I don't have mysql.sock file 2 I am trying to find a resource to find a solution but i only get OSX solutions which is /Applications/MAMP/tmp/mysql/mysql.sock. I don't have TMP file and my sql.sock Is th...
jiad
1

votes
0

answer
29

Views

Can't get form handling page to pass data into php my admin [duplicate]

This question already has an answer here: How to display errors for my MySQLi query? [duplicate] 3 answers Reference - What does this error mean in PHP? 32 answers I have a simple html form set up with one field 'name' and then submit. I'm trying to be able to input name and hit submit, have it g...
Wes Creations
1

votes
0

answer
84

Views

MAMP PRO 4 on Windows 10 won't Start

I have MAMP PRO 4.0.1 installed on my Windows 10 computer and unfortunately it won't start. When I open MAMP PRO I get the following error message: Error starting services Servers could not be started. Please check server log file for any error messages. I checked the debug.log file and received th...
risingPhoenix1979
1

votes
1

answer
108

Views

MAMP & PHP “SSL operation failed with code 1”

EDIT I’m on the move at the moment, and only have SO on the Stack Exchange app on my iPhone, so there’s some weird formatting with the quotes in the code below - Apologies! I have real ones in the real code :) I’ve been trying to figure this out for two days with some other questions on SO, bu...
FrankieDee
1

votes
0

answer
83

Views

Session Expired Creating a New User

I wanted to create a signup form and hold the session for that current user logged in. It worked perfectly yesterday, and today when I tried to signup a new user it says your session has expired please refresh and try again. I have tried almost every solution but could not solve my problem. Newbie t...
Jamyang Thinley
1

votes
1

answer
33

Views

INSERT scrapy data after check no row insert before

After I learnt to crawling and able to insert data to mysql Insert multiple Scrapy data into mysql I found another problem when I insert several crawling data my data in mysql become big because there are too many redundant data (duplicate data) I tried to make INSERT with WHERE NOT EXIST condition...
Syaifur Rohman
1

votes
0

answer
42

Views

Php installed via bash terminal for windows executes faster than php for windows 10

The bash terminal used was installed using this tutorial. I don't think using a different cli matters for the execution time of php (as there was no difference between git bash and windows cmd) but for the purpose of making a clear distinction, I refer to it as 'executed from bash' (refering to Ubun...
Rummens

View additional questions