Вопрос по php – PHP не может найти мой класс?

-1

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

include "/home/core/public_html/d/core/source/class.Control.php";

Error: User Rate Limit Exceeded

*Fatal error: Class 'Control' not found in /home/core/public_html/d/core/source/class.ControlEntry.php on line *

Error: User Rate Limit Exceeded

 <?php 
class ControlEntry
{
    private $control_object;

    function __construct( $control_object )
    {
        $this->control_object = $control_object;
    }
    public function actuate()  
    {   
        if( isset($_POST['ajax_type']) )
        {
            $this->control_object->ajax( $_POST['ajax_type'] );
        }
        else
        {
            $this->control_object->reload();
        }
    }
}
include "/home/core/public_html/d/core/source/class.Control.php"; // Can not find this f***ing file even though it is there.
$control_entry_object = new ControlEntry( new Control() );
$control_entry_object->actuate();

Troubleshooting List

Error: User Rate Limit Exceeded konqi
Error: User Rate Limit Exceeded Tom van der Woerdt
Error: User Rate Limit Exceeded Tom van der Woerdt
Error: User Rate Limit Exceeded Tom van der Woerdt
Error: User Rate Limit Exceeded David Nguyen

Ваш Ответ

3   ответа
1

"/home/domain/public_html/d/core/source/class.Control.php";/home/domain/public_html/d/core/source/class.ControlEntry.php

1

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded
Error: User Rate Limit Exceededchmod 777 *Error: User Rate Limit Exceeded
3

Error: User Rate Limit Exceededclass.ControlEntry.phpError: User Rate Limit Exceededclass.Control.phpError: User Rate Limit Exceeded

Похожие вопросы