Cara Memperbaiki Error "No input file specified" pada CodeIgniter

Jaka Senin, 22 Mei 2017 09:07:32 Web Development 4050

Jika kita menggunakan framework CodeIgniter untuk aplikasi web yang kita upload ke server hosting, ada kemungkinan aplikasi yang kita upload belum berfungsi sebagaimana mestinya. Umumnya error yang terjadi adalah munculnya pesan error “No input file specified” ketika kita mengakses URL di website kita. Cara mengatasinya adalah dengan melakukan sedikit perubahan pada isi file .htaccess yang kita gunakan, berikut cara mengatasinya yang saya ambil dari penyedia hosting Rumah Web.


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 kita sudah bisa berfungsi dengan baik.

 

Demikian tutorial Cara Memperbaiki Error “No input file specified” pada CodeIgniter, semoga bermanfaat.

Artikel Terkait :

Tips : Cara Mencegah Terserang Virus Ransomware Wannacrypt

Smadav Klaim Mampu Tangkal Wannacrypt

Cara Agar Baterai Smartphone Android Lebih Tahan Lama

Update Instagram Terbaru Memungkinkan Kita Menyimpan Video Siaran Langsung Ke Ponsel Kita

Membuat Form Login Dengan CodeIgniter


Komentar :



40 Komentar :

Ulepe14

21 Nopember 2017 - 19:40:03

http://88.88maw.com/blogs/post/58241\nhttp://amusecandy.com/blogs/post/141616\nhttp://snopeczek.hekko.pl/200654/farmacia-comprar-risedronico-receta-guatemala-comprar-actonel\nhttp://evojet.ro/oxwall/blogs/post/34461\nhttp://www.printjunkie.net/profiles/blogs/farmacia-online-donde-comprar-generico-megalis-tadalafil-20mg-sin\nhttp://www.uncorpoperfetto.com/social/blogs/post/99407\nhttp://www.politishun.com/blogs/post/45703\nhttp://southweddingdreams.com/index.php?do=/blog/110789/order-aerovent-safely-order-aerovent-online-yahoo/\nhttp://www.nostre.com/blogs/post/38787\nhttp://www.iplfans.com/blogs/post/10766\nhttp://www.nostre.com/blogs/post/34981\nhttp://scottsdaleretail.com/?option=com_k2&view=itemlist&task=user&id=8240\nhttp://amusecandy.com/blogs/post/67848\nhttp://lydlabs.ning.com/profiles/blogs/farmacia-online-donde-comprar-furosemida-100mg-sin-receta-barato\nhttp://southweddingdreams.com/index.php?do=/blog/128907/achat-de-lovastatin-bon-prix-acheter-du-lovastatin-pharmacie-en-ligne/\nhttp://barbershoppers.org/blogs/post/5437\nhttp://southweddingdreams.com/index.php?do=/blog/105239/buy-dydrogesterone-10-mg-on-sale-where-to-purchase-duphaston-quick-shipping/\nhttps://www.olliesmusic.com/blog/32240/order-low-price-bethanechol-25-mg-where-to-buy-urecholine-fast-delivery/\nhttps://metbuddy.com/blogs/387/479/felodipina-2-5-mg-comprar-mas-barato-andorra-felodipina-2-5-mg\nhttps://www.olliesmusic.com/blog/22140/furosemida-40-mg-comprar-sin-receta-por-internet-chile/\nhttp://www.pyxel.me/blogs/post/14073\nhttp://www.myindiagate.com/community/blogs/post/112870\nhttp://southweddingdreams.com/index.php?do=/blog/78702/order-capecitabine/\nhttp://saknada.com.au/ssn/blogs/post/54691\nhttp://aidephp.bouee.net/16036/ranitidine-comprar-ahora-méxico-comprar-zantac-150-generic\nhttp://www.ocperio.org/group3/blogs/post/55346\nhttp://cylindrymiarowe.pl/blogs/post/20830\nhttp://southweddingdreams.com/index.php?do=/blog/107152/cabergoline-0-25mg-buy-cabergoline-order-for-canada/\nhttp://101hobby.com/blogs/post/12299#sthash.XAfbTVha.I5AzzntZ.dpbs\nhttp://www.nostre.com/blogs/post/14805\nhttp://lifestir.net/blogs/post/21118\nhttp://www.gocciadorocoop.it/?option=com_k2&view=itemlist&task=user&id=2073\nhttp://www.guildkeep.com/blogs/189/1070/como-comprar-generico-risperidona-2mg-al-mejor-precio-puerto-ri\n \nvNiDm9pLv0Cb

Dulig12

21 Nopember 2017 - 15:51:01

buying amoxapina online canada legal http://diduknow.allrh.com/blogs/post/67215 https://23bestcity.de/blogs/post/13556 http://adda.ibm-bd.com/blogs/post/4427

Vuqug39

21 Nopember 2017 - 09:25:47

http://support.myyna.com/34378/achat-vente-mebeverine-acheter-mebeverine-en-ligne-suisse https://www.olliesmusic.com/blog/9268/buy-linezolid/ http://hipertrofiafaq.com.br/352/cheap-terazosin-hydrochloride-online-buy-hytrin-required https://www.olliesmusic.com/blog/11601/buy-propafenone-150mg-without-prescription-can-you-buy-propafenone-canada-b/ http://divinguniverse.com/blogs/post/13741 http://ask.codeadore.com/54334/donde-a-la-orden-roxitromicina-al-mejor-precio http://southweddingdreams.com/index.php?do=/blog/88456/order-domperidone-10-mg-low-price-where-can-i-buy-motilium-no-rx/ http://barbershoppers.org/blogs/post/15772 http://www.myindiagate.com/community/blogs/post/87886 http://www.girlsanswer.net/?qa=600/prevacid-lansoprazole-verified http://southweddingdreams.com/index.php?do=/blog/112025/buy-ethionamide-250mg-online/ http://www.vinamericas.com/?option=com_k2&view=itemlist&task=user&id=141258 http://barbershoppers.org/blogs/post/5564 http://barbershoppers.org/blogs/post/7337 http://www.tennis-motion-connect.com/blogs/post/12740 http://ggwadvice.com//index.php?qa=23658&qa_1=valproic-acid-250mg-order-cheap-valproic-acid-250mg-order-uk http://lifestir.net/blogs/post/32347 http://southweddingdreams.com/index.php?do=/blog/84003/warfarin-order/ http://www.realfemalebodybuilding.com/?option=com_k2&view=itemlist&task=user&id=11273 http://kiddzcom.com/oxwall/blogs/post/5112 \nTfHSx6i1qoq6

Adaqi89

21 Nopember 2017 - 02:26:33

http://qna.kansagara.in//index.php?qa=647&qa_1=farmacia-comprar-didanosina-confianza-comprar-concepcion\nhttp://kingdomcomerpg.pl/493/farmacia-online-donde-comprar-cetirizine-mastercard-costa\nhttp://southweddingdreams.com/index.php?do=/blog/145487/farmacia-online-donde-comprar-generico-allopurinol-sin-receta-mas-barato-co/\nhttp://www.pin2ping.com/blogs/707699/31604/farmacia-online-donde-comprar-su\nhttp://www.bigdicts.com/1499/comprar-loxapina-online-argentina-comprar-loxapina-uruguay\nhttp://memberspace.conservativechitchat.co.uk/blogs/post/9882\nhttp://www.myindiagate.com/community/blogs/post/145250\nhttp://usa51.org/index.php/blogs/50/403/site-commander-dutasteride-du\nhttp://support.myyna.com/33683/nitrofurantoin-order-no-rx-how-purchase-furadantin-online\nhttp://vulis.org/blogs/post/3812\nhttp://evojet.ro/oxwall/blogs/post/58096\nhttp://angoltanulasonline.hu/forum/53548/cabergoline-donde-comprar-sin-receta-por-internet-españa\nhttp://sharelt.com/blogs/post/73454\nhttp://www.saitek.com.ar/?option=com_k2&view=itemlist&task=user&id=67633\nhttp://lifestir.net/blogs/post/48617\nhttp://southweddingdreams.com/index.php?do=/blog/136072/donde-para-ordenar-dapoxetine-30-mg-env?­o-gratis-per??-comprar-dapoxetine-90/\nhttp://www.nostre.com/blogs/post/27733\nhttp://www.myindiagate.com/community/blogs/post/162360\nhttp://www.tennis-motion-connect.com/blogs/post/45186\nhttp://jaktlumaczyc.pl/2518/site-pour-achat-desloratadine-clarinex-service-apres-vente\nhttps://www.olliesmusic.com/blog/22086/bon-plan-achat-ziprasidone-sans-ordonnance-acheter-geodon-en-ligne-suisse/\nhttp://www.ocperio.org/group3/blogs/post/865\nhttp://www.sobgamers.com/gamer/blogs/post/4845\n \n0UtPZK4zt6Wb

Huwav01

20 Nopember 2017 - 22:50:05

http://www.carpasralun.cl/?option=com_k2&view=itemlist&task=user&id=542\nhttp://vip-luxurytravel.com/?option=com_k2&view=itemlist&task=user&id=547767\nhttp://wittproperties.com/?option=com_k2&view=itemlist&task=user&id=1859\nhttp://www.herculeslibraryfoundation.com/?option=com_k2&view=itemlist&task=user&id=137725\nhttp://medmolds.com/?option=com_k2&view=itemlist&task=user&id=459\nhttp://www.mamanoel.it/?option=com_k2&view=itemlist&task=user&id=1954&lang=it\ncheap diphenhydramine poland\nhttp://www.quantumeng-qa.com/?option=com_k2&view=itemlist&task=user&id=76570