Today i was working on a WordPress based website which needed a custom featured posts widget to be created when I received some error. The widget used this code to get the post thumbnail: <?php the_post_thumbnail( array(87, 112, true) ); ?> Let’s not go into much details of this function (you can find it in […]
500 posts milestone for Nabtron completed
This is the 500th post here on nabtron.com. This might seem a bit low to some people, specially bloggers, maybe, but anyway, it is a milestone and achievement for me! With this blog, I have tried to keep it as productive as possible, by not just adding random tech rumors and news to it, rather making […]
Fatal error: Cannot redeclare class FacebookApiException – Solution
This solution should work for any environment, but in my particular case it was like this: Scenario: I was coding a plugin for wordpress which uses the FacebookApiException (in facebook.php file or facebook app sdk). I included the file using: include(facebook.php); and boom! it gave me this Error: Fatal error: Cannot redeclare class FacebookApiException in/Applications/XAMPP/xamppfiles/htdocs/1/wp-content/plugins/fb-frame/facebook.phpon […]
WPAnswers has a malware! – Is your money safe?
Yesterday I tried opening wpanswers.com through the link from their twitter and woo! there was this warning saying that they have malware on their site: Warning: Something’s Not Right Here! wpquestions.com contains content from frty.co.cc, a site known to distribute malware. Your computer might catch a virus if you visit this site. Google has found malicious […]
How to change Array key name in PHP
Well let me tell you that there are more than 1 ways of changing the key name of an array. Here I will discuss the ones that can be useful in some situations. If you have any question or suggestion, do let me know. Changing Key name of a single entry of an Array The […]
Cosmo rays from mars to earth 2011 – NASA BBC rumor
Last year I made a blog post about a text message that I received from many sources saying that cosmo rays from mars are going to enter earth tonight so switch off your mobile phones. Looks like the similar text message is on boom again! It’s circulating all around once again. The text message is […]
Make your boss rich or youself, choice is yours!
99% of people I encounter feel proud to be a good “worker” for some other person! Ok wait, I’ll tell you the story that happened recently and compelled me on writing this post! A friend of mine planned on starting on a blog on current affairs in my country. Not just a news site but […]
Bugs and Errors in Apple Store
Apple released xcode 4 yesterday which they decided not to be given to public for free! However, if you try getting it from the weblink on their site, it gives you error saying that this application is not available in your country, but is available in US, giving you an option to change your Apple […]
Xcode sdk and iOS sdk is no more free
Apple released xcode 4 with iOS sdk 4.2 on 9th of March 2011. The xcode, ladies and gentlemen, is no more free! Like the old days (almost 1 day old) sdk was free. You could download it and develop whatever you want. However to upload the file to Apple iTunes you needed to have a […]
Errors and bugs in Google
No system is perfect. It’s just coded and maintained by humans like you and me. Similarly Google have many bugs too. One of which I encountered today I plan to include more bugs as I remember or encounter along the way in this post too! however, let’s start with the one that I remember for […]