Skip to content
scottericpetersen
  • About
    • scott eric petersen
    • curriculum vitae
  • Portfolio
    • Electronic
    • Acoustic
    • Installation
    • Video
    • Program Notes
  • Projects
    • Studio Report: Yale Open Music Initiative
    • Open Music Initiative
    • Synth Jams (OMI)
    • 375 Aural Assaults
    • GitHub
  • Writing
  • Contact
  • Subscribe

Webdev, fix thine own functions.php

By Scott Petersen | August 8, 2019

Okay – 1) I’m no webdev and 2) the title is a bad attempt to change the old “physician, heal thyself!” to fit my purposes. Mea culpa. Mea máxima culpa. Still, here I am with a working login to my WordPress install, previously unreachable. Here’s the story nice and short because zzzzzzzzzzzzzzzz.

A few months ago I realized I could no longer access the back-end for my WordPress install (wp-admin.) The page would load, but nothing was there. A quick look at the source showed two lines of blank space. WHAT DOES IT MEAN?? I got someone at Bluehost to load a different theme which seemed to solve the problem. Changing back it *appeared* that everything was fine, but only on the browser in which I first accessed the wp-admin page. I figured I would make a backup and then, worst-case, delete and reinstall the source. I installed Updraft and was notified that my site was producing “extra white-space” that could complicate the backup/restore process. Interesting! Some searching around the internet (after disabling all plugins, which didn’t help) landed me on a StackExchange thread where someone claimed that removing the extra white-space in, and at the end of, his functions.php file did the trick.

It did. Problem solved. The end.

For good measure, I removed redundant spaces throughout all my .php files (in the theme folder of the site install) as well. I did all of this through the Bluehost cpanel which didn’t require a working login to the site itself.

Lesson learned: pay attention to the formatting of your .php files folks. The real end. You’re welcome.

 

Posted in Miscellany, Tutorial / How-to, Writings and tagged login, php, theme, whitespace, wordpress
← New BeginningsColeoptera A.S. in Memoriam Allan Schindler →

Recent Posts

  • Multichannel Audio Devices and Linux (not a love story)
  • Two SuperCollider FM Synthesis Projects
  • Running A University Linux-based Audio Lab: Part 5 — Nightmares and Light
  • A Flawless Linux Audio Experience…
  • Pipewire and JACK on Arch Linux
  • It’s Worth Learning to do it Yourself

Archives

  • August 2023
  • April 2023
  • January 2023
  • November 2022
  • May 2022
  • March 2022
  • January 2022
  • December 2021
  • August 2021
  • July 2021
  • June 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • May 2020
  • October 2019
  • August 2019
  • July 2016
  • March 2015
  • August 2014
  • March 2014
  • February 2014
  • September 2013
  • June 2013
  • May 2013
  • February 2013
  • December 2012
  • November 2012
  • September 2012
  • July 2012
  • June 2012
  • October 2011
  • September 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • December 2009
  • July 2009
  • June 2009
  • May 2009
  • February 2009
  • January 2009
  • December 2008
  • January 2008
  • November 2007
  • June 2007
  • June 2005

Tags

algorithms arduino Artspace audio avant-garde circuit circuit bending Code computer computer music DIY electronic electronic music electronics El_MuCo feedback feedback loop free frequency frequency modulation FridayNightThing hardware hacking how-to Improvisation interactive KidTunes lab linux Macintosh Apple Classic ii Music musique concrete noise omi open source PC Picture Phone pipewire potentiometer Pure Data stochastic stockhausen supercollider synth synthesis synthesizer update
Copyright ©2023 s c o t t e r i c p e t e r s e n