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.
Related
I am trying to connect a html form to my sql database using php file and on xampp server,please help me I need to sumbit a project website to my teacher next week.
I have attached the snip of the xamp server if it is of any help.
Its my first time using localhost server.
I have also tried wamp server but non of these method working i have checked other methods here on stack and tried those to but they are not working
I want to send data from my html form to my database using a local host to show to my teacher that my website is working properly.
enter image description here
enter image description here
You can uninstall xampp, and wamp. After that, just install one of them.
I am a web developer and often have to create a copy of a client's site on my own server for dev purposes. Everytime I move a site I get an error, either a blank page or a 500 error.
I followed the steps here: https://codex.wordpress.org/Moving_WordPress
Basically I:
Downloaded my site files.
Exported my database.
Edited the wp-config.php with the new server's MySQL database name, user and
password.
Uploaded the files.
Imported the database on the new server.
Changed the siteurl and home entries in wp_options table to match the new url on my server.
Visited to site to see a 500 error.
This didn't work, so I deleted the wp-config.php file and tried to run the automated install by visiting the site. It accepted the database info (connecting) and when I hit run it said that it was already installed and to clear the database tables to install again. I obviously don't want to do this.
So what am I missing? I haven't gotten this to work in a few months if not years and always end up creating a new WP install and importing all the data from the old site via WordPress' importer. In this case I can't because the old site is broken.
The current site I am trying to get to work is at: http://www.inventivewebdesign.com/cancerhope/.
So I checked the error log files and saw that there was a plugin that wasn't allowing the site to be seen. I removed that plugin via FTP and the site came up just fine.
Thanks Luke P for your input!
So here is what happens when i run xampp by clicking on the manager-osx.
I click on "manager-osx".
Icon jumps in the dock as if it is starting the service.
Asks for admin password. I enter the password.
It accepts the password, and application keep jumping in the docs for 3-4 times.
The app disappear from the dock.
The issue started after i have quit few processes from the activity monitor.
I am not sure what has affected xampp and can't remember what services i have stopped as there were many.
Solution applied so far:
Restarted my MacBook Pro.
Exit all other application and tried to run xampp.
Made sure no other application is running on port 80.
Removed xampp from applications and tried to reinstalled. Same issue with re-installation process, It asks for admin password and then nothing happens.
search online for any help but nothing helpful found.
I haven't got any experience with XAMMP but MAMP works always fine for me. MAMP has everything I need in terms of functionality.
I would recommend MAMP
If MAMP is not the best solution for you. You can install manualy
APACHE + PHP + MYSQL (It's not so hard)
Just go step by step using tutorial like
This
Manual installation will give you much more controll on your enviroment.
And also you will have better output to attach it here if you can't find a problems.
Of course it's little bit longer than 3 clicks. But on all production servers you need to install environment manually. This knowledge you will use later much more times. You will better understand how all is works and how to find reason of bug.(error)
I am currently developing a WordPress project on a Windows machine (XAMPP) with my partner on a Mac (MAMP).
I installed WordPress on my local /htdocs, edited themes etc.
At the end of this all, I exported my WordPress database through PhpMyAdmin for my partner to install the whole project on his machine.
He has the /wordpress folder and imported the SQL with correct database names etc.
But whenever he goes to localhost:8888/wordpress it results in a 404 page not found error.
why?
The problem is, there are a lot of serialized things in the wordpress database, what you can not just find / replace.
I moved from localhost to production a ton of times wordpress sites.
So what you need to do is to:
Dump the database from local
Copy the files to production server
Import the database, but do not open the site in browser!
Download the script from here.
Unzip, and upload this into a wp-replace directory
Go to http://example.com/wp-replace/
Follow the instructions. Replace the olddomain.com to newdomain.com/wordpress (do not use http and trailing slash, add port if needs)
Go to the dashboard, login, and refresh the permalinks.
Done
I've got a Wordpress blog hosted on Linode under Cherokee web server, but the performance has been problematic the last weeks and I'd like to give a chance to Nginx.
So I've made a DB backup of the current site, setup a LEMP platform, installed wordpress, and the "new" wordpress, with no articles (yet) on it works as expected.
But when I restore the mysql database from the current blog, the site shows a blank page. I've copied all the wp-content directory onto the new WordPress directory, and I've tried to disable all the plugins, but nothing changes.
In fact, there's an even more important problem: I can't login with my old admin/pass account, that should be inherited from the old database. In fact when I do a SELECT on the wp_users table, everything seems to be fine (equal to the old installation), but I can't login no matter what I do.
I've even tried to change the admin password with an UPDATE and the MD5 function under mysql, and although the table is updated, the pass does not work either.
So all I get is a restore I can't access
The issue causing the blank page is likely that your old install used a theme other than the default, and since you haven't copied wp-content over, it's looking for a theme that doesn't exist. I find that with importing an installs database, this happens rather than it just reverting to a default theme, as it does when you delete the current theme on an active install.
Something you may consider trying to get around the login problems is doing a WordPress export (Tools -> Export). This will work if you don't have much media attached to your current posts, as it will only copy post contents, and not attachments. Import that export to a fresh WP install on your new platform and both problems should be solved.
Could be a plugin problem; rename your plugin folder to "oldplugins" and see what happens.
Reupload fresh copies of all WO core files/folders, except for wp-config.php and wp-content
Could be a permissions problem; check http://codex.wordpress.org/Changing_File_Permissions
And: did you change DB table prefixes?
I had this problem but eventually successfully restored it by trial and error.
The steps that worked were something like this:
uninstalled wordpress
installed a version that was working before the upgrade
activated same plugins (same version) that were installed before
restored the database
here's where it gets fuzzy, but had login problems and content would show but no theme, and admin login redirected to root site
did this procedure for changing site URL:
http://codex.wordpress.org/Changing_The_Site_URL
don't know why that was necessary but after a few minutes, the links started working. And after having to request a new admin login by email several times throughout the process, I was able to admin login again.