Topic: Xajax 0.5 with CodeIgniter 1.7.2 and Xampp 1.7.3 - XAJAX Call
Aftet following the CI - XAJAX perfect setup guide found in http://codeigniter.com/wiki/Xajax_perfect_setup/. The simple code below crashes my Apache. Note: The examples given in the AJAX distribution folder is working fine (i guess because the examples are not within CodeIgniter.) So this means the XAJAX is ok alone, but when setting up a CodeIgniter project with XAJAX is not ok. Anyone here knows the problem, is there a solution? Here's the code:
<?php
class Welcome extends Controller {
function Welcome()
{
parent::Controller();
$this->load->library('xajax');
$this->xajax->processRequest();
}
function index()
{
$this->load->view('welcome_message');
}
}
the code above crashes my apache... commenting "$this->load->library('xajax');" and "$this->xajax->processRequest();" would not make my apache crash... this means there's something wrong with how my xajax is configured, any help or clues would be deeply appreciated. thanks and more power.
Last edited by jpsmj214 (2010-03-29 7:05:31 PM)