Where is the database setup form for WP install in MAMP?

I'm following the instructions on "Installing WordPress Locally on Your Mac With MAMP" and I'm on step 4. The problem I'm having is in this sentence: "Lastly, we've got to run WordPress' famous 5-minute install. Visit your local site (localhost:port or localhost:port/wordpress), and enter the following information into the database setup form: Database Name: wordpresstest User Name (database): root Password (database): root Database Host/server: localhost Table Prefix: wp_ Ok, I have no idea what database setup form the instructions are …
Category: Web

Windows Setup: Error establishing a database connection

I have MySQL 8.0.12, PHP v7.3.2 64Bit and Apache 2.4.38 64Bit installed. In theory I have everything that is needed to run WordPress locally. Through MySQL Workbench, I have tried the Host, Port, User and Password I have set up in wp-config.php and I am able to connect without any problems. For some reason however, when I navigate to my site's wp-admin/install.php I get the following: In my hosts file, I have dev.nativeleaf.co.uk set up to point at 127.0.0.1, along …
Category: Web

Images not displayed when moving site to local

I set up a local environment to customize a friend's WP blog. However almost none of the images are being displayed. The remote site's URL is http://sitename.com and my local virtual host is http://sitename.dev. I have found a couple different cases when the images are not displayed: The src URL looks like this: http://i1.wp.com/sitename.com/wp-content/uploads/xxxxxx and opening this link on the browser shows the image correctly. However there's a srcset attribute with the URL http://i1.wp.com/sitename.dev/wp-content/uploads/xxxxxx and that causes a 504 HTML …
Category: Web

How to properly setup MAMP and XIP

I have a local WordPress install running through MAMP. It's local domain is example.dev I also have the install working with xip.io. It's at example.dev.0.0.0.0.xip.io (0's being my ip address). Right now the only way I seem to be able to get xip.io working is to add define('WP_HOME', 'http://example.dev.0.0.0.0.xip.io'); define('WP_SITEURL', 'http://example.dev.0.0.0.0.xip.io'); to my wp-config.php file. This forces anyone going to example.dev to go to example.dev.0.0.0.0.xip.io The issue is at the office, my computer has a static IP address. At home, …
Category: Web

New installation fatal error in 5.9.3 at edit or create entry

I just make a new download and installation of Wordpress. So far so good until I edit or create a new entry. Remove it works. Notice: Undefined property: WP_REST_Terms_Controller::$sql_clauses in /wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php on line 625 Warning: implode(): Invalid arguments passed in /wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php on line 625 Error en la base de datos de WordPress: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM ORDER BY …
Category: Web

modifying htaccess for localhost with a custom port

I have a live instance of wordpress which I'm attempting to spin up on my local machine using xampp. A brief summary of steps to where I'm currently at: configured xampp to use a custom port (8012) downloaded the latest files and database added the entire public_html file to my new directory ('support') within xampp: C:\xampp\htdocs\support Modified all instances of the live URL to my localhost URL localhost:8012/support in the database Uploaded the database to phpmyadmin updated the wp-config with …
Category: Web

FTP Connection Information after Installation in Cygwin

Under Windows 10 Pro 21H2, Cygwin 3.3.4, Wordpress 5.9.3, PHP 7.3.7, HTTPD 2.4.39, MariaDB 10.1.48, OpenSSH for Windows 8.1p1, after installing Wordpress and accessing the Dashboard, while trying to install a Plugin, a Connection Information web Dialog Box opens (?), asking to enter FTP Credentials, which finally fails under any proven credentials. The wp-config.php was entered with DB_HOST 127.0.0.1:10555. OpenSSH is configured for a Windows user Admin, successfully able to modify the Folder /var/www/html, while connecting SFTP through a FTP …
Category: Web

Cloned site not connecting to database - MAMP

First off, I'm a WordPress noob, so I apologize if there is an easy solution. I'm trying to get a live website working on my local MAMP environment. I've successfully cloned the git repo into the htdocs directory in MAMP. I also also created a database within phpmyadmin called 'landing'. Once the database was created, I imported a fresh copy of the production site's database. After the database was set up, I renamed the wp-config-example.php file to wp-config.php and added …
Category: Web

WP 5-minute Install Error: "Waiting on Localhost..." ---why does this happen?

I installed WordPress on localhost using MAMP many times without a problem. Today WordPress froze halfway through a fresh local install and I don't know why. Thinking something was out of a date, I updated: MAMP to version 4.2 PHP to v7.1 After updating MAMP, I upgraded MySQL (prompted by MAMP after upgrade) WordPress v4.9.1 Double-checked database name spelling matches name in ~/sites directory. Apache Port 80, tried SQL at 3306 and 8889. From here, trying the WP install and …
Category: Web

Installing Theme from uploaded file. Not uploaded theme?

I'm totally new to WordPress, and I'm trying to upload theme from Upload Theme in themes section. While uploading theme it is asking for "FTP server access credentials", but I'm working on localhost and I haven't set any credentials for that. I'm trying to upload Bizgrowth theme which I'm downloaded from https://wordpress.org/themes/bizgrowth/ this site. How can I resolve this?
Category: Web

WordPress fails to install with "Can't Select Database" Error (WAMPServer)

UPDATE: 2020-07-12 I tried installing on Windows 10 64-bit and it failed to install WordPress with the same database error as on Windows 7. That tells me that either there is a bug in WAMPServer 3.2.0 or there is a bug in WordPress 5.4.2. because the issue occurs on both operating systems. ISSUE I'm installing WordPress on WAMP as a local development server, WordPress fails to install, so no config file is created. Can’t select database We were able to …
Category: Web

Failed to connect to FTP Server 127.0.0.1/:21

Tried to install a wordpress plugin on my local machine: To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host. Hostname 127.0.0.1 FTP Username macusername FTP Password macusernamepassword Connection Type Connection Type FTP When I click proceed, I get this: Failed to connect to FTP Server 127.0.0.1/:21 Why doesn’t WordPress work with my FTP data?
Category: Web

Locally restoring a ManageWP full site backup

I am trying to restore a full backup created by ManageWP on my local PC to use the local version for testing. I went through different guides, but I could only get the website into a half-working state. What I did so far: Installed XAMPP, started Apache and MySQL Created a "test" folder in "htdocs" and pasted all of the contents of the ManageWP's zipped backup. Tried to open localhost/test in my browser -> doesn't work, I get "Access denied" …
Category: Web

Outgoing new connection to linked Websites - why?

I host a Wordpress site and wanted to fine-tune my firewall. Therefore I blocked all outgoing NEW connections, except to the wordpress servers for updates. This works fine - but I noticed, as soon as I publich a post with links in it (with <a> tags) my computer wants to connect to the IPs, where these links are hosted. So in my logs I see failed NEW connections to all IPs, to which I link. Despite blocking these, my post …
Category: Web

Wordpress on a local machine redirecting to online url

i've downloaded a wordpress web to my local machine and tried setting it up. the problem: when trying to login, wordpress will always redirect to the online url. the only way i found was changing the siteurl manually in phpmyadmin to my local machine's ip address. is there a better solution? the problem about doing that is that permalinks won't work anymore locally. thanks
Category: Web

No styling on fresh wordpress installation

I want to setup a wordpress page on a raspberry pie in my home (running Arch Linux ARM, nginx for routing). The installation seems to have worked and I can access the wordpress app from my laptop, setup the database and admin login and get the first blog post. Problem is that none of the pages (with exception of the admin dashboard) have any css styling on them. It doesn't matter whether I access the installer via the raspberry's local …
Category: Web

Class 'Jetpack_Options' not found, composer dump-autoload not helping

I am cloning a friends WP installation using mysqldump, rsync and docker to fetch all files and data. When running the site, I get the following error: Fatal error: Uncaught Error: Class 'Jetpack_Options' not found in /var/www/html/wp-content/plugins/jetpack/class.jetpack.php:2154 Stack trace: #0 /var/www/html/wp-content/plugins/jetpack/class.jetpack.php(702): Jetpack::get_option('edit_links_caly...') #1 /var/www/html/wp-content/plugins/jetpack/class.jetpack.php(403): Jetpack->__construct() #2 /var/www/html/wp-content/plugins/jetpack/load-jetpack.php(89): Jetpack::init() #3 /var/www/html/wp-content/plugins/jetpack/jetpack.php(149): require_once('/var/www/html/w...') #4 /var/www/html/wp-settings.php(371): include_once('/var/www/html/w...') #5 /var/www/html/wp-config.php(90): require_once('/var/www/html/w...') #6 /var/www/html/wp-load.php(37): require_once('/var/www/html/w...') #7 /var/www/html/wp-blog-header.php(13): require_once('/var/www/html/w...') #8 /var/www/html/index.php(17): require('/var/www/html/w...') #9 {main} thrown in <b>/var/www/html/wp-content/plugins/jetpack/class.jetpack.php</b> on line 154 The class exists, it is not …
Category: Web

Migrating WordPress + WooCommerce from server to Local

I've been trying fora few day to migrate a WordPress/WooCommerce website from a server (OVH) to local. I've downloaded the latest version of my database from OVH and all the FTP through FileZilla. I'm using MAMP to start the website locally. After following all the instruction from this tutorial : https://www.wpbeginner.com/wp-tutorials/how-to-move-live-wordpress-site-to-local-server/ , when I start the website, it lands on an empty white page... Am I missing something? Thank you
Category: Web

How do I access a remote database with a local MAMP development install?

Okay so I have a wordpress website that I've been developing locally on my netbook. I want to be able to develop it both on my netbook and on my desktop so in order to ease the process and not have to reconfigure stuff each time I switch between the two, I decided to host my database remotely on my website, and then just configure the code for the local install to refer to the same database etc. I've followed …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.