• WordPress “Error establishing Database connection” and straight quotes

    WordPress “Error establishing Database connection” and straight quotes

    We’ve recently migrated our websites from 1and1 hosting to Amazon Web Services (AWS). Our sites are all Wordpress based. There were a couple of snags in the migration…but with all often performed procedures (we are not the first to migrate a Wordpress site!), most could be solved by RTFM  (loosely: read the instructions) and don’t shoot yourself in the foot. One very strange issue came up with the wp-config.php file. For those not initiated into Wordpress configuration, this is the file that tells Wordpress where to find the MySQL DB and what credentials to login with. I had to edit this file to change DB_NAME, DB_USER, DB_PASSWORD and DB_HOST due to the move. I had backed up all of the files down to my laptop (a Mac Book Air) and edited the wp-config.php file with Test Edit. Here is the file after edit. If you can see the problem, you have better eyes than I do. Apparently when I edited the file on my MacBookAir, the default quotes, which are curly vs. straight were used. Linux/PHP apparently do not like these, as, after much gnashing of teeth and investigating, changing them to straight quotes cured my “DB Connection” error. Hopefully this will assist anyone else from too much banging their head against the wall during a migration. The other issue I ran into in migration was “unable to create the folder uploads/2015/11” when posting images for this particular post. This is resolved by going to Settings/Media and correcting the upload folder for the new hosting service. Read more…

  • In Memoriam: Jean Flynn

    In Memoriam: Jean Flynn

    Today we are fondly remembering our friend Jean Flynn who passed away this morning.Wife of JoSara author Robert Flynn, Jean was a noted children’s book author (a list of her works and letters can be found here). Her influence can be found in all of Bob’s books as editor and advisor. She was an amazing woman, and a family friend to my wife and I. I first met Bob in 1981 at Trinity University, and met Jean shortly thereafter. My wife met Bob first, and did not meet Jean for a while. As an introduction, I had her read this story. It suits them both well, showing their love of travel, their wit and their boundless love for life and each other. From Growing Up A Sullen Baptist and Other Lies by Robert Flynn (I wish it was published by JoSara, but published by University of North Texas Press). Enduring Love by Jean and Robert Flynn Jean Flynn We have been told numerous times that our marriage should have failed. We are opposites. We view things differently. Robert is a romantic. I am a realist. When two people are so different one always has to compromise. I compromised on a wedding anniversary trip. We gave ourselves a five week trip to Alaska for our fortieth wedding anniversary. Our first adventure was to backpack the Chilkoot Trail, the site of the Klondike Gold Rush. I had envisioned wine by a campfire, the smells of food cooking, and sleeping bags zipped together under the stars By the time I had finished packing my thirty-five pound backpack, I had drunk all the wine and we had settled on freeze-dried food. Our fire was a pork ‘n beans can over a Sterno. It was June, there was still snow and ice everywhere. We were both layered with clothes, the outer garment was waterproof – Bob’s was Goretext, mine was Wal-Mart. The only things I took off at night were my wet socks and rain suit. There were no stars because it never got dark and every time I went to sleep, I was startled awake by Bob blowing the bear whistle in my ear. The third day of our hike, we climbed the Chilkoot Pass, seven miles at a 45 degree angle from the base to the summit. I don’t remember how long it took us because it is an outdoor museum. Read more…