Language Selection

English French German Italian Portuguese Spanish

Drupal Upgrade

Filed under
Site News

Well, we have the site updated to 4.6.6. It was rough, but we are just about there. I was planning to upgrade to 4.7.x as soon as the modules and bug fixes caught up a little better, but as rough as upgrading Drupal is, it might be a bit longer. Big Grin

You may have noticed I had to take the site offline for several short periods last night for the upgrade. As I said, we are just about there. In fact, the few things that are still broken might have to remain so. The main annoyance is that cache is still broke. I found two fixes suggested on the Drupal site, but neither fixed it for us. This is quite disheartening as my site is slow enough without having to disable cache. If hits pick back up, we may suffer some severe effects.

Another broken element was the 'statistics' page, with I called "Most Popular." It listed a defined number of 'top' stories here on Tuxmachines with their intros. It was my favorite feature. I found a snippet of php code that allows a bulleted list of the top stories and we will have to get by with that. Not as nice, but it's okay - it'll work. It's certainly better than nothing in this area.

Related to the previous is that the included Drupal search was broken. This was distressing as I could see in the logs that the search function was used quite a bit around here. Fortunately I found another module that does an even better job. The only drawback is I had to put it in its own block instead of occupying space in the header. Oh well, the trade off was worth it.

Perhaps related to the above two problems is that the new "track" tab for the stories don't work. It would be a cool feature if it worked. And it would be nice if I could disable that tab since it don't. For anonymous folks (using full path) it just says 'access denied' in the logs and for logged in visitors they get no output and I get a weird error in the logs. (UPDATE: woohoo, fixed this one all by myself. Big Grin )

Also gone is my Older News block. I'm really heartbroke about that, but that was another snippet of code given to me by a kind gent that no longer works with 4.6.6. I've posted for an update, but we have to rely on the kindness of strangers and as such, we may never see this feature returned. One must not only know php code but also how drupal inserts and reads its entries in the database. Needless to say, all above my head. (UPDATE: ok, got this one squared away! Big Grin )

Some quirks that annoy me are the spaces in the Popular Content block and the page numbers at the bottom of front and concurrent pages. Nothing major, just a "looks" thing.

For now, you might see some choices in themes in your account page. If there are no performance hits on the site, I might leave them up. This is one good thing with the upgrade - the themes work well with my logo, header image and layout. Previously I disabled user theme choice because none rendered well except for bluemarine. Now they look fairly good. I might add a couple others that I think are pretty.

Another broken module is the banner ads. I had to put the PCLinuxOS ad back as a link due to this. The results to the average user is the same, however tracking click results are now gone. There are bug reports of a similar nature, but the developer of that module is a volunteer and this isn't a core component of Drupal. However, it still points to how drupal has to go and change the whole database relationship each major version. It makes it difficult for module developers and maintainers to keep up.

The paypal tipjar is broken as well. There was an update to the actual tipjar itself, but the core module it requires doesn't seem to exist for 4.6.x. ...or I've yet to find it. (UPDATE: woohoo, found the module and got it working again.)

I could talk about the nightmare of updating the database. Drupal has an update script that does 95% of the updating which is nice. However I had many tables or columns that need updating, altering, adding etc. Again, my skills are limited there and fortunately I found hints and even exact syntax for some in Drupal's forums. That one major error causing all the problems with search and loggin mentioned above was only reported by two other people and they did not get an answer. Sad

Another good thing is I think the site is a tad faster under 4.6.6. Adding stories is usually faster, I'm not sure how surfing is going. It's hard to judge that from where I'm sitting inside my lan. But without cache, any improvements will be lost if I ever write a story of interest again.

So, all in all, I hate drupal. Big Grin

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

re: Drupal shakedown must be fun

I might have been a bit adventurous in my youth, but I'd just as soon play it safe these days.

I like drupal, the way it looks and the basic functionality after getting it set up. I just don't get why they have to change the coding so dramatically each release that makes upgrading so chancy and difficult.

I don't really hate it, I was just mad at it for a while. Big Grin

----
You talk the talk, but do you waddle the waddle?

More in Tux Machines

today's howtos

Leftovers: Gaming

Android Leftovers

  • 10 Android for Work Features Sure to Appeal to Enterprises
    There's a new enterprise mobile platform for companies that are prepared to invest in Android. Google has introduced its long-awaited mobile device management (MDM) platform Android for Work. Android for Work gives IT departments and companies a more secure way for employees to access corporate data and applications with their Android mobile devices. It's the Android equivalent of platforms such as Apple's own MDM platform and others from Good Technology and BlackBerry. One advantage Android for Work has that all those others don't, however, is that it can be used on more than a billion Android devices that are in users' hands around the world. In other words, it's an MDM system that's destined to be adopted on a massive scale worldwide. But what in Android for Work will make it an effective management tool for the millions of workers who want to not only bring their Android mobile devices to work but use them productively for business? This slide show looks at the features that could make Android for Work an effective MDM platform for enterprises.
  • Android Wear’s biggest update ever takes aim at the Apple Watch
  • Android Wear’s Second Big Update Is Coming: Gestures, WiFi, And Better UI In The Next Few Weeks
    Word around the rumor mill was that Android Wear was about to get a pretty big update — and sure enough, such an update is officially on the way.
  • Android Wear adds WiFi support, always-on apps, emojis
    Google released a major update to Android Wear that adds always-on apps, WiFi support, a wrist-flipping gesture for scrolling, and emoji drawing support. Google just released a major Android 5.1.1 update for its Android Wear smartwatch platform, and considering the huge pre-sales for the Apple Watch, it’s not a moment too soon. Even with a nine month head start over the new Apple Watch, Google’s Android Wear hardware partners sold only 70,000 watches by the end of 2014, according to an early February estimate from Canalys.
  • I’m tired of getting excited about Nokia Android phones, but I can’t help it
    For years, I waited for Nokia to change its mind and start making the gorgeous Android handsets many fans wanted from the company. Instead Nokia steered clear of a path that may have brought it some success, and eventually succumbed to iOS and Android. Yet, Re/code has learned that Nokia is once again working on Android smartphones, something that was previously rumored as well, and I can’t help but get excited all over again.
  • Nokia phones expected in 2016: Android or something else?
    Nokia is planning a return to the smartphone market in 2016, after it sold off its handset business to Microsoft in 2013, sources tell Re/code. The timing is right: Based on the Microsoft deal, Nokia can't sell phones with the Nokia brand until next year.
  • Sony's Android-powered 4K TVs and new soundbars are coming in May
    After first showcasing its 2015 lineup of 4K TVs at CES earlier this year, Sony has now revealed pricing and release dates for most of the sets. All of them run Android TV, which replaces Sony's previous, clunky software for a richer experience deeply tied to Google's own software and third-party streaming apps. Most of Sony's lineup is on the larger side when it comes to display size. Though you'll find a few options available in the 43- to 55-inch range, Sony is putting the most effort into models that will dominate most home theater setups at 65 or 75 inches. It's here you'll find the flagship XBR-75X940C, a $7,999 TV that features full-array local dimming, 4K resolution, and support for HDR video output, which Sony will deliver through a firmware update sometime this summer.
  • Best new Android widgets (April 2015) #2
  • Android Lollipop OS update live for Sprint Spark-driven Samsung Galaxy S4 tri-band LTE users in US: What's new
    After rolling out the Android 5.0 (Lollipop) OS update to Samsung Galaxy Note 3 users who have subscribed to its wireless network services in the US, Sprint is now seeding the much expected OS update to Galaxy S4 owners using its Sprint Spark service in the country.
  • Android 5.1.1 Lollipop almost ready for Nexus 9, WiFi Nexus 7
    You may be excited that your device is finally getting the Android 5.0 Lollipop update but others are already getting Android 5.0.1 (Moto E, and Moto 4 with 4G LTE, Galaxy Note 4, Note Edge, Galaxy S5, Galaxy S4) and Android 5.0.2 (LG G2 from T-Mobile and AT&T, Samsung Galaxy S6 Edge, Nexus 7, original Moto X). Several mobile devices have even received Android 5.1 already like the Nexus 5, Nexus Player, HTC One (M7), Moto G GPE, LG G Pad 8.3 GPE, and the Sony Z Ultra GPE. And to further burst your bubble, sorry, but Android 5.1.1 is almost ready.
  • 8 great Google Maps tips for Android and iOS
  • ZTE's Spro 2 Android-powered 'smart projector' will hit AT&T for $399.99
    How would you like a 120-inch screen you can toss into your backpack or purse? Yes, please! First announced at CES 2015, ZTE's Android-powered smart projector Spro 2 is finally launching in the U.S. The 1.2-pound portable projector that measures 5.28 x 5.16 x 1.22 inches will be available on April 24 from AT&T.
  • Your favorite websites can now send notifications to Chrome on Android
    Support for push notifications was the most important feature in last week's Chrome 42 release — and starting today you'll begin to see why. Today, several websites including eBay, Facebook, Pinterest, Vice News, and Product Hunt will begin to offer Chrome push notifications on both desktop and Android. It's that last platform that's a big deal: websites that support Chrome push notifications can send out updates that look and feel like regular app updates even if the Chrome browser isn't currently active on an Android device.
  • Google just unveiled a hugely ambitious Android Wear update – here are the 3 coolest features
    With all the hype surrounding the Apple Watch, you may have forgotten that Google has a smartwatch software platform of its own called Android Wear. To remind us of this, Google on Monday took the wraps off a hugely ambitious Android Wear update that adds three important features that the platform had been sorely missing.
  • Samsung Galaxy S6, S6 Edge Receiving Android 5.1 Lollipop Software Update
  • Australia's first Android TV device arrives with Google Nexus Player
    The player, which runs the Android TV platform, was released in the U.S. in October 2014. It will be sold at JB Hi-Fi and Dick Smith from Tuesday for A$129. The device sits in the same market as Apple TV, and is the first device to offer Android TV locally.
  • Improve your game with the best golf Apps for Android
    These days, technology is just as much a part of golf as a good swing. Both professional and amateur players are constantly seeking an edge from the best equipment and engineering breakthroughs.
  • Nexus 5 & 7 Still Facing The Same Issues After Android 5.1 Update
    Usually with updates to software, developers try to address any bugs or issues that were present in the previous version. Unfortunately it seems that in the case of Android 5.1, Google has yet to address some problems that are still plaguing handsets like the Nexus 5 and the Nexus 7 which are no doubt rather annoying for its users. The issues in question are related to memory leaks in which after prolonged periods of use, the devices start to feel sluggish due to the amount of free RAM remaining which is less than ideal. This is an issue that Google had acknowledged back in Android 5.0.1 and was actually reported back in 2014.
  • Chrome's push notifications reach your Android phone
    Chrome's website push notifications are no longer confined to your desktop -- they now surface on your phone, too. Grab Chrome 42 for Android and you can opt into alerts from websites that show up no matter what you're doing. You won't have to worry about missing out on breaking news, even if your favorite sites don't have dedicated apps. You'll also have an easier time adding home screen shortcuts for those sites if you always want them close at hand. It'll be a while before many of the sites you frequent can deliver notifications (eBay, Facebook and Pinterest are some of the early adopters), but it's worth upgrading now to get ready.

Daily Builds Of Wayland & Weston For Ubuntu Linux

While Canonical may be set on making Mir the default display server across all Ubuntu platforms by this time next year, this isn't stopping others from using Ubuntu for Wayland development and using it as an alternative to Mir or the X.Org Server. Read more Also: Ubuntu Online Summit 15.05 to Start in May