How to add an existing local website to MAMP PRO - mamp

I'm working on several websites locally on my Mac. They all use PHP. Using MAMP PRO I would like to be able to set it up, so that I can see all the websites in browsers on my computer.
In MAMP PRO I have clicked 'Add Host'. Then named the site (I presume this can be anything?). Then chosen the existing website folder as the 'Document Root' and saved the new host. But when I click 'Open' I get the following message:
Safari can't find the server. Safari can't open the page "https://www.lastveneer:8888" because Safari can't find the server "www.lastveneer". (lastveneer was the name I gave it)
How do I add an existing website to MAMP PRO?

Related

MAMP Pro (MacOS) host can't connect using https.. "Error code: SEC_ERROR_UNKNOWN_ISSUER "

I am trying to configure one localhost using MAMP Pro (6.x) on MacOS. The SSL checkbox is also yes but when I load the site, it shows "Error code: SEC_ERROR_UNKNOWN_ISSUER" in the Firefox and same error in console of Chrome.
Attached are the error screenshots from Chrome, Firefox and localhost settings from MAMP Pro.
Stack info
MAMP Pro 6.x.
Mac OS Monterey
WordPress (siturl and homeurl in DB are using https. wp-config.php forcing https too)
hostname: movecn.dev
What I tried till now?
Tried Self-signed certificate
Tried ports (80, 443, 8890)
I figured it after spending hours and hours. MAMP / MAMP pro creates "MAMP_PRO_Root_CA" which suppose to be added and trusted in MACos keychain. It will be used to sign all the future/custom SSL certs.
In my case, "MAMP_PRO_Root_CA" was already added in the keychain but it was not trusted by the system. Steps to resolve.
Open Keychain Access and click "System Root" left side
Click "Certificates" on the top and then search for "MAMP_PRO_Root_CA" select and click "Get info"
In Trust section/dropdown, choose "always trust"
close it. (It may ask for your password etc)
Close and restart your browser.

Prestashop admin page open on IE and reloads on Chrome

I just installed a new theme working on Prestashop 1.7.4.2 using the quickstart installation in order to get the demo content. After a succesful installation, the admin page didn't want to connect on chrome, it only reloads the same page when i log in. But it works fine on Internet Explorer and also on my phone.
PhP version is 7.3, can anyone please elaborate on this?
Thanks

Installing a Windows Mobile application on a Windows CE device

A client has asked us to "revive" an old Windows Mobile application that is used by their receiving department.
At some point they wrote a custom Windows Mobile 6 app for Windows CE devices (a Motorola MC55A to be specific).
They have a project in place to replace this app - but it won't happen for a bit and they want to install the custom app on some newly refurbished devices they found as an interim solution.
I found the source code for the application. It even contains an installer project that generates the CAB files.
What I do not know how to do is get the compiled app and installer onto the device.
I am using one of their legacy computers to build the app and connect to the device. The computer has Windows Mobile Center installed and when I see the device connected - I the ability to add / remove programs on the device.
Not sure if this is the route I should be going. Ideally I want to put the installer behind a web page and just have each device download the installer to install the app.
This stuff is pretty dated - I am having a hard time on the specifics of deployment.
You can put the CAB file on the device and launch it manually using the file explorer on the device to install the files.
Some industrial devices like Honeywell, Intermec, Motorola, Symbol, Zebra and others support the auto install of cab files, if the files are put in a special folder on the device. For former Intermec Honeywell devices, this folder is called \Flash File Store\CabFiles. If a cab file is placed in this folder, it will be installed on the next reboot.
You may also put a link to the CAB file on a web site and open that web site within the Internet Explorer on the device. The device will ask for the installation, when the file link is tapped. Please note that some web server like IIS by default block CAB files from being loaded! If so, you need to configure the web server to allow cab file downloading.
Many months later, but I wanted to answer this for future reference, when you DEPLOY Solution, Visual Studio (2008 was the last one supporting windows mobile apps) will ask you for a target device or emulator, here you can select the device and it will be installed, there will be no entry in add/remove programs on the device unless you install it via an installation CAB. You must create an "Smart Device Cab Project" and configure it for your solution.

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

Running Appcelerator Titanium (for iPhone) in multiple accounts in mac

I have installed the Titanium Developer 1.2.2 form my login account (on Mac system) and have done one demo project. I was able to see that working in the iPhone simulator. Now if I switch user and login to another account to run Titanium Developer there, it downloads and runs there but I am unable to launch any project there. The SDK Version simply shows as 'loading...'.
As a work around I opened a terminal window and typed sudo abhilash (assuming my login name is 'abhilash') and entered password and launched the Titanium from command line. It opened my instance of titanium and detected the SDK version properly as 4.2 and when I click launch in simulator, it throws the following error
Now how do I make it working for the second user account? I have triend re-installing the xcode and titanium from the second user's account but no success :(
Kindly help!!
It doesn't answer your question specifically but this post was helpful for me in enabling Titanium to be used across different user accounts. I suspect you may have already tried this since I couldn't even get Titanium to open in another user account
http://developer.appcelerator.com/question/21121/titanium-crashing-on-startup-on-mac
the other thing to try is to create a new project in the new users account and then copy the contents of the "Resources" directory into the newly created project. I found this also fixed an issue of opening an old project.