[eluser]gurthgor[/eluser]
My controller is :
Code:
$partes_ruta = explode("index.php",$_SERVER['SCRIPT_NAME']);
// XAJAX
require_once($partes_ruta[0].'system/application/libraries/xajax/xajax_plugins/response/comet/comet.inc.php');
$this->load->library('xajax/xajax_core/Xajax');
$this->xajax->registerFunction(array("empezarchat", &$this, "empezarchat"));
$this->xajax->registerFunction(array("metermensaje", &$this, "metermensaje"));
$this->xajax->processRequest();
$datos['xajax_js'] = $this->xajax->getJavascript($partes_ruta[0].'system/application/libraries/xajax/');
$this->load->view('vistachat', $datos);
I receive the following error :
A PHP Error was encountered
Severity: Warning
Message: chat::require_once(/sigeCI/CodeIgniter_1.6.3/system/application/libraries/xajax/xajax_plugins/response/comet/comet.inc.php) [function.chat-require-once]: failed to open stream: No such file or directory
Filename: controllers/chat.php
Line Number: 10