MAMP PRO and the /private/etc/hosts file - mamp

It turns out that today i started trying MAMP PRO for Postfix SMTP.
But i had and have a nasty problem.
There's no way MAMP PRO 4.2.1 is allowed to overwrite the hosts file, and it needs to, so MAMP PRO doesn't work.
I found no clear answer in the internet and i tried already couple of solutions with no success, like recreating the file, erasing or commenting the 127.0.0.1 localhost line, among others.
Any ideas around? (I never had that problem with MAMP)

I tried Marcos Di Paolo method. I went into /etc/hosts/ and had seen that my hosts file had an extension added onto it (hosts~orig). Take the extension out and your Mamp Pro will work fine so it just says hosts. My Mamp is working 100% now.

Related

MAMP 5.5 Installation failed in Mac OS Catalina

Before upgrading to Mac OS Catalina. MAMP was working fine. After upgrading it to Mac OS Catalina, MAMP 5.5 stopped working. So I decided to uninstall and re-install. But When I tried to install it (fresh), The installation fails. Please somebody guide me to resolve this. Thank You.
This is specific for your pc and we don't have as much info as we would like.
You have to check these settings that thay mention on their docs before installing and follow their guide.
If that seems frustrating, i would suggest to use bitnami mamp that solves issues regarding the enviroments
Too few information to identify the problem, some suggestion you could try
1. Check if the software is fully uninstall, some software often remain some package or config
2. Using another server stack like Wamp, xamp, ampp ...

How do I use MAMP standard on a Mac?

I have tried this 3 or 4 times, but it seems like the only version is MAMP pro, every time I install the .pkg file, it installs MAMP pro, the MAMP standard and pro version seems (according to the docs) to be bundled together with the pro version. The docs say the standard version will work after the demo pro expires but all it does it lock down the entire app.
"This download package for Mac OS X contains the free MAMP and a free 14-day trial of MAMP PRO. MAMP can be used stand-alone without MAMP PRO."
^ Does this "stand-alone" even exist?
I selected customize, and I un-checked the Pro version but it does not do this. Every time I launch the app I have a demo expired error.
MAMP.app (the thing you need) is buried inside of the MAMP/ folder (unlike the pro version) so if you are good at where's waldo, then you won't have any trouble since its in a folder with dozens of other things that all render the same looking on Mac. PC users probably don't have this issue.

Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found

I've read every StackOverflow that I could find on this issue, but I still can't work it out.
I'm trying to deploy an app to actual device (NOT emulator). But I receive the following error when i try to build:
Severity Code Description Project File Line
Error Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '30F105C9-681E-420b-A277-7C086EAD8A4E'.':
SEHException - External component has thrown an exception. App1
and
Severity Code Description Project File Line
Error Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found. App1
It's worth mentioning that I went from Windows 7 to Windows 10. It's also worth mentioning that my computer was missing the IpOverUsbSvc.exe (not just the registry post, but the actual service was missing). Couldn't find any way to get this back so, so my colleague sent over the .exe and the DLLs and I placed it in it's location. And the service is now running and no longer gives any errors. My device is recognized by the PC, it's running Windows 10 Mobile (but I've also tried with a device running Windows 8.1).
Specs on PC:
Windows 10 Pro (Build 10240)
Using Visual Studio 2015
UWP Tools
Any suggestions to fix my nightmare? Thanks!
Steps that helped me. I have windows 10 mobile build 10581 (and now 10586) installed on phone
Turn off Developer mode on your phone.
Deploy app (UWP or SL) by VS2015 -> Error.
Turn on Developer mode on your phone.
Deploy app (UWP or SL) by VS2015 -> Working.
If you change another device or re-connect you must close VS2015, re-launch and do again!
Finally managed to find a solution to this illusive bug.
It seems that if I didn't have the Windows Phone 8.1 Tools installed I couldn't build to an ARM device (not even Windows 10 Mobile).
So my step to solve this was:
Go to Control Panel -> Programs and Features -> Microsoft Visual Studio ... 2015 -> Modify. And then select the Windows Phone 8.1 Tools.
Pretty pissed that one can't get a reasonable error message when things like this is missing.
I had this issue after updating my device to win10 ver:10.0.10581.0. I tried many things but finally after installing latest sdk and emulators i got it working. You may try installing from this page sdk and emulator:
https://dev.windows.com/en-us/downloads/windows-10-developer-preview
Somehow the new emulators were not visible in vs, they got visible after few restarts and then on device debugging started to work.
But one problem still remain from me that vs crashes after ending debug session with device.
desktop-->my computer--> right click--> management--> service--> start the service Windows Phone IP over USB Transport (IpOverUsbSvc) although maybe the starttype is set as automatic
Seems like there are many issues causing the same error message.
This one worked for me Windows Phone deploy Issue
Essentially you need to remove/uninstall the device from Windows. Then after unplugging and plugging back in, the device and drivers are reinstalled.
I tried many of the suggested solutions to no avail.
After changing the USB-C cable from a USB 3.1 port to a USB 2.0 port on my computer, the error goes away. YMMV
I see it is quite an old post...but I still get this problem. In my case, this happened after I deployed to a second phone I had for testing. After that, VS 2017 now only wants to deploy to that phone and not to the other phone no more. If I start another project, the other phone is recognized and deployable to (listed as device under debug).
Restarting system fixes this...
Also, if I add another project as reference (like a background task) to my project, I will loose the ability to select the devices and emulators under debug. VS 2017 simply then seems to deploy to the last device selected...(really no clue what this is). I have not been able to get the selection of emulators and devices back yet on this one. I only will have the "Start" and "Download new emulators" options. I think this has to do with the fact that VS maybe doesn't know the type (like arm/86/64) of the reference project because it is not set (not needed as this defies the purpose of referencing a project for dynamic references and not the compiled device specific file...)
Hope it helps someone ....
I uninstalled the existing version of the app in device and re-ran it and it worked for me
I got that error for a really simple reason...just opened a new solution I downloaded from GitHub, pressed F5, and got it!
I had left my build configuration in the default "Debug - ARM" setting, when I changed to "Debug - x64" it worked fine!
(Just adding another reason for completeness, not likely to affect your case!)
In case it's helpful for others... I got: DEP6701 bootstrapping failed ... access denied.
Thanks to comments here, I only dev-locked then dev-unlocked my phone (was originally dev-unlocked). Totally works now (took some time installing missing frameworks at first). All good.
Thanks
One more thing could be tried.
Uninstall the existing app if any and then deploy from Visual Studio.
Try on another usb port. It worked

Popup ads being display on webpage while running from Xampp

I am using XAMPP version 3.2.1.
Recently I have noticed whenever i run my website from local host, some strange pop up ads are display on the right corner. This is case only for the pages run from xampp directory and not for online websites. I tried uninstalling few programs as well as re-installed chrome. I check my entire directory for any such virus but the problem is still there.
can anyone help?
This could be adware, although it's a slim possibility. Have you tried this procedure with another computer? Do you have ads on your website?
Possible causes to dat could be
Addons installed in the browser so check ur browser addon manager an uninstall any plugin u don't remember installing urself.
Check ur code may be inadvertently u ve dropped an ads code dat does that. So please review ur code

Uninstalling MAMP PRO

I have been using MAMP PRO successfully for over a year. Recently, when I attempted to start MAMP PRO, it would not start. I attempted to "restore" and that did not work. Appsolute tech support suggested to uninstall and install the new version. The MAMP PRO uninstall program did not work. I get the "privileged action failed" error message. I found this solution on "stackoverflow"
Delete the appsolute directory from /Library/Application Support , which contains configuration
files that are created upon MAMP Pro installation
Delete the file hosts.mamp.bak in /etc, which is the MAMP hosts backup file
Delete the MAMP directory from /Applications/MAMP
Open the MAMP Pro Uninstaller, check all five options, and click to uninstall
I followed these instructions except I did not find "hosts.mamp.bak in the /etc folder...the folder was empty (I have since gone back to look again and I can't find the etc folder!). Anyway, I am still unable to run the MAMP PRO uninstaller. I am reluctant to try to install the newest version until this issue is resolved. Any suggestions? I am running OS X 10.8.5.
Okay...for any interested party, I ended up using the following link provided by Appsolute....mamp.info/en/downloads/older-versions The older version is 2.2. I installed it using my original registration number and re-established my database. Everything seems to be working again.