Re: generateTreeList starting from an id

2015-11-24 Thread Lê Minh Thành
work for me Vào 20:45:23 UTC+7 Thứ Sáu, ngày 16 tháng 3 năm 2012, gimmebucks đã viết: > > What i always do is get the node lft and rght value. > then set conditions array('Model.lft >' => $node['lft'],'Model.rght <' > => $node['rght']) > to include the node, substitute > with >= and < with <=

how to make a array path

2015-11-24 Thread skank
first thank for all CakePHP. I learned a lot of thing when i work with your framework and I hope I can be useful one day I am writing this little code to cycle through the array and I think that it can be useful 1){ $path = strstr($path,'.'); $path = substr($path,-strlen($path)+

Configuration Problem

2015-11-24 Thread sebastian Oldani
Hello friends, i am new in this list and i have a problem with my cakephp3 configuration. I installed a server with apache2, php5, mysql, (php5-intl), etc.. I downloaded the cake from the site, and unzip in my server. When i try to open the page i have an error (Fatal Error) like this Error: C

Re: Cakephp 3 and custom datasources

2015-11-24 Thread Ricardo Aragón
Hi Martin, You could learn about the custom datasources in CakePHP 3? I need to get information about this. Regards El domingo, 31 de mayo de 2015, 18:39:15 (UTC-3), Martin escribió: > > Hi, > > For my current project I need to load data from different locations via > API's. I think the best wa

failed to open stream: Permission denied give error when I use SFTP and phpseclib 0.3.0

2015-11-24 Thread mohsin rathod
Hi, I used cakephp 2.7.6 , Apache server of Centos and Centos 6.7. My application root directory is /var/www/Vasudev/ Vasudev is my application name. I want to download a files from FTP server. Suceessfully login and Listing the files for download in cakephp. but Bellow error is not do downlo

Re: cakephp 2.5 cron jobs

2015-11-24 Thread Ruslan
Hi, The first of all, Did you try copy-paste your command in terminal? ( /path/ to/app/ && Console/cake your_shell_name params). Do you see ant errors? show it here. Check users rights I think you have issue (or will have second issue :) ) with permissions for tmp/cashe. Don't forget, you run c

Re: Loading external vendor's in CakePHP 3

2015-11-24 Thread Mani
Works fine in Cake2 using require_once however falls over in Cake3. How did you get it to work. My code is as follows: require_once(ROOT.'/vendor/twilio/sdk/Services/Twilio.php'); $this->client = new Services_Twilio(Configure::read('Twilio.sid'), Configure::read('Twilio.token')); I get Class n

Re: create database within cakephp and fill it with some tables.

2015-11-24 Thread Ruslan
Hi, I miss understand for what. But in any case you can run any SQL request : Model::query() BR. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" gro

Overriding translations

2015-11-24 Thread Aday Talavera
My current and default app locale is "es_ES". I generated my default.pot using I18n shell and my en_US translations in default.po and default.mo inside en_US folder. es_ES doesn't have .po and .mo files at all, because the "native language" of the app strings is es_ES. How can I override a tra