Welcome Guest, Not a member yet? Register   Sign In
AjaxFw (CJAX) For CodeIgnater 5.0 Stable
#21

[eluser]Ajaxboy[/eluser]
Hi Antonio,

Cjax is currently compatible with php 5.3, what version of php are you using?
#22

[eluser]AntonioJCanto[/eluser]
5.2.17 is my phpversion. I am using a 1and1 hosting.
#23

[eluser]Ajaxboy[/eluser]
Yeah, as mentioned the current version of Cjax requires at least php 5.3+
#24

[eluser]AntonioJCanto[/eluser]
But, may it work properly with my version? Or should I use another CJAX version?

SOLVED.
#25

[eluser]AntonioJCanto[/eluser]
Hi, this is me again Big Grin

I fixed the problem with my host. It is now running php 5.4.4. But I have some problems again.

Code:
A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: classes/core.class.php

Line Number: 247
Cjax Works


version: 5.0-Stable
A PHP Error was encountered

Severity: Notice

Message: Array to string conversion

Filename: classes/core.class.php

Line Number: 382

I get these errors. Some problem with configuration again? Or is it anything else?

Thank you so much.
#26

[eluser]Ajaxboy[/eluser]
php 5.4 just came out, hence rarely used at the moment - hasn't been tested either .... sign

Again, I can't guarantee something that isn't tested. However you are free to manually fix the warnings, These are likely just warnings but no guarantees.

#27

[eluser]Ayman Elarian[/eluser]
yes , i use v 5 no error appear on firebug

just no response came
Call executed. cjax-5.0-Stable.min.js:362
Waiting for response.. cjax-5.0-Stable.min.js:373
XHR finished loading: "domain/ajax.php?overlay/loadsubcustomers/28".

url response is empty and that mean that ajax.php not call overlay controller on windows platform

#28

[eluser]Ajaxboy[/eluser]
Are php errors turned on?, Try this:

ini_set('display_errors', 1);
ini_set('log_errors', 1);
#29

[eluser]Ayman Elarian[/eluser]
no error appear and firebug say that response have no data , it look like no controller hook done , but codeigniter index.php work normaly
#30

[eluser]Ayman Elarian[/eluser]
after tracking code i found that error from this point
on ajaxfw.php

define('AJAX_CONTROLLER',1);
require_once (dirname(__file__)).'/cjax/cjax.php';
$ajax = CJAX::getInstance();
$controller = $ajax->input('controller');

// self echo for controller dont print any name that mean that CJAX::getInstance(); input function dont return controller on windows iis

how to fix that ?
echo $controller;

if($controller) {
new ajax($controller);
}




Theme © iAndrew 2016 - Forum software by © MyBB