Sunday, July 22, 2012

Show Hidden Files and Folder

Read Indonesian Version Here
Have you ever had an empty flashdisk or some folder/file disappear when viewed using Windows Explorer, but when use "right-clicked --> Properties" there is a space that is used. Well .. if you are experiencing the same problem, do not format the flashdisk, because chances are your data is hidden.
I try to share a little knowledge to all to deal with this problem. OK just do like this.
  1. Open your Windows Explore, enter to Tools --> Folder Options --> View. Then Select  Hidden files and Folders chose Show Hidden files and Folders. click OK. If this can not display the file / folder, let's do the second way.
  2. The second way is using Command Prompt. This method can be an alternative.
    • First Open Commang Prompt from run ( Window + R ) then press CMD and Enter. When the window console is out, type the name of the drive to position your flashdisk example "H:" and press Enter.
    • When you have entered on the H drive, like the picture above type attrib -r -h -s /s /d and press Enter so that it becomes as follows.
    H:\>attrib -r -h -s /s /d 
    • Wait until the H:\>_ shown, and this the simple way to show hidden file / folder.
    • Change the "-" into "+" if you want to set hide back .

***Good Luck***

Tuesday, July 10, 2012

Upgrade Codeigniter Version 2.1.0 to 2.1.2

Read Indonesian version here
A few weeks ago codeigniter was release the newest version 2.1.2. Then how do we upgrade CodeIgniter version 2.1.0 or 2.1.1 to version 2.1.2. Here are step by step.
  1. Download newest version here
  2. Set your site into offline mode
  3. Create backup from your file/folder.
  4. Replace all file in folder "system" and replace file index.php, with new file has been downloaded (codeigniter versi 2.1.2)
    Note : If you have any custom file in this folder, copy and paste it from backup.
  5. Replace file mime.php located on the config/mime.php
  6. To get support IPv6, upgrade field IP_address to 45 characters for example.
    ALTER TABLE ci_sessions Ganti IP_address IP_address varchar (45) standar '0 'NOT NULL
  7. If you have codeigniter version 2.1.1 just go to step no. 3