Welcome Guest, Not a member yet? Register   Sign In
localhost send an invalid response
#11

Also make sure that you saved your controller to the file system with the first letter
capitalized.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#12

(11-29-2020, 03:45 AM)neoneeco Wrote: What if :

return redirect()->to(base_url());

return redirect()->to(base_url('komik/'));

try and see
did you try other things ?
i tested to use return view, but it have more errors and i dont understand
still have same errors btw
Reply
#13

(11-29-2020, 06:20 AM)mylastof Wrote: I want to see complete file structure, is possible?
i think thats all, its any file you want to see?
Reply
#14

Try these:

PHP Code:
return route_to(base_url());

return 
route_to(base_url('komik/')); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#15

(11-30-2020, 01:01 PM)InsiteFX Wrote: Try these:

PHP Code:
return route_to(base_url());

return 
route_to(base_url('komik/')); 
now it have blank white screen
Reply
#16

Show us an image of your Controllers folder. The file name needs to be identical to the Controller class name.

PHP Code:
class Komik extends BaseContoller

File saved 
as app/Controllers/Komik.php 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#17

(This post was last modified: 11-30-2020, 10:49 PM by upnormal.)

(11-30-2020, 09:36 PM)InsiteFX Wrote: Show us an image of your Controllers folder. The file name needs to be identical to the Controller class name.

PHP Code:
class Komik extends BaseContoller

File saved 
as app/Controllers/Komik.php 
controller:

https://imgur.com/RYSLWVg
Reply




Theme © iAndrew 2016 - Forum software by © MyBB