Welcome Guest, Not a member yet? Register   Sign In
difference between localhost and real server
#3

[eluser]LightAlloy[/eluser]
I have the same problem..
It works on a local host (Windows), but when i move it to virtual hosting class can't inherit from MY_controller
it gets error: "Fatal error: Class 'ForAdmin' not found in /www_host/hosts/testcms.ex6.ru/system/application/controllers/admin/admin.php on line 3"
in /application/libraries/MY_controller.php I have:
Code:
<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
class ForAdmin extends Controller{

    function __construct()
    {
        parent::Controller();
    }
/*some_other_code*/
?>
and in
/controllers/admin/admin.php
Code:
<?php

class Admin extends ForAdmin{

    function __construct()
    {
        parent::__construct();    
    }
/*some_other_code*/
?>


Messages In This Thread
difference between localhost and real server - by El Forum - 03-03-2008, 06:16 PM
difference between localhost and real server - by El Forum - 03-03-2008, 07:31 PM
difference between localhost and real server - by El Forum - 04-23-2008, 12:43 AM
difference between localhost and real server - by El Forum - 04-23-2008, 02:13 AM
difference between localhost and real server - by El Forum - 04-23-2008, 08:49 PM
difference between localhost and real server - by El Forum - 04-24-2008, 02:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB