downloaded live server can't be found - json

enter image description here
I have tried to uninstall and reinstall the live server, as well as add it to JSON settings but can't find it anywhere. I really need help!

Related

vs code live server extension not working

I'm trying to run a basic html file with live server extension, when I run it I get the Server is Started notification(as shown in the img below) but then nothing happens
even manually going to port 5500 like "http://127.0.0.1:5500/index.html" I get the following error
Cannot GET /index.html
i tried restarting vs code. uninstalling and reinstalling live server extension also tried uninstalling and reinstalling vs code. i set the default browser in the extension settings and on my computer any other ideas i can try would be appreciated
Thank you
I'm not sure why but changing file names (removed special characters) worked only if i do it manually it still doesn't load the browser automatically though..
This could be the issue I just solved.
VS code was not using the local IP as a host.
Manage > settings > search "use local" or "live server"> check "use local IP as host".
I hope that helps you or your connection needs could be unique and you might want to look at this guide. https://code.visualstudio.com/docs/setup/network

How to fix XAMPP Shell from crashing

So I recently installed XAMPP, following a YouTube guide along the way. I click the start actions for Apache and MySQL and everything was going smooth until when I click the Shell icon on the right side of the command panel and the cmd associated with it just opens for a brief second and immediately closes I kept clicking on it hoping for it to work and nope it still just opens for a brief second and closes.
I kept searching for possible solutions online and still, it doesn't solve the issue. I tried tweaking the config of the Apache and MySQL and it still didn't fix it. I also try reinstalling using different XAMPP versions and still the problem persists. I also tried running it as administrator and issue is still there.
Additionally I'm using Windows 10
If anyone knows a possible fix for this I would greatly appreciate it.
Edit: I screen recorded my XAMPP issue, here's the link to that video : https://youtu.be/h-lM250Pqwc
Same issue on Windows 11
Running xampp-control as administrator did the trick. Source
Some alternative solutions:
Run SFC scan
Edit the registry key to stop CMD from closing
Follow these steps:
Open the xampp folder.
Search for xampp_shell.
Right click it and run it as administrator.
That's it!

MAMP localhost cannot connect

I'm a complete novice at web deving (literally just started yesterday so please explain your answers like you were talking to a 5 year old haha) and I'm setting up MAMP following along the steps on this site: https://skillcrush.com/2015/04/14/install-wordpress-mac/
I followed everything to a tee till I got to step 10. When I search localhost:8888/(insert folder name in my root folder) on my URL bar. I get "cannot connect to server."
I've googled this problem and tried all the solutions I found (here on stack overflow and others) but still nothing works. Can anyone help me?
I'm using macOS Sierra and MAMP ver 4.0.6
Try visiting http://localhost:8888/ and see what happens ... if there is nothing there then there is a problem with your apache configuration. Make sure the apache service was started from within the MAMP app.
if you type the following in your terminal app:
sudo /Applications/MAMP/Library/bin/apachectl restart
it will output any issues or misconfiguration you may have.
Also, if you want you can give PilotKit a try, PilotKit is a
Super-easy local site development app, it launches and creates sites locally with one click, it support Wordpress, Joomla, Drupal and static sites generator plus it comes with a lot of functionalities.
Installation step of wordpress:
Step - 1 : download a wordpress from wordpress website.
Step - 2 : Extract wordpress and move this extracted folder into a MAMP/htdocs folder.
Step - 3 : Next we’ll go into our MAMP start page, PHPMyAdmin, then Databases and create a database (I’ll name it “database”). Go to “localhost:8888/database/installer.php and fill in the following information.
Step - 4 : After selecting “Run Deployment”, on the following page select “Run Update”. At last, we can go to our local website at “localhost:8888/site”!
Some cases that makes your site is not reachable
If you are not sure with port.It's better to check url with open a start page.
Check you server and database working properly by creating simple file.for example.
make sure you have database before install wordpress.If any then goto database and check wp_option table.Cross verify your home_url and site_url.

I can't enter to "localhost:8080/phpmyadmin"

Im trying to enter and it says This site can't be reached: connection refused... also, I made sure that the settings are right on the html files of the modules I am currently using which are apache and mysql. I've read through the web and someone said that I had to stop the apache module or mysql module, already did it, but no luck... any help with this problem?
As far as I know, you are no need to use the port number.
localhost/phpmyadmin
I hope this will work. If you are using a Linux version. please check this thread.
I had similar problem using easyphp with php, mysql and apache and solved it by running as administrator
What are you using as your local server? Have you restarted the services? Does it say your localhost is running properly?

Aptana not copying files to external server

I just set up Aptana and have configured the Apache testing server in the folder C:\Apache\htdocs. When I try to test a simple HTML file I am directed to localhost/myproject/myfile.html but I get a 404 error. Upon inspecting the folder I find it empty. If I put a file in that folder the external server displays it just fine, but Aptana is not loading the files on the testing server when I attempt to run them. Any ideas? I know it's something simple, but I can't seem to figure out the problem.
Thanks,
Rob
The solution I discovered for this seems like a workaround but may be the only way to perform the task. I simply set up the localhost server just as if I was publishing the site to a remote location. Of course, the files don't update automatically when viewed like Dreamweaver does, but it works.
I discovered the best solution to this problem. I discovered I needed to install an FTP server on the local machine. I installed and configured Filezilla server and voila - problem solved. The only tip I'd add is to make sure to set the permissions properly for the folder or you'll run into errors.