Is there any way to fully and manually install Wordpress via a script / CLI?
I've tried to configure wp-config.php to do it, but I can't seem to be able to pass the language selection page.
I've tried to manually download the language package and add a line to the config file, as follows (assume sudo where needed, as well as the correct path to everything):
wget https://downloads.wordpress.org/translation/core/5.5.1/en_GB.zip
unzip wordpress-5.5.1-en_GB.zip
sed -i $'That's all, stop editing! Happy publishing./idefine('WPLANG', 'en_GB');
As for the following steps, below in images, any idea as to how I can achieve a full installation or where could I find more information regarding my problem?
This server is running on a VM (VirtualBox), powered by CentOS 8.
Images of the necessary steps in the browser:
Yep, the nifty: wp cli, from here: https://wp-cli.org/
wp core download
wp config create --dbname=YOURDBNAME --dbuser=YOURDBUSER --dbpass=DBPASS
wp core install --url=http://www.example.com --title='My WP Site' --admin_user=ADMINUSERNAME --admin_password=CLEARTEXTPASS --admin_email=ADMINEMAIL --skip-email
And you are done :)
WP loading calls is_blog_installed() which checks a number of things and decides whether to show the install screens.
From the looks of it, you must set the siteurl in wp_options table to load the site instead of the installer
This could be relevant as well: https://wordpress.org/support/article/automated-installation/
I got an error after installing the extension pack using composer (Magento blogs), everything is perfect but after running, my website is like this :
admin page
fontend page
Any help would be greatly appreciated.
Firstly you need to check permissions for this module files.
Other solution: try to disable Magefan_Blog with php bin/magento module:disable Magefan_Blog if the site will come back the problem in that module and you will know where the issue.
Running an instance of Bitnami Wordpress on AWS Lightsail. Getting the following screen when trying to activate a Wordpress theme (JobCareer):
UPDATE #1 Turned on debug and saw the error information in the above screenshot.
Other themes and plugins I have tested all installed and activate without issue, so it's probably something specific to this theme.
I have made sure that define('FS_METHOD','direct'); is set inside wp-config.php file.
The wp-content folder and sub-folders/files are all chown to bitnami user and have the appropriate permissions (folder:755 & files:644).
At a loss as to what else to try. Thanks for any help you can provide! :)
It's definitely a files & directories permission issue. Move the define('FS_METHOD','direct'); line back to where it was (that change is causing a different error).
The 'www-data' user is the default user for Apache (and other HTTP servers?), in case you didn't know.
I clicked on the 'Update WordPress' link in the admin dashboard of my WordPress site, and I am getting this error:
"The file 'wp-config.php' already exists. If you need to reset any of the
configuration items in this file, please delete it first. You may try installing now."
When I try to click the "installing now" link, it seems that WordPress is installing fresh. I want to keep all of the content of my WordPress installation.
I have tried to change the name of the wp-config.php file but that didn't do anything.
Is just a browser cache.
On first URL load, you are redirected from domain.ext to domain.ext/wp-admin/setup-config.php
If you are on Chrome, just open the developers console, go to "Network" tab. Reload the page and right click anywhere in the console, and hit "Clear browser cache".
Now refresh again and you will see your website
I ran into this same issue while I was transferring a site. The issue ended up being with the .htaccess file. I fixed it by resetting my permalinks. There may be other causes to this issue but this worked for me:
Click on General => Permalinks
Click Save Changes (to reset permalinks)
Try to display the website first on the incognito tab. If it works correctly, clear the browser cache.
Once the page refresh has been completed, the website will appear.
You can use the following shortcuts to clear the browser cache.
Windows: Ctrl + F5
Mac OS: CMD + Shift + R
This usually happens when you use an old version of Wordpress files or old database, and you use partly new files of Wordpress.
All you need to do is to delete all WP files and install a fresh Wordpress (new files unzipped from a new version of Wordpress) and use an empty database.
If you're planning to migrate or move from another website, you should use the export/import function built in wordpress.
he file wp-config.php already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now.
Answer:- Please Clear Your browser's cache.
Did I miss the party?
Today I have a problem like what you experienced 5 years ago. The solution is: Remove all caching plugins (Cloudflare, Jetpack, Litespeed).
Maybe you could try to delete 'wp-config.php' file, or take a backup of this file in different folder and then try again.
If you are using bluehost and did not do the one click install :
I solved this problem by deleting the default error pages 404.php 500.php etc...
I do not know why exactly this was causing this issue... Sorry for the sloppy answer but tried clearing cache and recreating the .htaccess file it didn't work.
I removed the added spaces that the Wordpress's own web 'easy installer' created in the wp-config.php file to help me out.
Guess the Wordpress's own wp-config.php ?checker? isn't compatible with Wordpress's own installer. Wow.
Once the added spaces were removed, site comes up fine. I simply modeled the spacing that is in the wp-config-sample.php file.
Because you just installed wp.
Just hit ctrl+F5 done!!!
More likely it is cache issue and this error comes when we try to install one Wordpress inside of another sub folder of the cpanel in the same Wordpress installation and it will be mostly resolved when you try to check it in the private window or another browser
For me it was file permission set to 666 changing it to 664 worked.
If someone is still for a solution.
This happened to me on an existing site while trying to update.
the problem was following line in wp-config.php near the end.
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-admin/setup-config.php');
Removing this fixed the problem.
Hope this helps.
RESOLVED: I had the same problem. post hack situation on other account, shared hosting and server NUKED. Luckily I had the backup files from one of the WP plugins but the main page didnt load, I could only go to 404 and from there to other pages but not main page, the error was wp-config eists...install...blah blah blah.....so I tried everything, multiple re-installs, changed the wp_prefix as per previous install on the fresh install and nothing helped, even ordered paid support from the backup plugin developer as I was sure that it fooked because I had Opencart also installed there but the backup was intended for WP only, my web developer also did something, perhaps removed the OC bits from DB, but thank god i managed to resolve it on my own(and justhost),. so I contacted the justhost for the SECOND TIME and they told me that the account is on VARNISH i.e. some sort of automated cache limit, so I told them to take it off and they wanted to know what have I done to reduce the LOAD to the server, so I told this and that and two seconds later everything loaded perfectly. took me about 20 hours to get main page loading, plus probably it will take 10 hours for fine tuning of the site. anyway if you contact jour host make sure you ask them if they are not blocking cahce as the first time I got in contact they couldnt help me.
I also meet with same error and Mr Pierre R is right its just a cache. Just clear your cache or check in private window. All fine.
if someone have still this error..
goto->admin->setup.php (delete this file error will be solve)
hope this will help.
Hi I have a complete fresh build and fresh database from the production website and loaded everything in to MAMP but some of the extensions I can see on production not showing up in my local I tried permissions and .htaccess file but nothing Emptied cache as well re installed new etc
I usually do a GIT pull from production to get the latest and the database is also newly imported
If the files are "showing up" in the folder structure but the extensions are not appearing in the site. Make sure that
there is an appropriate file inside app/etc/modules for each extension
the module is set to "enable" inside the admin (System->Configuration->Advanced->Advanced).
if the module is an admin module you may have to log out and log back in again.
Agree with Alan though, would help if you were more specific with regards to "not showing up" - this is just general advice.
Seems I fixed it I deleted all database entries for the extensions which I had issues with then enabled the extension in etc/module and empty cache