Re: Stuck with migration from 1.3 to 2.x / euromark plugin

2013-02-26 Thread euromark
It seems you have not very much experience with Cake and how plugins work. So it might not be wise to try to work with my plugin. You will most likely run into quite a few other problems, as well. Better stick to the official plugin and migration guide as well as the documentation there:

Re: How to make a site like ask.cakephp.org?

2013-02-26 Thread André Luis
Maybe a tutorial, you can use the blog tutorial to start, the diference is the post title is the question, and the comments are the answears, and you implement the rest by your own... Em segunda-feira, 25 de fevereiro de 2013 14h19min45s UTC-3, Cesar Felipe escreveu: Hi I need make a site

Cache::clearGroup in model and component building cache again

2013-02-26 Thread LDSign
Hi I have ran into a problem which drives me crazy :( Ive a component which is used on every page to build the navigation for every individual user. The navigation is database driven so caching is a good idea - so far so good The cache is built in the startup-callback of the component like so

What happeened to the API Documentation on CakePHP.org?

2013-02-26 Thread kdubya
I can't find the classes anymore. I was specifically looking for the Debugger class in 1.3. The structure that used to be there until recently is gone. What happened? Did I miss something? Ken -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: What happeened to the API Documentation on CakePHP.org?

2013-02-26 Thread Jonathan Sundquist
You mean this api? http://api.cakephp.org/1.3/ On Tue, Feb 26, 2013 at 12:26 PM, kdubya kenwin...@winanstech.com wrote: I can't find the classes anymore. I was specifically looking for the Debugger class in 1.3. The structure that used to be there until recently is gone. What happened? Did I

Re: Cache::clearGroup in model and component building cache again

2013-02-26 Thread LDSign
Just one addition: The unlink-error is the same when I use the AutoCache-Plugin instead of the component-logic above... On Feb 26, 6:50 pm, LDSign fr...@lamozik.de wrote: Hi I have ran into a problem which drives me crazy :( Ive a component which is used on every page to build the navigation

Re: What happeened to the API Documentation on CakePHP.org?

2013-02-26 Thread kdubya
Exactly. When I used to go there I could choose to see the ALL the classes and choose from an alphabetical list. Now it shows a structure off to the left but when I try to find something like Debugger it is nowhere I can find. When I go to the 2.0 version of the API

error on installation -db config file

2013-02-26 Thread Osgaldor Storm
I have just set up a fresh install of Cake, When I set the db credentials, it threw the following fatal error when I browsed to the cake directory. Fatal Error *Error: *syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' *File:

CakePHP - how should I do these relationships and name my tables?

2013-02-26 Thread Don Smith
It's a song and lyrics database. I'm trying to bake an app from my database, which looks like this: (every table does have a primary key 'id', I just left them out..) songs song_name artists artist_name songs_singers artist_id (FOREIGN KEY artists.id)

Class 'AppController' not found in C:\xampp\htdocs\cakephp\lib\Cake\Controller\CakeErrorController.php on line 31

2013-02-26 Thread uma . more
-- 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 emails from it, send an email to

Model Subject not found

2013-02-26 Thread Bogdan Soos
Hi there and welcome to Cake, Try searching in the model association (belongsTo, hasMany, hasOne, hasAndBelongsToMany) I'll bet you have there a Subject. Bogdan. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this

Model Subject not found

2013-02-26 Thread Bogdan Soos
Hi there and welcome to Cake, Try searching in the model association (belongsTo, hasMany, hasOne, hasAndBelongsToMany) I'll bet you have there a Subject. Bogdan. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this

Re: CORE/cake/libs/model/db_acl.php, line 191

2013-02-26 Thread Esha Guha
hi, I am also facing a similar kind of problem.My errors are: *Notice* (8): Undefined index: id [*CORE/cake/libs/model/db_acl.php*, line *157*] Code | Context AclNode::node() - CORE/cake/libs/model/db_acl.php, line 157 AclBehavior::node() - APP/models/behaviors/acl.php, line 80

Re: error on installation -db config file

2013-02-26 Thread Jeremy Burns | Class Outfit
It's just a wild guess, but I reckon you are missing a closing bracket on line 67 of /app/Config/database.php Jeremy Burns Class Outfit http://www.classoutfit.com On 26 Feb 2013, at 00:40:14, Osgaldor Storm osgal...@gmail.com wrote: I have just set up a fresh install of Cake, When I set the

Re: error on installation -db config file

2013-02-26 Thread AD7six
Did you cheat and read the error message =)? On Tuesday, 26 February 2013 21:12:31 UTC+1, Jeremy Burns wrote: It's just a wild guess, but I reckon you are missing a closing bracket on line 67 of /app/Config/database.php Jeremy Burns Class Outfit http://www.classoutfit.com On 26 Feb

Calling functions in other controllers

2013-02-26 Thread lirc201
I'm still working in cake 1.3.15 (going to upgrade soon) but running into an issue. I'm setting up a shopping cart so I have functions in my cart_controller like Cart get() Cart total() When I attempt to call these functions in my checkout_controller ... var $uses = ('Cart',,,);

Re: Calling functions in other controllers

2013-02-26 Thread Jonathan Sundquist
If you are in the function trying to call another function just do $this-get() not $this-cart-get() On Feb 26, 2013 6:32 PM, lirc201 brian.e.lave...@gmail.com wrote: I'm still working in cake 1.3.15 (going to upgrade soon) but running into an issue. I'm setting up a shopping cart so I have

Re: Calling functions in other controllers

2013-02-26 Thread lirc201
I'm in 2 different controllers. In the checkout controller, I'm trying to call a function in the cart controller. On Tuesday, February 26, 2013 7:34:39 PM UTC-5, jsundquist wrote: If you are in the function trying to call another function just do $this-get() not $this-cart-get() On Feb 26,

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
That line is in the middle of an array definition. If i put in the closing parenthesis, it will leave out some values from the array being defined. This is out-of-the-box code from Cake, not my code. On Tuesday, February 26, 2013 2:12:31 PM UTC-6, Jeremy Burns wrote: It's just a wild

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
Yes, I read the message but this is in code written by the Cake team, it doesn't make sense that it wants a closing parenthesis because it's right in the middle of a long, multi-line array definition. Look in your own copy of the code at that point. That's not user code, that's just the

Re: error on installation -db config file

2013-02-26 Thread Thiago Belem
Please, copy the content of the file to: https://gist.github.com/ and post the link here. -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil *Assando Sites* - Curso online de *CakePHP* assando-sites.com.br http://goo.gl/b1EEd thiagobelem.net cont...@thiagobelem.net *Skype / gTalk

jQuery dialog box with remoteFunction Ajax Call

2013-02-26 Thread Chris
hi guys,... can someone help me please,... I need to call jQuery dialog box from page currently called from remoteFunction,... when I call another remoteFunction in that page, the page is not responding. How can I Ajax call without remoteFunction,...? this is what I currently have: script

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
https://gist.github.com/osgaldor/5044721 On Tuesday, February 26, 2013 8:47:24 PM UTC-6, Thiago Belem wrote: Please, copy the content of the file to: https://gist.github.com/ and post the link here. -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil *Assando Sites* - Curso

Re: error on installation -db config file

2013-02-26 Thread Thiago Belem
There's the } from the class definition? That's why I asked for the whole file. Maybe there's something wrong with your password? It contains ' ? And what about your PHP version? -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil *Assando Sites* - Curso online de *CakePHP*

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
ok, I updated it with the whole file Thiago. On Tuesday, February 26, 2013 9:36:43 PM UTC-6, Thiago Belem wrote: There's the } from the class definition? That's why I asked for the whole file. Maybe there's something wrong with your password? It contains ' ? And what about your PHP

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
password contains only letters and numbers, no ' php version is 5.2.8 On Tuesday, February 26, 2013 9:36:43 PM UTC-6, Thiago Belem wrote: There's the } from the class definition? That's why I asked for the whole file. Maybe there's something wrong with your password? It contains ' ? And

Re: error on installation -db config file

2013-02-26 Thread Thiago Belem
I would say the problem is here: 'prefix' = '',); Please, try again with the default database.php.default renamed to database.php without altering anything. -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil *Assando Sites* - Curso online de *CakePHP* assando-sites.com.br

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
The file is renamed database.php and I went and got a fresh copy of the file and the error was the same. I tried commenting out that prefix value and it made no difference. The fresh copy throws the same error without any of my config values. On Monday, February 25, 2013 6:40:14 PM UTC-6,

Re: error on installation -db config file

2013-02-26 Thread Thiago Belem
Rename or delete the file and see if the error go away. -- Thiago Belem Enviado pelo celular Em 27/02/2013 00:58, Osgaldor Storm osgal...@gmail.com escreveu: The file is renamed database.php and I went and got a fresh copy of the file and the error was the same. I tried commenting out that

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
Now that IS strange, i deleted the file and still have the same error. On Tuesday, February 26, 2013 10:06:27 PM UTC-6, Thiago Belem wrote: Rename or delete the file and see if the error go away. -- Thiago Belem Enviado pelo celular Em 27/02/2013 00:58, Osgaldor Storm osga...@gmail.com

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
Ok, i started over with a brand new install. On Monday, February 25, 2013 6:40:14 PM UTC-6, Osgaldor Storm wrote: I have just set up a fresh install of Cake, When I set the db credentials, it threw the following fatal error when I browsed to the cake directory. Fatal Error *Error: *syntax

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
Now i have a whole different can of worms. using the same credentials that errored before, i now get a green light on my db config file is present, but yellows on cake could not connect to database, it says it can't find the MySQL connection. i'm developing locally on WAMP, and my db is on

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
Your version of PHP is 5.2.8 or higher. Your tmp directory is writable. The *FileEngine* is being used for core caching. To change the config edit APP/Config/core.php Your database configuration file is present. Cake is NOT able to connect to the database. Database connection Mysql is

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
I downloaded the debug kit, but i don't know how to install it. On Tuesday, February 26, 2013 10:39:06 PM UTC-6, Osgaldor Storm wrote: Your version of PHP is 5.2.8 or higher. Your tmp directory is writable. The *FileEngine* is being used for core caching. To change the config edit

Re: error on installation -db config file

2013-02-26 Thread Osgaldor Storm
OMG, I'm s stupid! I found the whole problem, On my local mysql I didn't set up the same user and password I had on my remote machine. Derhh!! it's fixed now. Close this thread. Sorry folks, i'm not a newbie, i just make absentminded mistakes. On Monday, February 25, 2013 6:40:14 PM

reset form input after submission with jQuery and unique ID

2013-02-26 Thread Chris
hi guys,... can anyone help please,... how can I reset form after submission with unique ID, with jquery? Where unique ID is $photo_comment['PhotoComment']['id'] this is what I have so far,... and how do I code $photo_comment['PhotoComment']['id'] when complete: , 'complete' =

Re: What happeened to the API Documentation on CakePHP.org?

2013-02-26 Thread jodator
Hi there, they've changed the API yesterday, and i found it quite good. Here is 1.3 debugger: http://api.cakephp.org/1.3/class-Debugger.html I've found it by using the search box (it has a very nice autocomplete). Just remember to choose CakePHP version. On Tuesday, February 26, 2013 7:52:10

Viewing 2 or more elements in the same view in Cakephp

2013-02-26 Thread Victor Musvibe
I am using Google API for displaying charts on my app. I am trying to view more than two elements on the same view page (index.ctp). Meaning i am trying to have more than 2 Charts on the same view page. The index page is only showing the policies_accessible2012.ctp element. Here is how i am

Re: Inner Join cakephp

2013-02-26 Thread Mateusz Kapusta
Have you already populated the second table? In case not you could use a hasOne or hasMany association, but you might have to change the layout of the table itself. Il giorno lunedì 25 febbraio 2013 14:10:45 UTC+1, bau ha scritto: I have these 2 tables: cd_biblio (which contains a list of