I want to redesign and optimize my website (currently only a blog). I will be using Local since I cannot use the staging feature of Siteground due to the size of my website (15GB).
I downloaded the backup, set up a test website in Local, and replaced the wp-content folder, wp-config.php, and the sql file with the ones from my backup.
When I opened the Local site, I get a message to enter my database into.
“Welcome to WordPress. Before getting started, you will need to know the following items.
I used the info from my sql file, but I got the following message:
“Error establishing a database connection
This either means that the username and password information in your wp-config. php file is incorrect or that contact with the database server at localhost could not be established. This could mean your host’s database server is down.
How can I solve this issue? Any help would be much appreciated.
Paula
]]>Any help would be appreciated
]]>I have websites running on Godaddy server and their cloned websites, created with Duplicator, running on local PC.
Their data are on;
/var/www/html/website01/
/var/www/html/website02/
/var/www/html/website03/
/var/www/html/website04/
etc.
They are installed on VM of VirtualBox.
Now I have updated/upgraded the websites on Godaddy server. I wonder how to updated/upgraded their cloned websites on local PC?
Whether I have to delete their data and rebuild them?. If NO, please advise what will an easy way?
Thanks in advance.
Regards
]]>I have created a website using LocalWP and everything was fine, but now I’m trying to host it for real and well… I wouldn’t be there if everything was fine.
I have to admit that I’m only a webdesigner, and so have little understanding of databases; but this time everything falls on me, and I’m in a bit over my head.
I didn’t even know that the website files and its database were handled separately by the hoster, for ewample.
I installed duplicator on my wordpress, and it seemed to work. Except when I try to open the site it says “Error while trying to connect to database”. And that’s when my limited knowledge shows. I have tried uploading the package created by duplicator and also the integrated Adminer in Local but it seems they both export non adequate files.
Non of them contain the exptected files (wp_commentmeta, comments, links, etc).
So if someone could explain to me what I need to do to export a correct database to then upload it in myphpadmin, it would be greatly appreciated, thanks !
]]>I downloaded a live site’s files via FTP and created a new database in phpMyAdmin to prepare to create a local version of the live site. However, when I go to localhost/[databasename] I’m not redirected to the WordPress install (as I have been when doing this same thing previously). So I went to www.remarpro.com and downloaded and unzipped the core files and transferred them manually to my local directory. Now I see an index page with a list of files when I go to localhost/[databasename] and there is a guide to how to install. I opened wp-config-sample.php in my text editor and manually entered the database name of the one I’d created (and used “root” for the user and left the pw blank) and saved the filed as wp-config.php in my local directory. But when I go to localhost/[databasename]/wp-admin/install.php, I get an error related to my wp-settings file, which was part of the FTP download in the wp-includes folder. I opened *that* file in my text editor and saw the following:
require( ABSPATH . WPINC . ‘/class-wp-paused-extensions-storage.php’ );
require( ABSPATH . WPINC . ‘/class-wp-fatal-error-handler.php’ );
require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-cookie-service.php’ );
require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-key-service.php’ );
require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-link-service.php’ );
require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-email-service.php’ );
require( ABSPATH . WPINC . ‘/class-wp-recovery-mode.php’ );
require( ABSPATH . WPINC . ‘/error-protection.php’ );
require( ABSPATH . WPINC . ‘/default-constants.php’ );
require_once( ABSPATH . WPINC . ‘/plugin.php’ );
The first require is the one I got an error about, but I suspect that due to the workaround nature of how I even got here that even were I somehow able to correct it, one of the subsequent requirements would fail. Should I simply rip everything out and start over? My biggest question is that I don’t understand why I’m not being directed to the “famous 5 minute install” when I’ve got the site files via FTP in a local directory with the same name as the database I created in phpMyAdmin.
Thank you in advance for reading my novel :-/
]]>Fresh install on a machine that’s never had WordPress installed on it.
I have successfully and painlessly installed WordPress on local and remote machines a couple hundred times the past 20 years. This is the first time I’ve seen this issue: Blank page on Step 2 of the install. No error messages, nothing… just blank white page.
In php.ini I made these changes:
max_execution_time increased to 300
memory_limit increased to 256MB
In wp_config_sample.php I added/changed these lines:
error_reporting(E_ALL); ini_set(‘display_errors’, 1);
define( ‘WP_DEBUG’, true);
define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
No luck. I still don’t even get an error message…??
Tried renaming wp-config-sample.php to wp-config.php, then entered the required information, including the salts, and WordPress throws this at me: “Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file to your WordPress installation.”
I thought WP was able to work with a pre-configured config file?
I have spent almost three hours Googling and trying suggestions from many sources – including here at the WP forums, but nothing is working. Is there ANYTHING else I can try?
Is there anything in my Apache config or MySQL setup that could be doing this?