Ajax Framework (CJAX) for Codeigniter 2.x+ |
[eluser]bielco[/eluser]
So guess i have the next file structure... /var/www/vhosts/mywebsite.com then everything is installed in that dir, and only the index.php and the .htaccess from codeigniter to into the public dir (public_html when they use directaccess). so that means the next structure whereas mywebsite/ is the root and mywebsite/public is the webroot. so we have this structure... mywebsite.com/ <--- this is not http://mywebsite.com application controllers responses views cjax ? public [the website root] <--- this is http://mywebsite.com .htaccess index.php ajax.php ajaxfw.php system Is that correct ? or does cjax go into the public dir ? By the way, i moved it to public also, but seems not to help. And ajax and ajaxfw in the public ? And the rest in application right ? So seems that i did not missed anything correct ? However because i use .htaccess for codeigniter, i think that is why it does not work. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L] Not sure however, because i get no error messages anywhere, it just prints blanc screen when it do one of the next... http://mywebsite.com/ajax.php/test/test http://mywebsite.com/ajax.php?test/test No errors, totally nothing, just blanc. Maybe if i can get it to work, i can update the wiki or docs for you to list the two scenario's for member to install on their codeigniter framework. But i have no luck with it that far. |
Welcome Guest, Not a member yet? Register Sign In |