oxynite
Forum Replies Created
-
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Restore LOSES access to wp-adminSolved already. Lets Encrypt didn’t move over w/ the restore, so https wasn’t working… just going to http://… got to WP dashboard.
-Oxy.
Forum: Localhost Installs
In reply to: Fresh Linux Mint 19.2 InstallThanks for that additional info George! I’m working on it! 🙂
Forum: Localhost Installs
In reply to: Fresh Linux Mint 19.2 Install*******SOLUTION********
So I figured it out:
wp-config.php file:
define( ‘DB_HOST’, ‘localhost’ );^M
define( ‘WP_HOME’, ‘http://fredcolclough.com’ );^M
define( ‘WP_SITEURL’, ‘http://fredcolclough.com’ );^M
^MHad to use the complete URL, not just “fc.com”.
Same thing in the wp db:
siteurl
wp_homeCrazy…I figured it was something simple. Thanks for the inputs Gents!
-Oxy.
Forum: Localhost Installs
In reply to: Fresh Linux Mint 19.2 Installcompletely killed wordpress on server… & reintalled…
Now I’m back where I was:
localhost still brings up UBUNTU test pg
localhost ON SERVER opens site correctlyUsing IP or domain on external system: (fredcolclough.com) redirects to 127.0.0.1 and “refused to connect.”
I’ve been through the “Changing the Site URL” document three times, each time with the same result. I’m simply using these steps to install wordpress:
—
cd /var/www/html
wget -c http://ww.wp.xz.cn/latest.tar.gz
tar -xzvf latest.tar.gz
sudo rsync -av wordpress/* /var/www/html/
sudo chown -R www-data:www-data /var/www/html/
sudo chmod -R 755 /var/www/html/
sudo mysql -u root -p
mysql> CREATE DATABASE wordpress;
mysql> GRANT ALL PRIVILEGES ON wordpress.* TO ‘your_username_here’@’wpuser’ IDENTIFIED BY ‘***’;
mysql> FLUSH PRIVILEGES;
mysql> EXIT;sudo mv wp-config-sample.php wp-config.php
sudo vi wp-config.php
**Set as:// ** MySQL settings - You can get this info from your web host ** //^M /** The name of the database for WordPress */^M define( 'DB_NAME', 'wordpress' );^M ^M /** MySQL database username */^M define( 'DB_USER', 'wpuser' );^M ^M /** MySQL database password */^M define( 'DB_PASSWORD', '**' );^M ^M /** MySQL hostname */^M define( 'DB_HOST', 'localhost' );^M—
That’s it. Simple. Thoughts? Thanks in advance!!-Oxy.
Forum: Localhost Installs
In reply to: Fresh Linux Mint 19.2 InstallNow it’s worse than before… can’t get WordPress to come up at all, either at the root /localhost, nor at /localhost/wordpress
I get this lovely error:
There has been a critical error on this website.Learn more about troubleshooting WordPress.
Forum: Localhost Installs
In reply to: Fresh Linux Mint 19.2 InstallRoss: thanks. I checked for that & didn’t find anything.
Having trouble with a new install: it keeps going to /wordpress, and I get the 127.0.0.1 redirect as well.
I’ve been through that document again George and I’m reasonably sure I hit everything, but no change. Grrrrr. I must be missing something.
-Oxy.
Forum: Localhost Installs
In reply to: Fresh Linux Mint 19.2 InstallIf I need to do ALL of those things, I’m better off installing wordpress again, but this time getting it to the root /var/www/html (vs /var/www/html/wordpress).
Do you know where I went awry? I followed the “Installing WordPress on Linux Mint 19” on idroot.
Thanks.
-Oxy.Forum: Localhost Installs
In reply to: Fresh Linux Mint 19.2 InstallHello George,
Thanks so much for the assist here!
Apologies, but I read the beginning, skimmed the rest, and understood it to mean any ‘one’ of the fixes would do the trick.
I’ll go through it again and see if I can hit them all.
-Oxy.
Forum: Localhost Installs
In reply to: Fresh Linux Mint 19.2 InstallThanks for the quick reply!
So I tried Option 1 Fix per the article you sent, which is:
———-
Edit wp-config.php
It is possible to set the site URL manually in the wp-config.php file.Add these two lines to your wp-config.php, where “example.com” is the correct location of your site.
define( ‘WP_HOME’, ‘http://fredcolclough.com’ );
define( ‘WP_SITEURL’, ‘http://fredcolclough.com’ );`
———-
and it FIXED the redirect, but NOT the broken site! See http://fredcolclough.com to see.Thanks
-Oxy.Forum: Localhost Installs
In reply to: Fresh Linux Mint 19.2 InstallSorry for the multiple posts…not sure you can see the forest thru the trees w/ all that config data.
Bottom-iine here: http://localhost on linux box,
Without changing DocumentRoot (stay at/var/www/html vs /var/www/html/worldpress
—> localhost LOADS NOTHING
—> localhost/wordpress DOES WORK WITH PERFECT FORMATTING!
—> all external browsers do a redirect to 127.0.0.1 and get ‘cannot connect’So I try changing DocumentRoot to /var/www/html/wordpress
—> YES: localhost now loads (with no subdir), BUT IT’s MISSING FORMATTING!So…trying to get both back! Needs to load full site at default dir, AND not have the 127.0.0.1 redirect)
Thoughts?
Thanks.
–Oxy.