Rabu, 16 Oktober 2013

PHP Indonesia - Facebook: mastah, ini kenapa ya? maaf, masih newbie..

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
How to Get into Medical School

A tested blueprint to approach the daunting admissions process with both confidence and success! Enroll in this online course for just $29.
From our sponsors
mastah, ini kenapa ya? maaf, masih newbie..
Oct 16th 2013, 12:21, by Civa Annisa

Civa Annisa 12:21pm Oct 16
mastah, ini kenapa ya? maaf, masih newbie..

Herudin Saifuloh 12:24pm Oct 16
itu ci nya versi berapa...???

Civa Annisa 12:25pm Oct 16
2.1.4 mas..

Herudin Saifuloh 12:27pm Oct 16
class nama_controllernya extends CI_Controller {

}

atau coba tulis kodingnya...???

Novan Ary 12:28pm Oct 16
di folder config ada pengaturan untuk default controllernya. coba cek n baca dokumentasiny.

Civa Annisa 12:32pm Oct 16
apa nya yg di cek di config mas novan? apa nya yg harus di rubah?

Civa Annisa 12:34pm Oct 16
mas Herudin Saifuloh ,, ini saya baru blajar CI dan baru coba.. apa class controller itu di tambah sendiri ya? nggak ada bawaan CI?

Herudin Saifuloh 12:36pm Oct 16
itu ada deh pas di view yg 'welcome_message.php'...
disana ada kan yg paling atas...

Novan Ary 12:37pm Oct 16
ada konfigurasiny. lupa nama filenya. ada variable $config['default_controller']='controller_defaultnya_CI'

Civa Annisa 12:39pm Oct 16
di 'welcome_message.php' yg ada script css nya mas Herudin Saifuloh..

Novan Ary 12:39pm Oct 16
di controller defaultnya CI itu yg drubah jd nama controller yg baru. kalo pake class Hello (di gambar akses class hello) maka controller d konfigurasinya d rubah menjadi hello

Herudin Saifuloh 12:40pm Oct 16
eh salah...
di controllernya...(parah ni otak)..

Kanda Pratama Santika 12:41pm Oct 16
kalo gk salah di controller hello
baris pertama di ganti ini
CI_Controller bukan Controller

Civa Annisa 12:50pm Oct 16
mas Kanda Pratama Santika :

keluar error kek gini :

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\xampp\htdocs\CodeIgniter\application\views\helloview.php on line 2

ini script nya :

<?php
class Hello extends CI_Controller
{
function index()
{
$this->load->view('helloview');
}
}
?>

itu gimana ya?

Novan Ary 12:52pm Oct 16
di file viewnya line 2 kurang ; kalo g slh

Herudin Saifuloh 12:53pm Oct 16
itu mah tulisan errornya di view bukan di controllernya...

Civa Annisa 12:56pm Oct 16
oh iya mas Herudin Saifuloh ..

tapi udah ada titik koma nya kok kyk gini :

<?
echo "Hello World";
?>

Herudin Saifuloh 12:57pm Oct 16
<?php coba yg itu jangan <? gitu sja...

Kanda Pratama Santika 12:57pm Oct 16
bener kata mas Novan Ary itu kayanya,
coba liat file viewnya

Novan Ary 12:58pm Oct 16
<?php (kalo pake php 5.3 ke atas)

Kanda Pratama Santika 12:59pm Oct 16
tuh bener yang kata mas Novan Ary

Civa Annisa 1:01pm Oct 16
masih error..

Civa Annisa 1:01pm Oct 16
padahal udah kek gini..

Kanda Pratama Santika 1:02pm Oct 16
petiknya di ganti mbak
di ganti "
itu petiknya beda

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar