Archive for 2011

$phpPost->_title(" PHP + PDO + FETCH_OBJ Issue + Notice: Trying to get property of non-object ");

$phpPost->_comments(" No reaction thrown, try-catch{} one? ");

ASSUMPTIONS: I’m expecting only 1 row of data for the fetch-ing I need the fetched-data to be in the form of an stdClass object You are familiar with using PDO – PHP Data Objects This PDO error typically occurs when you try to fetch data into an stdClass object by using fetchAll() By definition fetchAll [...]

[ Read more, click here! ]

$phpPost->_tag(" ");

$phpPost->_title(" PHP 5.3 + How To Completely Destroy Session Variables In PHP ");

$phpPost->_comments(" 2 reactions catched - throw another? ");

The Sessions Bonanza By default sessions are stored on the disk your server, you can find out the path by echo-ing for the attribute session.save_path: echo ini_get( “session.save_path” ); (You can change that path in php.ini) PHP Sessions are destroyed automatically when you close your browser. But what if you want to destroy the session [...]

[ Read more, click here! ]

$phpPost->_tag(" ");

$phpPost->_title(" Linux Mint + Netbeans + xdebug Issue Not Loaded in php.ini ");

$phpPost->_comments(" No reaction thrown, try-catch{} one? ");

Assumptions: You are using a linux distro, in my instance I’m using Linux Mint, but this is applicable to any deb-based linux for example Ubuntu or Debian You’ve installed your LAMP stack ‘raw-ly‘ This issue reported here is NOT applicable to a XAMPP installation, since in xampp the ‘normal’ way of configuring xdebug works fine [...]

[ Read more, click here! ]

$phpPost->_title(" Linux Mint + How To Uninstall Netbeans Fast & Simple Via Bash Shell ");

$phpPost->_comments(" 5 reactions catched - throw another? ");

Assumption: You are using a linux distro, in my instance I’m using Linux Mint, but this is applicable to any deb-based linux for example Ubuntu or Debian You already have a version of Netbeans installed on your machine – (click on the following link if you wanted the How To Install Netbeans Part) The uninstall [...]

[ Read more, click here! ]

$phpPost->_title(" Linux Mint + How To Know which Version You Are Running (Including 32bit or 64bit) ");

$phpPost->_comments(" No reaction thrown, try-catch{} one? ");

Today I need to download a version of VM Player. I was confused as to what version I should download for my system. The last time I installed my Linux Mint Julia 10 was so long time ago and I have forgotten what but I installed. I have found the following to be useful in [...]

[ Read more, click here! ]

$phpPost->_tag(" ");

$phpPost->_title(" How To Install A Fresh MantisBT – OpenSource Bug Tracker ");

$phpPost->_comments(" 1 reaction catched - throw another? ");

Assumptions: You know how to setup your LAMP stack and any related Apache setups to run a website You know how to use phpMyAdmin or any other MySql query browser We are setting this up in a LOCAL environment and we are not bothering about any security or good practice scenarios Step by Step Of [...]

[ Read more, click here! ]

$phpPost->_tag(" , ");