Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Controller not working

edited October 2017 in Feature Requests
hi i like to ask . im trying to use the controller like in codeigniter .. but in the hosting site.. the controller doesnt work . but in my local it work. is there a configuration should i do in the hosting

Comments

  • edited 1:07AM
    What do you mean by it doesn't work? Is the controller's first letter of the file name capitalized?
  • edited October 2017
    no ,, its not capitalize. i think the controller doesnt recognize on the controller. what i did i do an inline coding in the page for temporary solutions. but i want to use the controller
  • edited 1:07AM
    Is there a specified route in the routes.php file for this Controller?
  • edited October 2017
    Seem like you are not removing index.php from your URLs.
  • edited 1:07AM
    hi admin, sorry its ok now. i follow the suggestion you made the capitlized thingy its working now.

    i have new question:
    how can i get the global var in the controller.
  • edited 1:07AM
    To get the variables for a page including global variables you can use pagevars:
    $CI->fuel->pagevars('mylocation');
  • edited 1:07AM
    Thanks admin
Sign In or Register to comment.