You are here

egbert's blog

Only the front page works with Drupal

Submitted by egbert on Mon, 12/31/2018 - 07:26

I copied over an instance of my Drupal 7 installation to a local Debian server for testing. I then exported the original database from the source server and imported it with phpMyAdmin on the new server.

I edited the /sites/default/settings.php file to reflect the new database settings.

I could load the front page but got errors on all other pages.

Pihole update error

Submitted by egbert on Mon, 11/27/2017 - 07:56

Foutcode tijdens pihole -up op mijn raspberry pi met pihole installatie:
Resetting repo in /var/www/html/admin...!!! Unable to reset /var/www/html/admin, unable to continue.

Na veel zoeken vond ik deze oplossing:
curl -L | bash

Nu werkt het weer goed

bron: Pihole forum

Bestanden met een bepaalde extensie kopiëren uit alle subdirectories

Submitted by egbert on Fri, 05/05/2017 - 15:54
 find . -name \*.jpg -exec cp -apv {} ~/Doeldirectory/ \;

-a structuur en attributen
-p modification time, access time, file flags, file mode, user ID, and group ID, as allowed by permissions. Access Control Lists (ACLs) and Extended Attributes (EAs), including resource forks, will also be preserved.
-v verbose - Laat zien wat er gebeurt