ISENG BLOGER

“No input file specified” pada CodeIgniter



Jika Anda menggunakan framework CodeIgniter untuk aplikasi web yang Anda upload ke server hosting Rumahweb, ada kemungkinan aplikasi yang Anda upload belum berfungsi sebagaimana mestinya.
Umumnya error yang terjadi adalah munculnya pesan error “No input file specified” ketika Anda mengakses salah satu URL di website Anda.  Cara mengatasinya adalah dengan melakukan sedikit perubahan pada isi file .htaccess yang Anda gunakan.
File .htaccess standar yang digunakan di CodeIgniter adalah sebagai berikut:
<IfModule mod_rewrite.c>RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
Yang perlu diubah hanyalah baris terakhir, yaitu menjadi sebagai berikut:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
Jadi hanya dengan menambahkan tanda “?” (tanda tanya) di antara index.php dan /$1, script Anda sudah bisa berfungsi dengan baik.
Semoga bermanfaat!
[Read More...]


How to install Microsoft fonts in Linux office suites



Times New Roman, Calibri, and many other popular fonts are created by Microsoft and can’t be included with Linux. If you open a Word document or another Microsoft Office document in LibreOffice or OpenOffice, you’ll need Microsoft’s fonts installed on your Linux system to see the documents as they were intended to look.
You can also use Microsoft’s fonts to create documents of your own, so you can compose a document in Calibri or Times New Roman and save it as a DOCX or DOC file for maximum compatibility with Office.

Install Microsoft’s TrueType Core fonts

Microsoft released a package of “TrueType core fonts for the web” back in 1996. These fonts were given a very permissive license agreement, so anyone could install them. Microsoft wanted their fonts to be the standard fonts everyone with a web browser had, so they gave them away. Microsoft terminated this project in 2002, but the fonts can still be installed thanks to MIcrosoft’s old license agreement.
This font pack contains Andale Mono, Arial, Arial Black, Comic Sans MS, Courier New, Georgia, Impact, Times New Roman, Trebuchet, Verdana, and Webdings. Times New Roman was the default font for Office documents until Calibri debuted in Office 2007.
This package can be easily installed on Ubuntu. Unfortunately, you can’t install it fromthe Ubuntu Software Center on modern versions of Ubuntu like Ubuntu 14.04. If you try to install this package from the Ubuntu Software Center, the Software Center will freeze—you need to use the terminal so you can accept Microsoft’s License agreement. Don’t worry! This is easy.
First, open a terminal. Click the Ubuntu icon on the dock, search for “Terminal,” and click the terminal shortcut.
screenshot from 2014 07 09 19 06 48
Type or copy-and-paste the following command into the terminal and press Enter. This command asks for administrator access (sudo) before launching the package manager (apt-get) and telling it to download and install (install) the ttf-mscorefonts-installer package:
sudo apt-get install ttf-mscorefonts-installer
Type your password when prompted and press Enter again. When the license agreement appears, use the arrow and Page Down/Page Up keys to scroll through it. Press Tab to select the OK button and press Enter to accept Microsoft’s license agreement. The installer will download the fonts onto your system and configure them so they’re immediately available to applications like LibreOffice and OpenOffice.
screenshot from 2014 07 09 19 08 14
Other Linux distributions also offer similarly named “corefonts” packages you can easily install. Search your Linux distribution’s package manager for such a package.

Install Microsoft’s ClearType fonts

Microsoft added a group of new “ClearType Fonts” to Windows with Windows Vista and Office 2007. These fonts are named Constantia, Corbel, Calibri, Cambria, Candara, and Consolas. Calibri became the default font on Microsoft Word 2007, and it’s still the default font on Word 2013 today.
Microsoft never released these fonts to everyone like they did with the older core fonts. However, Microsoft does make these fonts available to download as part of their free PowerPoint Viewer 2007 application. If you don’t have a Windows system around, you can use a script that downloads the PowerPoint Viewer 2007 application from Microsoft, extracts the six ClearType fonts, and installs them on your Linux system. This script will install the ClearType fonts for just your user account, while the above script installs the TrueType core fonts for every user account on your system.
The fastest, easiest way to do this is with a few terminal commands. These commands are easy-to-use—rather than walk you through clicking many different things, we can just have you copy-and-paste a few commands.
If you haven’t yet installed the TrueType core fonts, you’ll need to run the sudo apt-get install cabextract command to install the cabextract utility on your system. If you installed the Microsoft core fonts using the command above, this should already be installed.
Next, type mkdir .fonts and press Enter to create the fonts directory the script requires. The script will complain that you don’t have a .fonts directory if you don’t do this first.
screenshot from 2014 07 09 19 22 59
Next, copy-and-paste or type the following command into the terminal and press Enter. This command downloads the VistaFonts-Installer script and runs it. The script downloads the fonts from Microsoft and installs them on your system:
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer | bash

Install Tahoma, Segoe UI, and other fonts

The above two font packages are probably all you’ll need. They’ll give you the standard Microsoft Office fonts, from the older TrueType core fonts like Times New Roman to the newer ClearType Fonts like calibri. These are the standard fonts used in Microsoft Office documents by default.
However, some fonts aren’t included in these packages. Tahoma isn’t included with the TrueType core fonts package, while Segoe UI and other newer Windows fonts aren’t included with the ClearType Fonts package.
screenshot from 2014 07 09 19 50 50
If you have a Windows system lying around, these fonts are fairly easy to install. For example, let’s say you’re dual-booting Ubuntu Linux and Windows. You’ll find your Windows partition in Ubuntu’s file manager. Click the Windows drive in the sidebar to access it. Navigate to the Windows\Fonts directory and you’ll see all the fonts installed on your Windows PC, including the fonts that came with it. Double-click a font and click the Install button to install it for your user account. You can use this trick to quickly install any other Windows fonts you want, including Tahoma and Segoe UI. In fact, you can even use this trick to install fonts like Times New Roman and Calibri if you have a Windows system.
If you have another Windows computer, you can navigate to the Fonts pane in the Control Panel or open the Fonts folder at C:\Windows\Fonts. Select the fonts you want to use, then drag-and-drop them to a removable drive. You’ll get copies of the fonts in .ttf form. Take the removable drive to your Ubuntu system, double-click each .ttf file you want to install, and click the Install button to install it.
screenshot from 2014 07 09 19 51 05

Configure LibreOffice or OpenOffice

Whether your Linux distribution uses LibreOffice or OpenOffice, configuring your office suite of choice to work with these fonts is easy. If you’ve installed them using any of the instructions above, they’ll already be available to use. If either office suite was open as you installed the fonts, you may have to first close the office suite and re-open it. The fonts will appear as options in the Fonts dropdown box, so you can use them like any other font.
Open a Microsoft Office document created using these fonts and LibreOffice or OpenOffice will automatically use the appropriate fonts. They’ll display the document as it was intended to look, Microsoft fonts and all.
screenshot from 2014 07 09 20 07 36
If you’d like to change your default fonts for new documents, click Tools > Options > LibreOffice Writer or OpenOffice Writer > Basic Fonts (Western). Your office suite of choice will use Microsoft’s fonts as the default fonts in future documents if you choose them here.
Ubuntu and other Linux distributions actually include Red Hat’s “Liberation Fonts” and use them by default in their office suites. These fonts were designed to substitute for Arial, Arial Narrow, Times New Roman, and Courier New. They have the same widths as Microsoft’s popular fonts. If you open a document written with Times New Roman, the appropriate Liberation font will be used instead so the flow of the document won’t be interrupted. However, these fonts don’t look identical to Microsoft’s fonts. The Liberation project also doesn’t provide fonts designed to match the width of Calibri and Microsoft’s other newer ClearType fonts. If you’re a Linux user that wants the best Microsoft Office compatibility possible, you should install Microsoft’s fonts.
[Read More...]


KOMPATIBILITAS LIBREOFFICE DAN MICROSOFT OFFICE



Pengguna Linux akan dihadapkan pada satu masalah kompatiblitas pada aplikasi perkantoran. Salah satunya adalah kompatibilitasnya dengan Microsoft Office. Apalagi hingga saat ini mayoritas format dokumen dari Microsoft Office masih menjadi standar dokumen di banyak lingkungan seperti perkantoran, sekolah/akademik, ataupun bisnis. Hanya sedikit di antaranya yang telah menerapkan format dokumen terbuka seperti yang sudah direkomendasikan oleh pemerintah. Ini adalah suatu masalah besar, terutama apabila bekerja dengan banyak orang yang masih menggunakan format dokumen Microsoft Office. Sekalipun demikian, masalah kompatibilitas tersebut masih bisa dikelola untuk dioptimalkan.

LibreOffice ataupun OpenOffice adalah perangkat pengolah dokumen yang berbasis sumber terbuka (open source). Keduanya menghasilkan format dokumen yang disebut open document format. Untuk fitur Writer akan menghasilkan format dokumen ODT (open document text). Untuk fitur Calc akan menghasilkan format document ODS (open document spreadsheet). Begitu pula dengan fitur lainnya seperti Impress ataupun Base. Serupa dengan Microsoft Office yang menghasilkan format dokumen berstandari Microsoft Document seperti DOC, XLS, dan seterusnya. Sekalipun demikian, LibreOffice maupun OpenOffice masih memiliki peluang untuk mengelola output dokumen dari Microsoft Office.

Kendalanya terletak pada kompatibilitas. Sekedar diketahui, Microsoft Office memiliki dua format dokumen yang berbeda kompatibilitasnya. Misalnya antara doc dan docx, xls dan xlsx, dan lain-lain. Perbedaan kompatibilitas di antara dokumen Office dikarenakan adanya perbedan fitur-fitur pada perangkat lunaknya. Microsoft Office 2010 memiliki fitur dan struktur dokumen yang berbeda dengan Office 2007. Demikian pula halnya adanya perbedaan kompatibilitas di antara LibreOffice ataupun OpenOffice dengan Microsoft Office. Perbedaan kompatibilitas tersebut tidak terhindarkan secara teknis. Tetapi LibreOffice ataupun OpenOffice masih lebih baik ketimbang Microsoft Office.

Format dokumen terbuka (open document) sama sekali tidak memiliki masalah dengan kompatibilitas. Sebagai ilustrasi, dokumen teks (ODT) yang dibuat dengan LibreOffice v4.0 masih dapat dibuka dengan LibreOffice v3.5.2 (atau versi yang lebih rendah). Dokumen lembar kerja (spreadsheet) yang dibuat dengan OpenOffice versi manapun masih bisa dibuka dengan LibreOffice tanpa terkendala versi apapun. Microsoft Word 2010 sekarang ini sudah mampu menyimpan dokumen ke dalam format dokumen terbuka yang berarti bisa dibuka dengan perangkat pengolah dokumen manapun yang berbasis open source. Tetapi akan menjadi bermasalah, ketika dokumen yang dibuat oleh Microsoft Office versi terbaru dibuka dengan Microsoft Office yang memiliki versi lebih rendah. Format docx yang dibuat oleh Word 2010 itu pun berbeda kompatibilitasnya apabila dibuka dengan Word 2007.

Hindarkan Format docx, Gunakan Format Lebih Rendah
Format docx merupakan output dokumen teks yang dibuat oleh Word 2007 dan Word 2010. Format dokumen ini ternyata ditemukan sering bermasalah di kompatibilitasnya. Pertama kali diperkenalkan pada Microsoft Office 2007, tetapi berbeda kompatibilitasnya ketika dikeluarkan versi 2010. Keunggulannya hanya pada ukurannya yang relatif kecil untuk sebuah dokumen yang kompleks (terdapat tabel, grafik, dan fitur-fitur lainnya). Tetapi konsekuensi teknologinya cukup besar. Format docx bermasalah pada kompatibilitas bukan hanya dengan perangkat pengolah dokumen teks lainnya, tetapi bermasalah pula pada antar versi di dalam Microsoft Office.

Jika memungkinkan, pergunakanlah format dokumen standar yang masih berstandar Microsoft Office 2003. Misalnya seperti doc, xls, ataupun ppt. Format dokumen tersebut memiliki kompatibilitas yang lebih besar apabila dibuka dengan LibreOffice, OpenOffice, dan perangkat dokumen perkantoran lain. Format yang lebih rendah, seperti untuk format dokumen teks berupa RTF (rich text format) memiliki kompatibilitas yang lebih tinggi lagi, tetapi konsekuensinya memiliki ukuran file yang jauh lebih besar. Hampir sebagian besar fitur-fitur dari perangkat pengolah dokumen berbasis sumber terbuka masih cukup kompatibel dengan output Microsoft Office 2003. Sekalipun kompatibilitasnya tidak mencapai 100%, setidaknya masih bisa dibaca dengan optimal oleh Microsoft Office 2007/2010. Kasus mengenai kompatibilitas itu sendiri lebih banyak ditemukan pada format dokumen yang dibuat oleh Microsoft Office 2007/2010 seperti docx, xlsx, ataupun pptx (format XML).

Beberapa Pengaturan
Sistem operasi Linux tidak menyediakan format huruf (fonts) standar yang umumnya digunakan sebagai format huruf standar pada Microsoft Windows dan Microsoft Office. Tentu saja format huruf tersebut merupakan bagian dari kompatibilitas perangkat. Oleh karenanya, pengguna OS Linux pada distro manapun sebaiknya menginstal perangkat huruf standar dari Microsoft yang disebut Microsoft Core Fonts (lihat cara instalasinya di sini). Huruft standar Microsoft tersebut meliputi Times New Roman,

Metode lain untuk meningkatkan kompatibilitas perangkat berbasis sumber terbuka adalah dengan melakukan sejumlah pengaturan dokumen. Bukalah LibreOffice ataupun OpenOffice, kemudian masuk ke kotak jendela [Option] melalui [Tools -> Options...]. Kemudian pindahkan sorotan aktif ke [Load/Save -> Microsoft Office].

Pastikan seluruh pilihan telah diberikan tanda centang seperti pada gambar di atas. Seluruh opsi/pilihan tersebut secara otomatis akan meng-konversi setiap obyek yang dikenali dibuat oleh Microsoft Office untuk masing-masing WinWord, MathType, Excel, maupun PowerPoint. Begitu pula ketika dilakukan penyimpanan akan dilakukan konversi balik agar nantinya dapat dikenali oleh Microsoft Office. Selanjutnya, masuklah ke opsi pengaturan [Writer -> Compatibility] seperti pada gambar di bawah ini.


Pada gambar di atas, pastikan telah memberikan tanda centang pada dua lokasi, yaitu:
[Do not add leading (extra space) between lines of text]
[Consider wrapping style when positioning objets]
Penulis belum mengetahui secara pasti tentang teknis diberikannya dua tanda centang tersebut. Tetapi pada opsi pertama bisa jadi untuk mengurangi risiko munculnya ukuran spasi yang tidak sama dari dokumen yang dibuat oleh LibreOffice Writer dan dibuka oleh WinWord 2007/2010.

LibreOffice vs OpenOffice
Keduanya bisa dikatakan hampir tidak berbeda. Karena sesuatu hal, Oracle yang semula memiliki OpenOffice.Org menjual ke pihak Apache. Di sinilah kemudian sekelompok tim inti pengembang OpenOffice keluar dan mendirikan LibreOffice.Org. Secara teknis, kualifikasi LibreOffice tentunya masih lebih unggul dibandingkan OpenOffice. Terhitung sejak dirilisnya Ubuntu 11.04 sudah tidak lagi menggunakan OpenOffice, melainkan menjadikan LibreOffice sebagai perangkat standar perkantoran. Langkah Ubuntu tersebut diikuti oleh distro-distro lainnya. Sekalipun demikian, OpenOffice masih mendapatkan tempat di pengguna setianya yang bahkan rela menggantikan (replacing) LibreOffice dengan OpenOffice.

Satu keunggulan OpenOffice terletak pada kompatibilitasnya dengan Microsoft Office yang lebih tinggi dibandingkan LibreOffice. Kasus-kasus kompatibilitas tersebut dijumpai pada tiga format dokumen yang berbeda, seperti doc, xls, dan ppt. LibreOffice mungkin unggul dari segi fitur-fitur yang disediakan, tetapi justru di sinilah menjadi sedikit bermasalah dengan kompatibilitasnya dengan Microsoft Office. Pihak pengembang LibreOffice sendiri mengakui, serta masih terus meningkatkan masalah kompatibilitas tersebut pada versi-versi terbarunya.

Dari pengalaman penulis, fakta yang disebutkan mengenai kompatibilitas OpenOffice memang nyata lebih baik ketimbang LibreOffice. Sebagai contoh, ketika penulis bekerja dengan dokumen Word (doc maupun docx). Relatif minim ditemukan risiko elemen yang tidak kompatibel setelah disunting dengan OpenOffice Writer. Misalnya, elemen paragraf, spasi, grafik, maupun tabel. Lain halnya, ketika dibuka dan disunting oleh LibreOffice, kemudian menjadi terlihat berantakan ketika dibuka kembali dengan WinWord. Sayangnya, untuk OS Linux, Anda harus memilih salah satu di antara keduanya. OS Ubuntu maupun Linux Mint tidak lagi menyediakan repositori OpenOffice sebagai aplikasi perkantoran, karena sudah dianggap diisi oleh LibreOffice. Jika hendak menginstalasikan OpenOffice, maka terlebih dahulu harus menghapus LibreOffice (remove/uninstall) dari sistem operasi. Hal ini dikarenakan keduanya dianggap identik dan menangani format dokumen yang sama.
[Read More...]


Cara mudah import email Outlook ke Thunderbird



Outlook to ThunderbirdCara mudah import email Outlook ke Thunderbird telah banyak tutorialnya di internet, tapi ada beberapa kasus khusus yang agak sulit cari di internet. Kalau kasusnya hanya import dari outlook ke thunderbird saja sih mudah saja solusinya, pada thunderbird buka menu Option -> Import, kemudian pada jendela Import pilih option Mail dan klik Next, sekejap email dari outlook sudah pindah ke Thunderbird.
Kasus khusus disini contohnya pada kasus saya, email outlook menggunakan Windows 7 dan Thunderbird menggunakan Linux mint. Tidak semua email yang ada di Outlook berhasil di import ke Thunderbird, entah mengapa. Email di outlook ada sekitar 2000 email, namun yang berhasil di import hanya 60 email saja, dan itupun belum pada folder sent item dan folder-folder lainnya.
Mungkin cara terbaik adalah mengexport email outlook menjadi *.pst file, kemudian di import file tersebut ke Thunderbird, namun sayangnya fitur tersebut belum ada di thunderbird, hmm…
Aaah mungkin ada add on thunderbird untuk mengimport dari pst file ke thunderbird, akhirnya Om Google pun menjadi tempat andalan untuk mencari add on tersebut. Setelah sekian lama mencari akhirnya pilihan jatuh ke add onImportExportTools. Saya coba donlot dan install add on tersebut ke Thunderbird saya.
Kemudian pada linux mint saya donlot package readpst, agar linux saya dapat membaca file pst dari outlook windows 7. Untuk menginstallnya buka console dan ketikkan:
sudo apt-get install readpst
masukkan password linux anda jika ditanyakan. Instalasi paket pun berjalan. copy kan file *.pst yang sudah anda buat ke folder misalnya:
home/user/Download/outlook.pst
Agar thunderbird dapat membaca file *.pst, anda dapat menjalankan perintah berikut:
cd /home/user/Downloads
mkdir outlook
readpst -o ./outlook -M -u -w -e -b outlook.pst
Disini saya buat folder outlook untuk menampung hasil extrak file *.pst tersebut. Jika sudah selesai dapat anda cek di folder download/outlook hasil ektrak file pst tersebut.
Langkah selanjutnya di Thunderbird pilih menu Tools -> ImportExportTools -> import all messages from a directory -> also from its subdirectories. Dan jreeenggg!!! Semua email yang ada di Outlook pun pindah ke Thunderbird. Itulah cara mudah import email Outlook ke Thunderbird, mudah bukan?
[Read More...]


Install yEd Graph Editor di Linux



yEd adalah software untuk membuat diagram seperti flowchart, desain jaringan, entity relationship, dll. yEd tersedia dalam berbagai sistem operasi mulai dari Windows, Linux, dan Mac OS. yEd bisa menjadi aplikasi pengganti sejenis buatan Microsoft yaitu Microsoft Visio. Lihat video demo dibawah untuk melihat fiturnya dan untuk melihat galery diagram yEd buka halaman ini.

Cara Instalasi yEd di Linux
  • Download yEd untuk Linux di http://www.yworks.com/en/products_yed_download.html
  • Set permission yEd-setup.sh agar bisa dieksekusi,
  • Jalankan file setup,
  • Klik Next untuk memulai instalasi. Secara default yEd akan diekstrak ke folder /home/user/yEd.
  • Untuk menjalankan aplikasi, ALT + F2, /home/user/yEd/yEd
[Read More...]


 

Categories

Recent Comments

Popular Posts

Return to top of page Copyright © 2012 | Iseng Bloger Converted into Blogger Template by Riyan Apri