sed -i 's/OLDDATABASENAME/NEWDBNAME/g' mysqldumpFile.sql
Then run:
mysql -p create NEWDBNAME; use NEWDBNAME; SOURCE /path/to/sql/fileNo need for a semicolon on the last line. Then check the success by:
show tables;
Websites and SEO
sed -i 's/OLDDATABASENAME/NEWDBNAME/g' mysqldumpFile.sql
Then run:
mysql -p create NEWDBNAME; use NEWDBNAME; SOURCE /path/to/sql/fileNo need for a semicolon on the last line. Then check the success by:
show tables;
vim /etc/gai.confand uncommenting the following line:
Then a reboot. Voila, the contact form worked properly again.precedence ::ffff:0:0/96 100
cd /path/to/owncloud sudo -u webserveruser php occ user:resetpassword adminaccountnameIn our case the command was:
cd /var/www/cloud sudo -u www-data php occ user:resetpassword adminIt should prompt you for your password twice:
yourwebsiteurl.com/wp-admin/Enter your username and password and you should be directed to your WordPress dashboard. First, we’ll upload some images to go with the products you’re adding today. On the left you will see Media:
curl -I URL.goes.hereThat should return a bunch of information, but the important bit is:
X-Proxy-Cache: MISSWell, in this case it’s not working. If it’s working you’ll see a HIT there.
https://www.drupal.org/node/2597506Edit the following file – the “core” directory should be in your Drupal 8 root directory:
[drupal root]/core/lib/Drupal/Core/Annotation/Translation.phpBefore the final }, add the following text:
public function __toString() {
return $this->translation->__toString();
}
Now try placing a block again and it should work. Please note that until this change is added to the Drupal code this is probably going to revert when you upgrade Drupal. sudo apt-get install software-properties-common python-software-propertiesThen re-run the apt-add-repository command and it should work!
<img src=”image.jpg” align=”center” />…to create this:
<figure> <img src=”image.jpg” align=”center”/> <figcaption><center>Caption goes here</center></figcaption> </figure>