• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form Validation Callback Not Working on Server (but OK on WAMP)

#3
Did you create and use the MY_Form_valdation.php file for HMVC Callbacks in the libraries folder?

PHP Code:
<?php
defined
('BASEPATH') OR exit('No direct script access allowed');

class 
MY_Form_validation extends CI_Form_validation
{
    public function 
run($module ''$group '')
    {
        (
is_object($module)) AND $this->CI =& $module;

        return 
parent::run($group);
    }


What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Form Validation Callback Not Working on Server (but OK on WAMP) - by InsiteFX - 03-18-2016, 10:33 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.