14
votes
Accepted
How do I set up Craft to send emails from my local MAMP/Virtual Host X dev environment
These days I just use Mandrill.
It's simple to set up, free unless you're sending tens of thousands of emails, and you can continue to use it on any development (or production) machine without any ...
13
votes
All images uploading... except JPG files
I had this same issue and resolved it (at the suggestion of Craft CMS support) by enabling ImageMagick in the php.ini and restarting MAMP PRO.
Per the MAMP PRO 3.0 user guide:
The ImageMagick PHP ...
8
votes
All images uploading... except JPG files
I had the same issue and solved it. This seems to be an issue with the exif lib. Try to disable mbstring overloading by setting
mbstring.func_overload = 0
to your php.ini or
php_admin_value ...
5
votes
Accepted
The requested URL was not found on this server
Try going to yoursite.com/index.php/(pagename). If that works, check out this article on how to remove it: https://craftcms.com/support/remove-index.php
5
votes
Problem uploading JPG in MAMP Pro 4.2 (9213)
I found the answer: in the main window of MAMP Pro there's a sidebar with a sub heading Languages > PHP. When you click that and check the option under Extensions: Imagick / ImageMagick, all my ...
5
votes
Craft install locally with MAMP Pro
When I'm trying to get past my initial errors, here are some of the things I try. This is assuming you have the usual directory setup, with the webroot public on the same level as craft
Create foo....
4
votes
All images uploading... except JPG files
I kept bumping into the same kind of issue. Even when I applied a fix mentioned here or in another topic. After a while the same issue would arise again.
What finally did the trick for me - in MAMP, ...
4
votes
Accepted
Alternatives to Mamp Pro – which works with Craft CMS
I'd highly recommend you check out Laravel Valet.
Here's an article on it that may be useful to you as well: Running Craft CMS 3 on Laravel Valet
4
votes
Issues upgrading Craft 2 to 3 - Keep seeing Install Screen not Update screen
If you've seeing any install screen instead of an update screen, that means that Craft can connect to the database server specified in craft/config/db.php file, but it either can't find the database ...
4
votes
ext-zip trouble
None of various attempts to get ext-zip going under Catalina had worked for me, including the above, but here’s what did, with thanks to Chad for showing the essence of the issue:
“the Craft system ...
3
votes
Accepted
URL drops :8888 from localhost
I would try and put the port in your siteUrl config param:
'siteUrl' => 'http://localhost:8888',
Alternatively you might be able to use this though haven't tested it (I believe the php server ...
3
votes
mkdir(): Permission denied
It's been a while since I was in Craft 2, but I'd suggest checking out this page in the docs:
https://craftcms.com/docs/2.x/folder-structure.html
Do all of the directories mentioned on that page exist ...
2
votes
Localized Craft Build with Vanilla Forums?
If you install a secondary app within your Craft directory, you have to tell Craft to ignore all these requests. Just edit your .htaccess file accordingly.
See my answer here on how you can do this: "...
2
votes
Localized {siteUrl} setting - confused
siteUrl works with an array of locales if you're using the actual siteUrl config setting. What you're currently doing is creating a separate 'siteUrl' environment variable, which places in the ...
2
votes
Craft install locally with MAMP Pro/versioning
Here is how I have set things up in the past using a similar workflow.
When you get Craft out of the box (for lack of better words) as you said there is a craft folder and a public folder. Generally ...
2
votes
Back-up doesn't work in Craft CMS 3 on MAMP locally
I have just run into a similar problem.
I'm not sure if this is what fixed it but try creating an Envvars file as per jonlivingstone's comment here https://github.com/craftcms/cms/issues/2364
Once I ...
2
votes
Accepted
Homestead DB config
Include this if statement at the bottom of your config/db.php file
// If a local config file exists, merge
if (is_array($localConfig = @include(CRAFT_CONFIG_PATH . 'local/db.php')))
{
// does our ...
2
votes
Installing Craft 3 RC on MAMP Pro - Pointing to the file directory
Craft 3 does not come up with templates or default entries like Craft 2 so your templates directory is probably empty. As soon as you create some files there and link them to your entries you won't ...
2
votes
URL drops :8888 from localhost
Are you required to run port 8888? If not, you can set the port to 80 in MAMP and this would resolve the issue. I know this is not really a fix for your problem but it might be a potential work-around....
2
votes
{% block content %} is a no-go in template/subfolders
In this case, it was just human error and ignorance of how hidden template files work through the CMS.
I believed that I should be able to call the hidden file in the browser, via something like "...
2
votes
Accepted
CSS will not load Craft 3 + MAMP
After some searching, I decided to move my src/ folder into the web/ folder, since Craft seems to be looking only there and not at anything above that directory. Then, my CSS links were updated to ...
2
votes
Can't backup DB locally with MAMP PRO 5.5.1
I have run the following on my computer in order to allow Mac OS's terminal to speak to MAMP's MySQL. I have not done the steps outlined in your linked article. Craft's built-in backup tool works fine ...
2
votes
Accepted
Craft 3 on new MAMP Pro 5 installation: "iconv(): Unknown error (22)" problem in /vendor/twig/twig/src/Extension/CoreExtension.php
Per my earlier comment, the convert_encoding filter is causing this, I think only in newer versions of Twig than what my live site running Craft 2 uses.
I guess that probably somewhere in my site ...
1
vote
{% block content %} is a no-go in template/subfolders
It's not a server sided issue you are running into. Best guess is that you deleted some of the original code in either the _layout.html or your new template file. When you first setup the environment ...
1
vote
Accepted
localhost and root directory for multiple site installs
Why not use MAMP Pro to define seperate local url's for your projects? Or use something like Virtual Host X.
This way you can define some made up url like: yourporoject.dev and point that url to the ...
1
vote
Getting stuck in "Oops" on install with MAMP PRO
I am answering this to report that I did get it working and to collect the links describing edits needed in the my.cnf and httpd.conf files in one place.
I got it working earlier today by starting ...
1
vote
Accepted
Front end profile does not save data - form action
The answer is now included in the question. Don't be a dingbat and make sure MAMP or Apache (or whatever webserver you're using) is configured properly.
1
vote
Accessing admin panel after deploying local MAMP
Apparently what I did was correct, because now it works. I had some EE files right next to the index.php files and these messed things up for some reason. Probably the admin.php file.
At least now I ...
1
vote
Localized {siteUrl} setting - confused
So Brad, this:
'pazzo.dev' => array(
'devMode' => true,
'environmentVariables' => array(
'fileSystemPath' => '/Applications/MAMP/htdocs/pazzo/',
),
'siteUrl' => ...
1
vote
oops screen on Mamp Pro install
If Craft can't connect to the database, it will let you know. Some other error is occurring. Check your craft/storage/runtime/logs files for an [error] entry, and that will have the error message ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mamp × 42craft3 × 11
database × 5
mysql × 4
installation × 4
assets × 3
php × 3
config × 3
error-message × 3
url × 2
install × 2
composer × 2
404 × 2
deployment × 2
back-up × 2
plugin-craftcommerce × 1
plugins × 1
localization × 1
entry × 1
emails × 1
admin × 1
routes × 1
craft2 × 1
performance × 1
server × 1