Re: [Cakephp 3.2.5] Cannot match provided foreignKey

2016-03-28 Thread 'Manuel Maurer' via CakePHP
. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon. Like Us on FaceBook https://www.facebook.com/CakePHP Follow us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups &qu

Re: [Cakephp 2.8.1] Multiple assosication to one model with habtm throws a notice

2016-03-24 Thread 'Steffen Reinig' via CakePHP
1388*] On Monday, March 14, 2016 at 8:29:13 PM UTC+1, John Andersen wrote: > > Check your model names in the HABTM relationships. Looks like you have a > mix of singular and plural. > Enjoy, John > > On Monday, 14 March 2016 05:33:36 UTC+2, Steffen Reinig wrote: >> >>

[Cakephp 3.2.5] Cannot match provided foreignKey

2016-03-24 Thread 'Manuel Maurer' via CakePHP
=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; In a fresh copy of Cakephp 3.2.5 I added 3 files: *src/Model/Table/UsersTable.php:* belongsTo('Users'); } } *src/Controller/ArticlesController.php:* Articles->find('all')->contain(['Users']); var_d

Re: Looking for an experienced CakePHP developer

2016-03-23 Thread 'zhaff' via CakePHP
Hi, I have sent you an email. Please find my CakePHP 2.x works here http://neptunescripts.com Best regards, Zhaff On Thursday, March 24, 2016 at 3:27:53 AM UTC+8, majna wrote: > > Hi, > > I'm looking for an experienced CakePHP 2.x developer, freelance, remote, > long-term.

[Cakephp 2.8.1] Multiple assosication to one model with habtm throws a notice

2016-03-13 Thread 'Steffen Reinig' via CakePHP
Hello Cakephp Fans, today i receive these error: Notice (8): Undefined index: User [CORE\Cake\Model\Datasource\DboSource.php, line 1388] Its easy to reproduce: Model: User belongsTo Group Model: Permission habtm Rights (className User) Permission habtm Owners (className User) When i

Stange behaviour with find('list')

2016-02-17 Thread 'Michael Kornatzki' via CakePHP
1003022 [1440065437] => 1003029 and this is wrong! The key should now the same as the value. And if i run the sql against the mysql-Database i get the right results Do i oversee something? I use cakePhp 3.1.5 Thanks in advance, michael -- Like Us on FaceBook https://www.facebook.co

Srange behaviour with find('list')

2016-02-17 Thread 'Michael Kornatzki' via CakePHP
and this is wrong! The key should now the same as the value. And if i run the sql against the mysql-Database i get the right results Do i oversee something? I use cakePhp 3.1.5 Thanks in advance, michael -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com

Re: CAKE 3.0 Tutorials using SQLITE

2015-09-22 Thread 'jacmgr' via CakePHP
Thankyou, I'll look into that and learn the migrations system in PART 3 of the Blog tutorial. My perspective at this point, was as someone new to cake just trying to follow the turorials to see if cakephp was something within my grasp. The mysql above with instructions to execut

Re: CAKE 3.0 Tutorials using SQLITE

2015-09-21 Thread 'jacmgr' via CakePHP
EIGN KEY (bookmark_id) REFERENCES bookmarks(id) ); CREATE TABLE "tags" ( "id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "title" text NOT NULL UNIQUE, "created" text, "modified" text ); -- Like Us on FaceBook https://www.facebook.com/Cak

CAKE 3.0 Tutorials using SQLITE

2015-09-20 Thread 'jacmgr' via CakePHP
rks(id) ) *Error in query (1): near "tag_key": syntax error * * also does not seem to allow 2 primary keys. <http://localhost/CAKE/sqlitedatabases/adminer/?sqlite=&username=&db=dummy.sqlite&sql=#sql-4> -- Like Us on FaceBook https://www.facebook.com/CakeP

Re: CakePHP 3 - Login form not working

2015-07-21 Thread 'Sajoscha Sauer&#x27; via CakePHP
ls in the CakePHP 3 documentation and I am > trying to get the login functionality working, but so far I have no luck. > I have a Users table with the 2 fields 'username' and 'password'. The > password is hashed with `(new DefaultPasswordHasher)->hash($password);` >

Re: CakePHP 3

2015-07-16 Thread 'Sajoscha Sauer&#x27; via CakePHP
>success(__('Your article has been saved.')); > return $this->redirect(['action' => 'index']); > } > $this->Flash->error(__('Unable to add your article.')); > } > $this->set('article

How to create Login using "already-hashed password" from another application (non-cakephp application)

2015-06-24 Thread 'Cruisine&#x27; via CakePHP
Dear friends, Recently i'm working with cakephp project. The database used in the project is from another already built application (non-cakephp app), which is has its own user table that has full of user's datas. The password are already hashed from that application. My question is,

Advice for a newbie?

2015-03-22 Thread 'Jim_1993z&#x27; via CakePHP
Hello, I am an occasional database programmer, going way back to dBase days and I want to wean myself off microsoft access. CakePHP looks interesting. I have never really done anything in PHP, but I have at times studied it and believe I could master it. Tried Ruby on Rails but learning curve

Re: How do I update cakephp existing app?

2015-01-29 Thread Cakephp Expert
For more help, read this post: http://mark-story.com/posts/view/using-composer-in-cakephp-3-0 On Wednesday, January 28, 2015 at 9:52:26 PM UTC+5:30, frocco wrote: > > Hello, > > I see cakephp 3 has been updated, how do I update my current app that is > using an older versi

Re: frustrating redirect issue

2014-11-12 Thread 'Benjamin Chéré&#x27; via CakePHP
then complains that there is no view. > > any ideas ? > > > > > ps1. I use 1.3.20 > ps2. the isAuthorized is set to always 'return true' > > > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP

Re: using cakephp with nginx

2014-10-21 Thread 'zhaff&#x27; via CakePHP
On Wednesday, October 22, 2014 3:09:57 AM UTC+8, Saif Turki wrote: > > hi, > sorry for my bad english > i replaced *apache* with *nginx* on my dedicated server (running under > debian 7.5 wheezy) > i have many cakephp project that works before if i just enter in my

Re: migration issue

2014-09-11 Thread 'Dallas&#x27; via CakePHP
l app/site? - It looks to me like > you're nearly there! > -- 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" group. To unsubscribe f

Re: migration issue

2014-09-11 Thread 'Dallas&#x27; via CakePHP
t; you're nearly there! >> > -- 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" group. To unsubscribe from this group and stop receiving

Re: migration issue

2014-09-11 Thread 'Dallas&#x27; via CakePHP
ook 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" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@g

Re: migration issue

2014-09-06 Thread 'Dallas&#x27; via CakePHP
Dakota, do you know the answer to this: I am about to run the upgrade shell for the second time, the first time it just installed a new copy of cakephp. Now I have followed all the instructions per the cake website. I am using the console by ssh-ing into my shared server. by my question is

checking on final steps for upgrade shell

2014-09-05 Thread 'Dallas&#x27; via CakePHP
Hello Folks, I am about to run the upgrade shell for the second time, the first time it just installed a new copy of cakephp. Now I have followed all the instructions per the cake website. I am using the console by ssh-ing into my shared server. by my question is, since I mostly need to

Re: migration issue

2014-08-28 Thread 'Dallas&#x27; via CakePHP
total virgin. Thanks D On Thursday, August 28, 2014 2:25:17 AM UTC-4, Dakota wrote: > > Hi Dallas, > > Have you tried running the CakePHP 2 upgrade shell? > > > http://book.cakephp.org/2.0/en/console-and-shells/upgrade-shell.html#upgrade-shell > > It does about 90%

Re: migration issue

2014-08-27 Thread 'Dallas&#x27; via CakePHP
26 August 2014 19:48, Stephen S > > wrote: > >> It doesn't look like you're using the request handler in this controller >> or the construct method, why not remove both? CakePHP 2.x controllers don't >> really need to use construct, beforeFilter is usually mor

Re: migration issue

2014-08-27 Thread 'Dallas&#x27; via CakePHP
t; image('index_01.jpg'));?> >>> >>> and >>>css('shark')); ?> >>> >>> shark being my stylesheet. when I removed the above css line, my >>> background came up. So I do not know if I no longer need these lines or if

Re: migration issue

2014-08-27 Thread 'Dallas&#x27; via CakePHP
calling for undefined functions in the >> error messages. >> >> Thanks for any help >> > -- 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 &qu

Re: migration issue

2014-08-27 Thread 'Dallas&#x27; via CakePHP
ling for undefined functions in the > error messages. > > Thanks for any help > -- 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" grou

Re: unidentified index

2014-08-26 Thread 'Dallas&#x27; via CakePHP
;], 'label'=>'', 'after'=>'Phone Number')); > if(array_key_exists('phone', $this->Errors)){echo > $this->Errors['phone'];} > echo $this->Form->input('email', array('type'=>'text', > 'v

unidentified index

2014-08-26 Thread 'Dallas&#x27; via CakePHP
ype'=>'text', 'value'=>$this->data['phone'], 'label'=>'', 'after'=>'Phone Number')); if(array_key_exists('phone', $this->Errors)){echo $this->Errors['phone'];} echo $this->

Re: migration issue

2014-08-26 Thread 'Dallas&#x27; via CakePHP
ages. > > Thanks for any help > -- 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" group. To unsubscribe from this group and stop rece

Re: problems while upgrading from cakephp 1.2.5 to 2.5.3

2014-08-25 Thread 'Dallas&#x27; via CakePHP
Thank you Jeremy - that worked! On Friday, August 22, 2014 10:03:44 PM UTC-4, Dallas wrote: > > I have migrated from cakephp 1.2.5 to Cake 2.5.3 by installing new cake, > importing old database and importing files. I have made changes to file as > per the migration guides but

Re: migration issue

2014-08-25 Thread 'Dallas&#x27; via CakePHP
> > shark being my stylesheet. when I removed the above css line, my > background came up. So I do not know if I no longer need these lines or if > the language has changed. They were calling for undefined functions in the > error messages. > > Thanks for any help > -- Li

Re: migration issue

2014-08-23 Thread 'Dallas&#x27; via CakePHP
or if > the language has changed. They were calling for undefined functions in the > error messages. > > Thanks for any help > Dallas -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are su

migration issue

2014-08-23 Thread 'Dallas&#x27; via CakePHP
were calling for undefined functions in the error messages. Thanks for any help -- 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" group. To

Re: problems while upgrading from cakephp 1.2.5 to 2.5.3

2014-08-23 Thread 'Dallas&#x27; via CakePHP
Hello again Jeremy, Can you explain? I do not see beforeFilter? I tried to just remove but I get another error message. Thanks D On Friday, August 22, 2014 10:03:44 PM UTC-4, Dallas wrote: > > I have migrated from cakephp 1.2.5 to Cake 2.5.3 by installing new cake, > importing old

Re: Security salt issue

2014-08-23 Thread 'Dallas&#x27; via CakePHP
password for the administrator. Is there somewhere I could add the security salt to the database so that I no longer get the error message? Or do I just ignore? Thanks again. On Friday, August 22, 2014 10:25:20 PM UTC-4, Dallas wrote: > > I installed a new version of Cakephp 2.5.3 and am mig

Security salt issue

2014-08-22 Thread 'Dallas&#x27; via CakePHP
I installed a new version of Cakephp 2.5.3 and am migrating old files. When I first set up I used a new security salt number then I changed to the salt number from the older version I was migrating because I read that I should do this. Now I am getting this message: <http://cakephp.

problems while upgrading from cakephp 1.2.5 to 2.5.3

2014-08-22 Thread 'Dallas&#x27; via CakePHP
I have migrated from cakephp 1.2.5 to Cake 2.5.3 by installing new cake, importing old database and importing files. I have made changes to file as per the migration guides but I am getting this error:*Error: * syntax error, unexpected '$this' (T_VARIABLE), expecting function (

updating cake 1.2.5 to 2.5.3

2014-08-04 Thread 'Couples Corner&#x27; via CakePHP
- could this be causing the problem? Should I put the contents of base_app_Controller into the AppController?see musicthatjumpedtheshark.com/groups -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you

cross tables in cake 1.3

2014-06-30 Thread 'Chris&#x27; via CakePHP
t', 'Dba', 'DbaFavorite', 'DbaLike', 'Video', 'VideoFavorite', 'VideoLike', 'VideoComment', 'Classified', 'Event', 'Notification', 'ProfileNotification', 'Bookmark', 'Messag

Fatal error: Out of memory (allocated 10485760)

2014-05-23 Thread 'Chris&#x27; via CakePHP
hi guys,... why am I getting this error from time to time,...? *Fatal error*: Out of memory (allocated 10485760) (tried to allocate 19456 bytes) in thanks Chris -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this

Re: Installing cakephp on Hostgator

2014-04-27 Thread 'zhaff&#x27; via CakePHP
Hi, I have several CakePHP application running smoothly on Hostgator. No configuration needed accept need to enable PHP 5.3 (Depending on your CakePHP version) The steps to enable PHP 5.3 is here: https://support.hostgator.com/articles/hosting-guide/hardware-software/php-5-3 Good luck. On

Problems with tool Bake CakePhp

2013-06-20 Thread CAKEPHP MIRIM
hi guys, I have problems in using the tool bake CakePHP at the time of use in the generation of CRUD the command prompt that informs not found a database 'default', and he does not find the database that was created within the standards set by CakePHP, so he concludes the command and

Problems with Bake tool CakePhk

2013-06-20 Thread CAKEPHP MIRIM
hi guys, I have problems in using the tool bake CakePHP at the time of use in the generation of CRUD the command prompt that informs not found a database 'default', and he does not find the database that was created within the standards set by CakePHP, so he concludes the command and

CakePHP migration 1.2 to 2.0.6 stable

2012-02-16 Thread CakePHP
Hi dier webmasters.I need from "CakePHP.org" to migrate my website cakephp version.I'm dont webmaster and i cant do it.You have a paid service for it? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Ques

Re: CakePHP uprgate

2012-01-28 Thread CakePHP
Tilen Majerle , euromark thanks you very much -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email

Re: CakePHP uprgate

2012-01-27 Thread CakePHP
thanks for reply.for example you can say me which code i will must chenge? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe

CakePHP uprgate

2012-01-27 Thread CakePHP
Hi,i use cakephp versinon 1.2 beta.can i uprgate it to cakephp version 2 without version 1.3?or firstly i must uprgate to 1.3? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others

How to set uploaded photos size in pixel

2011-12-01 Thread CakePHP
Hi.I use cakephp version:1.2.0.5875 pre-beta I have image hosting and have issue with uploaded image size in PIXEL.When image pixel more 10.000x10.000 this problem for my site.Image can not converted.I want to set limit the uploaded image size.Please help me @@@ http://www.w3.org/ TR/xhtml11

how to change

2011-01-23 Thread Ahmed - CakePHP
don't know where is it and how to change it Can you please tell me how can I change it Thank you -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related

Display data from specific data in the Home Page

2010-12-26 Thread Ahmed - CakePHP
Hello Everybody, As you know, I am a beginner in CakePHP. I trying to do a blog, simple blog, just as a training in how to build a websites using CakePHP. I created few Controllers, such as (users, posts, comments and categories). Also I designed the Home Page, which is empty now. I want to

Re: Register Function--Hashing Password and Auto-login Causes Password Validation Disabled in Register Page

2010-12-20 Thread Ahmed - CakePHP
> > >         } > > > > > Do I add this in?: > > > > > var $components = array('Auth'); > > > > > or can I add into   var $helpers = array('Html', 'Form', > > > > 'Auth' );    ? > > > &g

Re: setFlash() doesn't wotk with me on WAMP

2010-12-19 Thread Ahmed - CakePHP
l to go ahead to solve the problem. > > Amit Badkas > > PHP Applications for E-Biz:http://www.sanisoft.com > > On Mon, Dec 20, 2010 at 12:18 PM, Ahmed - CakePHP > wrote: > > > > > Any help here ?!?!?! > > > On Dec 19, 10:07 am, Ahmed - CakePHP wro

Re: setFlash() doesn't wotk with me on WAMP

2010-12-19 Thread Ahmed - CakePHP
Any help here ?!?!?! On Dec 19, 10:07 am, Ahmed - CakePHP wrote: > You said: > "Make sure you have declared both the Session Component and the > Session Helper in your app_controller." > > How to do that ?!?! > What shill I do exactly Jeremy ? > > On Dec

Re: setFlash() doesn't wotk with me on WAMP

2010-12-18 Thread Ahmed - CakePHP
.com > > On 18 Dec 2010, at 16:13, Ahmed - CakePHP wrote: > > > > > Hello, > > > I am very very very new on CakePHP. > > I tried to do a blog using the CakePHP. I did it :). > > but I found a problem: > > when I want to use "$this->Session->se

setFlash() doesn't wotk with me on WAMP

2010-12-18 Thread Ahmed - CakePHP
Hello, I am very very very new on CakePHP. I tried to do a blog using the CakePHP. I did it :). but I found a problem: when I want to use "$this->Session->setFlash("Write whatever");" it doesn't work. I don't see the sentences that I write inside setFlash. Th

Sample CMS with IMS for products

2010-03-19 Thread Jack CakePHP
Dears, I am new to Cakephp, and I would like build sample app to manage one of the products, I wanna do the following things, and I wanna use CRUD to create model, controllers based on BAKE: # Front end page for the visitors, they will see list of products in the index page, and each products

Fatal error: require_once() error while using captcha component

2010-01-27 Thread annamalai,cakephp
de_path='D:\wamp\www\furniture_project;D:\wamp\www \furniture_project\app\;.;C:\php5\pear') in D:\wamp\www \furniture_project\app\controllers\components\captcha.php on line 2 pleas help me... thanks in advance Check out the new CakePHP Questions site http://cakeqs.org and help others

Database Design Advice Needed - Multiple Companies having Accounting, Production and CRM components

2009-10-30 Thread cakephp user
Good day. Please note that I am not a professional and the software I'm creating is for two small companies i own. Please take it easy on me. My plan is to create a cakephp app which has accounting, production (job tracking) and crm components. I understand it sounds ambitious but I'

Re: A little help needed on determining my model relation ships please

2009-06-04 Thread cakephp
elationships you require. > > Cake bake will not automatically detect recursive parent_id as a category. > so you will have to define that manually. > > -Original Message- > From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf > > Of Beedge > Sent: 2009-06

test

2007-07-18 Thread cakePHP with Ajax
test --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options,

Populate select box using another select box using Ajax

2007-07-18 Thread cakePHP with Ajax
Hi, I have successfully populated the State/Province select box depends on the Country select box. Now my problem is that when i try to save the State/Province values it gives me null value, end when we view source of this page it does not show the State/Province select box values. Please help me.

Re: eclipse and PDT - cannot resolve

2007-06-26 Thread cakePHP
Thanks for the info. I have tried using the PDT All-in-one as well but ran into exit code=13 error (could not find anything on web to resolve it and as last resort I posted here). Also tried manual install (eclipse,pdt), checking all dependencies, etc. Langdon - one thing I noticed with PDT all-in

eclipse and PDT - cannot resolve

2007-06-25 Thread cakePHP
hi, I am trying to migrate from gedit to eclipse+PDT for my cakephp development work. Does anyone here this combination working for them? I have spent a week trying to get it working on Ubuntu & Sun Java 1.5 (AMD 64 platform, so all are 64-bit versions). When trying to install PDT, I

Re: How can I fetch selected associations?

2007-06-12 Thread cakePHP
Mariano had a great approach to unbinding selected associations before reading data. See: http://bakery.cakephp.org/articles/view/an-improvement-to-unbindmodel-on-model-side Good luck. V On Jun 11, 10:08 pm, Jorge Vargas <[EMAIL PROTECTED]> wrote: > Hi > > I'm new to cake but not to app develop

cakephp request lifecycle

2007-06-11 Thread cakePHP
Hi, Is there a good article that discusses the lifecycle of a request to response in cakephp? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email t

dAuth 0.3 and sha1.js

2007-06-04 Thread cakePHP
Hi, I have been researching on the dAuth v0.3 from Dieter. One comment (from Paul Venkatesh) on Bakery is a potential issue with sha1.js implementation. Does anyone know if Paul's comments are still valid or Dieter's original inclusion of the sha1.js still works fine? Thanks. V --~--~---

getLastInsertId and 'connection pooling'

2007-06-01 Thread cakePHP
Hi, Does CakePHP pool database connections (using mysql) or does it establish a connection per user thread? If it is the latter, is there a limit on the number of concurrent connections to the database? I ask as I want to use getLastInsert() function, which nobody here seems to have any issues