Shareaholic

Author Archive

JoshSexyBookmarks v3 Series :: The Problem

by at 11am, February 3rd, 2010 | 19 Comments »

This blog post was originally posted on the SexyBookmarks’ blog. Shareaholic has since taken over the responsibility for the continued development and improvement of SexyBookmark publisher plugins!

frustrated

With the large quantity of bug reports and angry emails I’ve been getting since the release of v3.0, and more recently, the release of v3.0.1 – I thought it would be fitting to write a post for all of you who are experiencing issues with these versions letting you know why and how we plan to fix them in the immediate future.

The root cause of the problem

Though there are several different “types” of errors each of you are getting, they are all in fact caused by one underlying problem. Unfortunately, that problem is your web host. Some of you have hosts which are just plain crappy, while others of you have hosts who are so caught up in “securing the servers” that they’ve removed and/or disabled most of what makes PHP such an awesome language to work with.

Now don’t get me wrong, I’m all for security. I know I sure as hell wouldn’t want a server on my grid getting hacked. However, some of these hosts are going to the far end of the “extreme” in terms of “lockdown”. I won’t get into too many geeky details, as it would just bore most of you. So I’ll just say this… When it comes to web hosts, the cliche “You get what you pay for” is more true than you could possibly imagine.


What we intend to do

The examples mentioned above don’t cover everyone, but those are the primary issues at hand. So, we’re working extra hard to implement EVEN MORE pre-checks, pre-pre-checks, and pre-pre-pre-checks to ensure that if ANYTHING is unavailable in your hosting environment, the plugin will simply abandon the idea of using our fancy new sprite generator feature and use the premade sprite that’s included with the plugin instead.

Another thing that we’ve come to realize is that we’re failing in part due to the fact that we’re trying to make this plugin as “dummy proof” as possible. I’m not calling anyone names, just making reference to the fact that aside from clicking a few checkboxes, radio buttons, or icons… There’s not much to “setting up” the plugin.

This however, may be about to change. Unfortunately for the vast majority of you who enjoy the plugin and who it works for just fine, there are others out there who can’t get it to work due to lousy server setups and poorly thought out site structures. Therefore, we’re debating whether or not to add several text boxes which will allow for a 100% guarantee that the plugin will work on your server setup.

These boxes would be for you manually defining absolute server paths, relative server paths, and other such things which are somewhat hard to “automatically guess” due to the fact that some people love installing wordpress in crazy directories and renaming wp-content to something weird…

Now before any of you who are code savvy say, “but what about using content_url() to grab the wp-content location no matter where it is or what it’s named?”. Let me first say thanks for mentioning it… However, content_url() only gets the URL of wp-content folder… It doesn’t get the absolute path, nor does it get the relative path, which are two things we desperately need for this to work properly.

There are things called “constants” that are defined by WordPress that we could use, but they aren’t 100% accurate either as they won’t know if the folder has been renamed. At any rate, please be patient and rest assured that we are most definitely busting our butts trying to get this thing back up and running 100% for all of you.


JoshSexyBookmarks v3.0.1 MAJOR BUG FIX

by at 4am, February 3rd, 2010 | 62 Comments »

This blog post was originally posted on the SexyBookmarks’ blog. Shareaholic has since taken over the responsibility for the continued development and improvement of SexyBookmark publisher plugins!

majorbugfix

I’m going to guess that the vast majority of you who find this post probably won’t even have been affected by the horrible NIGHTMARE of a release yesterday, as I reverted the stable tag back to v2.6.1.3 very quickly after receiving tons of reports about fatal errors upon upgrading. However, for those of you who did… This release is for you!

Those of you who did not get a chance to download v3.0 should consider yourselves lucky, as I seemed to have “jumped the gun” a bit and released it before I tested thoroughly. At any rate, v3.0.1 addresses each of the issues that arose in v3.0 and also adds a couple small finishing touches as well.

Lessons learned…

Considering the level of mayhem associated with the v3.0 release, I would say that the biggest lesson I’ve learned from it would simply be this:

QUIT USING THE HOME ROW TO CODE!

The reason so many of you got fatal errors when upgrading was because my pinky finger apparently pressed the semicolon key inadvertently while coding. May not sound too terrible if you’re not a coder, but trust me… PHP didn’t like it one bit! Anyway, here’s a list of what was fixed/added in this release:

  1. Fix for fatal error upon upgrading to v3.0

  2. Fix for Google Bookmarks image not displaying correctly

  3. Fix for spritegen not working if wordpress installed in subdirectory

  4. Spritegen now outputs minified CSS as well

  5. Added activation hook to generate sprite automatically upon activating the plugin


Don’t forget v3.0 features!

Since most of you will be upgrading to v3.0.1 directly from v2.6.1.3, you may want to go see what features were added in v3.0 as well!

UPDATE:

There are currently 4 primary types of bugs being tracked with this release:

  1. Upon installing/upgrading, all icons disappear and are replaced by text links
  2. Upon installing/upgrading, a list of “Uncaught exception” errors is displayed
  3. Upon installing/upgrading, a list of “filesize()” errors are displayed
  4. Upon installing/upgrading, “Invalid argument supplied” errors are displayed

Please be patient as we are working frantically to find the common link between each of the errors so that we can get it fixed as soon as possible. I guess it’s a bit ironic that this was a “bug patch” release, and yet it’s still apparently full of bugs, eh?


JoshDowngrade to SexyBookmarks v2.6.1.3!!!

by at 9am, February 1st, 2010 | 8 Comments »

This blog post was originally posted on the SexyBookmarks’ blog. Shareaholic has since taken over the responsibility for the continued development and improvement of SexyBookmark publisher plugins!

downgrade

If you upgraded to version 3.0 this morning and are experiencing problems, I’m terribly sorry about your misfortune. It’s been a literal hellish nightmare since the very MINUTE I released it.

Please, downgrade to v2.6.1.3 until I can get this mess sorted out… Thanks.

Update: v3.0.1 Bugfix Now Available

For those of you who downgraded, you can now get the bug fix for v3.0 by upgrading to v3.0.1

More information is available here: http://blog.shareaholic.com/2010/02/v3-0-1-major-bug-fix/