# |
Jun 29th 2016, 19:17 |
majidsportback |
And i get Class 'PredisAutoloader' not found |
# |
Jun 29th 2016, 19:17 |
majidsportback |
PredisAutoloader::register(); $redis = new PredisClient(); |
# |
Jun 29th 2016, 19:16 |
majidsportback |
App::import('Vendor', 'Predis', array('file' => 'predis' . DS . 'predis' . DS . 'autoload')); |
# |
Jun 29th 2016, 19:16 |
majidsportback |
But I can not load the package |
# |
Jun 29th 2016, 19:16 |
majidsportback |
https://scotch.io/tutorials/getting-started-with-redis-in-php |
# |
Jun 29th 2016, 19:15 |
majidsportback |
Hi all, i need to use Predis on Cakephp |
# |
Jun 29th 2016, 19:05 |
helpMeObiWan |
of *course |
# |
Jun 29th 2016, 19:05 |
helpMeObiWan |
the user is not allowed, so it redirects the ajax, and returns a regular view response, that is not rendered of curse, but still, since the response is 200, the javascript thinks it was ok |
# |
Jun 29th 2016, 19:05 |
helpMeObiWan |
I've checked the response in the deve tools |
# |
Jun 29th 2016, 19:04 |
helpMeObiWan |
I'm sure |
# |
Jun 29th 2016, 19:01 |
harry1 |
The page you requested cannot be found! |
# |
Jun 29th 2016, 18:58 |
harry1 |
it then says to go to report_manager/reports |
# |
Jun 29th 2016, 18:58 |
harry1 |
have followed the instructions to install, which is really some adds to bootstrap.php |
# |
Jun 29th 2016, 18:58 |
harry1 |
has anyone used this: https://github.com/luisdias/CakePHP-Report-Manager-Plugin |
# |
Jun 29th 2016, 18:41 |
savant |
are you sure the user isn't authorized? |
# |
Jun 29th 2016, 18:35 |
helpMeObiWan |
but I can't seem to find it |
# |
Jun 29th 2016, 18:35 |
helpMeObiWan |
looking up in the doc |
# |
Jun 29th 2016, 18:35 |
helpMeObiWan |
when you have no access allowed? |
# |
Jun 29th 2016, 18:35 |
helpMeObiWan |
401 |
# |
Jun 29th 2016, 18:35 |
helpMeObiWan |
so ajax will receive |
# |
Jun 29th 2016, 18:35 |
helpMeObiWan |
how can I configure it |
# |
Jun 29th 2016, 18:35 |
helpMeObiWan |
it's still a code 200 |
# |
Jun 29th 2016, 18:34 |
helpMeObiWan |
the thing is, when you have no access allowed |
# |
Jun 29th 2016, 18:34 |
helpMeObiWan |
I'm using authorize, and I have a few AJAX requests coming in |
# |
Jun 29th 2016, 18:34 |
savant |
hi |
# |
Jun 29th 2016, 18:34 |
helpMeObiWan |
gooooooooood evening beautiful community |
# |
Jun 29th 2016, 18:14 |
anhtuank7c |
@ndm: thanks <3 |
# |
Jun 29th 2016, 18:10 |
ndm |
@anhtuank7c: http://book.cakephp.org/3.0/en/console-and-shells.html#styling-output |
# |
Jun 29th 2016, 17:49 |
anhtuank7c |
I see cake shell command very colorful. Can anyone show me how to fill color to the shell out message? |
# |
Jun 29th 2016, 17:33 |
sai_ |
the app is not able to access any image from the thumb or upload folder |
# |
Jun 29th 2016, 17:33 |
sai_ |
my .htaccess is messing up with the url rewriting i guess |
# |
Jun 29th 2016, 17:32 |
sai_ |
the problem is i am working on a cakephp app , i got from a friend , now trying to run it in local host |
# |
Jun 29th 2016, 17:31 |
sai_ |
okay great |
# |
Jun 29th 2016, 17:31 |
savant |
so that all will learn from the answers :) |
# |
Jun 29th 2016, 17:31 |
savant |
sai_: if you have questions, I would ask her in the #cakephp channel |
# |
Jun 29th 2016, 17:30 |
savant |
cool |
# |
Jun 29th 2016, 17:30 |
sai_ |
i am new to cakephp |
# |
Jun 29th 2016, 17:29 |
savant |
hi |
# |
Jun 29th 2016, 17:29 |
sai_ |
hello |
# |
Jun 29th 2016, 17:00 |
savant |
its pretty easy to extend for your use-case |
# |
Jun 29th 2016, 17:00 |
savant |
the whole thing is written in bash and some golang for a few tools |