Welcome Guest, Not a member yet? Register   Sign In
[CLOSED] Cannot extend libraries
#1

[eluser]Unknown[/eluser]
Hi,

I have got a very strange problem : I can extend the Form_validation library in my local server but not in my distant server.

The configurations are :
Local server : PHP Version 5.2.3, Windows XP, safe_mode OFF
Distant server : PHP Version 5.2.0, FreeBSD, safe_mode ON

In the file MY_Form_Validation.php, I write :

Code:
class MY_Form_validation extends CI_Form_validation {

  function MY_Form_validation($config = array()) {
        parent::CI_Form_validation($config);
        die();
  }
}

In the local server, the script dies : the extended library is loaded.
However, in the distant server it doesn't die : the extended library is not loaded.

I cannot find why the extended library is not loaded in the distant server...
Do you have any idea of what the problem can be?
Thank you very much for any help.

Greeting from Paris.
This is my first post :-)

UPDATE : the issue is closed : I didn't notice that the V in the filename was capitalized in the file MY_Form_Validation.php.
Sorry, it was my fault.
#2

[eluser]Unknown[/eluser]
Not revelant




Theme © iAndrew 2016 - Forum software by © MyBB