Re: How to save information from multiple tables at once?

2015-09-14 Thread rumble
If your tables have correct associations, then it would be saved correctly by calling $this->Table1->Table2->save($data) I recommend you to take a look at the blog example/tutorial. On Thursday, August 13, 2015 at 8:37:34 AM UTC, Weslley Carlos wrote: > > Good afternoon. > I'm using CakePH

How to save information from multiple tables at once?

2015-08-13 Thread Weslley Carlos
Good afternoon. I'm using CakePHP 3 a short time. I'm trying to create a registration application lots. In my database, I have two tables that are related: lots and addresses. The table addresses relates to other tables that form the complete register an address (countries, states, etc ..). Usi

Re: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2014-09-14 Thread HK
thanks a lot. it is working. On Sunday, September 14, 2014 8:42:41 AM UTC+3, Anthony GRASSIOT wrote: > > HK, it has been fixed yesterday in 3.x > The view is now rendered and a warning is displayed in debugKit's request > panel. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us o

Re: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2014-09-14 Thread Anthony GRASSIOT
HK, it has been fixed yesterday in 3.x The view is now rendered and a warning is displayed in debugKit's request panel. -- 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 G

Re: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2014-09-13 Thread HK
? Can I change that behavior? On Thursday, February 14, 2013 9:37:03 PM UTC+2, Jeremy Burns wrote: > > Looks like you are debugging out some information before the page is > rendered. > > Jeremy Burns > Class Outfit > > http://www.classoutfit.com > > On 14

Re: Getting information from a model inside of a model file

2014-02-03 Thread Jaz
e only way that I can get to any of the other information is to go > through the data array: $this->data['InvoiceItem']['quantity']. > > You can add __get to your app model to make other properties accessible in > the way you ask but ^ is the norma

Re: Getting information from a model inside of a model file

2014-02-03 Thread AD7six
> The $id property can be accessed without any problems. The primary key value (whether it's named id or not) is accessed via $this->id in CakePHP > But the only way that I can get to any of the other information is to go through the data array: $this->data['InvoiceIt

Getting information from a model inside of a model file

2014-02-03 Thread Jaz
html .="".$this->InvoiceItem['quantity'].""; $html .="Notes"; $html .="Type"; $html .="Subtotal"; return $html; } When I print out $this->data, this is the information that I get. That part seems to be working just fine. Array ( [I

Re: CakePHP - Warning - Cannot modify header information - headers already sent by

2013-04-24 Thread Sok SophaNarin
> create('Message',array( 'url' => 'add/'. > > $topic_id ));?> > > > > New topic > >> echo $form->input('message_text'); > > echo $form->input('user_id'); > > echo $form->hidden('topic_id',array( 'value' => $topic_id)); >

Re: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2013-02-14 Thread Jeremy Burns | Class Outfit
Loom for stray characters after ending ?> php tags. Jeremy Burns Class Outfit http://www.classoutfit.com On 14 Feb 2013, at 20:11:20, Mehrdad Dadkhah wrote: > thanks but i check everwhere! > i can't find where debugging out some information

Re: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2013-02-14 Thread Mehrdad Dadkhah
thanks but i check everwhere! i can't find where debugging out some information before render !! -- $sudo chmod 777 /var/www/myInfo.php $gedit /var/www/myInfo.php http://www.rdb.ir/resume

Re: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2013-02-14 Thread Jeremy Burns | Class Outfit
Looks like you are debugging out some information before the page is rendered. Jeremy Burns Class Outfit http://www.classoutfit.com On 14 Feb 2013, at 18:19:41, Mehrdad Dadkhah wrote: > hi all > > what's the reason of this warning? > > > Warning (2): Cannot mo

Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2013-02-14 Thread Mehrdad Dadkhah
hi all what's the reason of this warning? Warning (2): Cannot modify header information - headers already sent by (output started at /home/hy4wtsgf/public_html/lib/Cake/Utility/Debugger.php:780) [CORE/Cake/Network/CakeResponse.php, line 398] Code Context setcookie - [internal],

Re: header information in outlook

2012-08-02 Thread Anna P
I didn't manage to solve the problem using the Mail transport. However, I switched e-mail transport to Smtp and now it works fine. -- 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

Re: header information in outlook

2012-07-30 Thread Anna P
Has somebody solved that issue or know what causes the problem? I use Outlook Express 6 on XP and it displays e-mail messages correctly (they are sent as both - text and html). But with Outlook on Windows 7 e-mail displays header information, and content in both formats. I use CakePHP 2.0.5

Retrieving information with a hasMany through (The Join Model) association.

2012-07-02 Thread Ronen Amiel
Hey everyone, I'm I have a hasMany through (The Join Model) association on my application. I have 3 models in my application: students, courses and the join model: membership (used as a join model and also tracks grades). I'm trying to retrieve some information from the database, I w

Re: Warning (2): Cannot modify header information - headers already sent by

2012-06-30 Thread JuanChronos
kephp.1045679.n5.nabble.com/Warning-2-Cannot-modify-header-information-headers-already-sent-by-tp4860658p4867920.html > Sent from the CakePHP mailing list archive at Nabble.com. > > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out

Comparing information from two models

2012-05-16 Thread sdustinh
I'm not sure if this is where a question like this would go so if it is in the wrong place I apologize. My situation is that I have two tables with schemas similar to this: >> CREATE TABLE IF NOT EXISTS `table_licenses_one` ( > > `id` int(11) NOT NULL AUTO_INCREMENT, > > `created` datetime

Re: Sending ACL information to the client

2012-03-06 Thread lowpass
Sorry, you might want to remove that 'Permission._read >= 0' condition near the bottom. -- 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

Re: Sending ACL information to the client

2012-03-06 Thread lowpass
On Tue, Mar 6, 2012 at 8:04 PM, Roland wrote: > Hmm.. that wasn't what I wanted to ask, let me try it new: > > Is there an efficient way to get for all 'articles' the allowed CRUD > actions for the currently logged in user? > > So I can get something like this: > array(array( >    'id' => 34, // t

Re: Sending ACL information to the client

2012-03-06 Thread Roland
The have your JS modify things based on > what it finds. > > > > > > > > On Tue, Mar 6, 2012 at 4:40 PM, Roland > wrote: > > Hi! > > > I want to use CakePHP's ACL Authorization in an Application where I > > don't create html on the s

Re: Sending ACL information to the client

2012-03-06 Thread lowpass
> don't create html on the server-side, but instead just share the > information and it is created in the browser through JS (extjs). > > Therefore I need to know for each Articles model entry which CRUD > rights I have. What would be a good way to share this performant? >

Sending ACL information to the client

2012-03-06 Thread Roland
Hi! I want to use CakePHP's ACL Authorization in an Application where I don't create html on the server-side, but instead just share the information and it is created in the browser through JS (extjs). Therefore I need to know for each Articles model entry which CRUD rights I have. Wha

Re: My form is not saving any information

2012-02-24 Thread ReynierPM
I try to get the associated records from tables Education, Experienca and Attachement it's not showed and I can't find the error, any help? Cheers and thanks in advance On 2/24/2012 7:55 AM, reynie...@gmail.com wrote: Hi every: I have a table called Information with some relati

Re: How to handle FILE input type when saving form information?

2012-02-24 Thread Miles J
gt;request->is('post') && > is_uploaded_file($this->request->data['Information']['picture']['tmp_name'])) > { >  // Handling file uploads > $fileData = > fread(fopen($this->request->data['Information']['picture

How to handle FILE input type when saving form information?

2012-02-24 Thread reynie...@gmail.com
my code to fit the requirements. Now my code is this one: public function add() { if ($this->request->is('post') && is_uploaded_file($this->request->data['Information']['picture']['tmp_name'])) { // Handling file uploads $fileData = frea

AuthComponent and Session information not available in one of my controllers

2012-02-23 Thread Heather Walters
I have written my cake app to log in registered users and it works great on view pages where there is a db model associated with a User. However, on my main pages that aren't necessarily accessing some model (the PagesController where pages are things like upcoming events, contact us, about, etc),

Re: Including queried information in default layout

2012-01-20 Thread Sam Sherlock
elf. > > I'd just like to be able to have the links get generated from the > database, where the href contents and the name part is taken from that > table. > > As a side note, is there any good component reference information for > 2.0.5? The stuff from the cookbook about c

Re: Including queried information in default layout

2012-01-20 Thread Dave D
from that table. As a side note, is there any good component reference information for 2.0.5? The stuff from the cookbook about creating components (http:// book.cakephp.org/2.0/en/controllers/components.html) is a whopping 4 lines long. The part from the 1.3 book (http://book.cakephp.org/1.3/ vie

Re: Including queried information in default layout

2012-01-20 Thread Sam Sherlock
Is the load model call the line with the error? Can you post more code? The component idea should be fine. More details of your bab/menu model would be good. - S On 20 Jan 2012 16:13, "Dave D" wrote: > I'm looking to create a site where I can have a navigation list on one > side of each page

Including queried information in default layout

2012-01-20 Thread Dave D
I'm looking to create a site where I can have a navigation list on one side of each page where the list of links is taken from a database table. I can create the list of links just fine in the layout, but I'm suck looking at how I might be able to get the list out from the database. I've been look

Re: How to get information in a mysql table from a different controller.

2011-11-23 Thread Shukuboy
associations. > > Jeremy Burns > Class Outfit > > http://www.classoutfit.com > > On 22 Nov 2011, at 18:08, GG wrote: > > > I have two tables, a posts table, and a periods table. > > > The posts table has a user_id, title, body, period. > > > The perio

Re: How to get information in a mysql table from a different controller.

2011-11-23 Thread Jeremy Burns | Class Outfit
urns Class Outfit http://www.classoutfit.com On 22 Nov 2011, at 18:08, GG wrote: > I have two tables, a posts table, and a periods table. > > The posts table has a user_id, title, body, period. > > The periods table has a user_id, title, period. > > I can easily get the i

How to get information in a mysql table from a different controller.

2011-11-22 Thread GG
I have two tables, a posts table, and a periods table. The posts table has a user_id, title, body, period. The periods table has a user_id, title, period. I can easily get the information from the posts table in my PostsController.php: $this->set('period1', $this->Post-&g

Re: Warning (2): Cannot modify header information - headers already sent by

2011-10-04 Thread Ryan Schmidt
On Oct 4, 2011, at 19:45, Matt Kaufman wrote: > What is BOM? http://en.wikipedia.org/wiki/Byte_order_mark -- 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 re

Re: PLEASE HELP ME! Warning (2): Cannot modify header information - headers already sent by cake php

2011-10-04 Thread O.J. Tibi
No, what Larry meant was ob_start() is an ugly hack, and you shouldn't use it. You might want to take a look at the other thread. Most probably, your controller file has a Byte Order Mark (BOM). Use a UTF-8 text editor that doesn't insert BOMs into your file, or if you can disable BOM insertion

Re: Warning (2): Cannot modify header information - headers already sent by

2011-10-04 Thread O.J. Tibi
BOM is short for Byte Order Mark. It acts like a "magic bit" for the application to detect if the document is Unicode, some other variant of Unicode, or any other encoding. And yes, coders should turn off BOM in their editors by default. :) -- Our newest site for the community: CakePHP Video T

Re: PLEASE HELP ME! Warning (2): Cannot modify header information - headers already sent by cake php

2011-10-04 Thread Matt Kaufman
Lol- yeah I was taken back by this! 'good tip' is all I could come up with. Sent from my iPhone On Oct 4, 2011, at 5:46 PM, "Larry E. Masters" wrote: > You have got to be kidding me. You would not seriously suggest this to > someone would you? > > -- > Larry E. Masters > > > On Mon, Oct 3,

Re: PLEASE HELP ME! Warning (2): Cannot modify header information - headers already sent by cake php

2011-10-04 Thread Larry E. Masters
You have got to be kidding me. You would not seriously suggest this to someone would you? -- Larry E. Masters On Mon, Oct 3, 2011 at 11:34 PM, vaibhav pathak wrote: > hi friend > try ob_start(); function before the starting of class > CategoriesController extends AppController like in followi

Re: Warning (2): Cannot modify header information - headers already sent by

2011-10-04 Thread Matt Kaufman
ble.com/Warning-2-Cannot-modify-header-information-headers-already-sent-by-tp4860658p4867920.html > Sent from the CakePHP mailing list archive at Nabble.com. > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP

Re: PLEASE HELP ME! Warning (2): Cannot modify header information - headers already sent by cake php

2011-10-04 Thread Matt Kaufman
Nice tip Sent from my iPhone On Oct 3, 2011, at 9:34 PM, vaibhav pathak wrote: > hi friend > try ob_start(); function before the starting of class > CategoriesController extends AppController like in following manner. > ob_start(); > class CategoriesController extends AppController > { >

Re: Warning (2): Cannot modify header information - headers already sent by

2011-10-04 Thread BLABLABLA
HI.. The problem was the encoding. I have had the encoding UTF8, but needed the encoding UTF8 without BOM. -- View this message in context: http://cakephp.1045679.n5.nabble.com/Warning-2-Cannot-modify-header-information-headers-already-sent-by-tp4860658p4867920.html Sent from the CakePHP

Re: PLEASE HELP ME! Warning (2): Cannot modify header information - headers already sent by cake php

2011-10-04 Thread vaibhav pathak
hi friend try ob_start(); function before the starting of class CategoriesController extends AppController like in following manner. from vaibhav pathak -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cake

Re: Warning (2): Cannot modify header information - headers already sent by

2011-10-03 Thread Tilen Majerle
look at your Category model at line 1, there is output :) Check whitespaces in this file -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/10/1 BLABLABLA > PLEASE HELP ME! > > FAILURE: > Warning (2): Cannot modify header information - headers already sent by > (output st

Re: PLEASE HELP ME! Warning (2): Cannot modify header information - headers already sent by cake php

2011-10-03 Thread Matt Kaufman
; cats controller have any whitespace before the opening of php - very first > line) > > the debugkit plugin has a command to search for whitespace > - S > > > > > On 1 October 2011 21:30, Dragana Kuzmanovic wrote: > failure: > Warning (2): Cannot modify header

Re: PLEASE HELP ME! Warning (2): Cannot modify header information - headers already sent by cake php

2011-10-03 Thread Sam Sherlock
arning (2): Cannot modify header information - headers already sent > by (output started at /var/customers/webs/usr05/mkn151/app/controllers/ > categories_controller.php:1) [CORE/cake/libs/controller/controller.php > > my controller: > class CategoriesController extends AppController

Warning (2): Cannot modify header information - headers already sent by

2011-10-03 Thread BLABLABLA
PLEASE HELP ME! FAILURE: Warning (2): Cannot modify header information - headers already sent by (output started at /var/customers/webs/usr05/mkn151/app/models/category.php:1) [CORE/cake/libs/controller/controller.php, line 742] CONTROLLER: Auth->allow('chooseca

PLEASE HELP ME! Warning (2): Cannot modify header information - headers already sent by cake php

2011-10-03 Thread Dragana Kuzmanovic
failure: Warning (2): Cannot modify header information - headers already sent by (output started at /var/customers/webs/usr05/mkn151/app/controllers/ categories_controller.php:1) [CORE/cake/libs/controller/controller.php my controller: Auth->allow('choosecategories'); }

Re: pass information to the view

2011-09-11 Thread Zaky Katalan-Ezra
oblem passing infomation to my view. Here's my > > > code > > > > > in my controller > > > > > public $campos; //global variable > > > > > if (empty($this->data)) { > > > $this->data = $this->ArchivosSistema->read(null, $id); >

Re: pass information to the view

2011-09-11 Thread euromark
>data)) { > >     $this->data = $this->ArchivosSistema->read(null, $id); > >     $this->campos=$this->ArchivosSistema->LeerTXT($this- > > >data['ArchivosSistema']['nombreTXT']); > > } > > > campos is an array that is return f

Re: pass information to the view

2011-09-11 Thread Zaky Katalan-Ezra
t; > if (empty($this->data)) { > $this->data = $this->ArchivosSistema->read(null, $id); > $this->campos=$this->ArchivosSistema->LeerTXT($this- > >data['ArchivosSistema']['nombreTXT']); > } > > campos is an array that is return

pass information to the view

2011-09-11 Thread aortizhi
is- >data['ArchivosSistema']['nombreTXT']); } campos is an array that is return from my model with some information that i would like to show in my view but a i don't know how to access it in my view i have this: echo $this->ArchivosSistemas->$campos; but it

Re: Cannot modify header information

2011-02-13 Thread Ryan Schmidt
On Feb 12, 2011, at 10:08, tubiz wrote: > PLease presently i am testing my cakephp application online but when i > tried to visit my admin page at testserver.tunsicash.co.cc/admin i am > getting this error Cannot modify header information - headers already > sent by (output star

Re: Cannot modify header information

2011-02-12 Thread Miloš Vučinić
ing my cakephp application online but when i > tried to visit my admin page at testserver.tunsicash.co.cc/admin i am > getting this error Cannot modify header information - headers already > sent by (output started at /home/tunsicas/public_html/testserver/app/ > models/behaviors/increment

Cannot modify header information

2011-02-12 Thread tubiz
PLease presently i am testing my cakephp application online but when i tried to visit my admin page at testserver.tunsicash.co.cc/admin i am getting this error Cannot modify header information - headers already sent by (output started at /home/tunsicas/public_html/testserver/app/ models/behaviors

Re: ACL How to get logged user information, like user name, id in user table, group name, etc.

2011-01-25 Thread raymond
Yeah. my mistake. The post I referred also was saying user("id"). :D Thanks for your kind reply. Raymond. -- 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 relat

Re: How to know that user login failed due to wrong information?

2011-01-25 Thread raymond
Thanks for your information. It is absolutely helpful for me. Best regards. -- 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

Re: How to know that user login failed due to wrong information?

2011-01-25 Thread Amit Badkas
t Badkas PHP Applications for E-Biz: http://www.sanisoft.com On Mon, Jan 24, 2011 at 3:42 PM, raymond wrote: > How do you do every one. > I used ACL for user authentication, and now it works well. > However, when user logs in with wrong information, he(or she) gets > redirected to login

Re: ACL How to get logged user information, like user name, id in user table, group name, etc.

2011-01-24 Thread alaxos
d bumped into one issue. > I need to get logged users information, especially primary key value > in user table. > I have tried $this->Auth->user["id] because I have read it from one > post in this group, but I checked that $this->Auth does not have any > user value t

ACL How to get logged user information, like user name, id in user table, group name, etc.

2011-01-24 Thread raymond
Hi, everyone. I ve entered CakePHP world recently and bumped into one issue. I need to get logged users information, especially primary key value in user table. I have tried $this->Auth->user["id] because I have read it from one post in this group, but I checked that $this->Auth doe

How to know that user login failed due to wrong information?

2011-01-24 Thread raymond
How do you do every one. I used ACL for user authentication, and now it works well. However, when user logs in with wrong information, he(or she) gets redirected to login page without any message. I am wondering if no way to show any message like "Your login information is not correct"

Re: header information in outlook

2011-01-06 Thread DragonFlyEye
Hmmm.. What version of Outlook and what OS? I'd like to know why that isn't working through CakePHP... Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "Cak

Re: header information in outlook

2011-01-06 Thread Devario Johnson
information except reply to: since I am only sending a plain text email this worked fine for me. On Jan 4, 5:02 pm, cricket wrote: > On Mon, Jan 3, 2011 at 2:27 PM, Devario Johnson wrote: > > Hi Bakers. > > > I am developing an application using the core email component, and > &g

Re: header information in outlook

2011-01-04 Thread cricket
On Mon, Jan 3, 2011 at 2:27 PM, Devario Johnson wrote: > Hi Bakers. > > I am developing an application using the core email component, and > when i send emails to regular mail like gmail it is fine, but when I > send them to Outlook, all of the header information is displayed...

header information in outlook

2011-01-04 Thread Devario Johnson
Hi Bakers. I am developing an application using the core email component, and when i send emails to regular mail like gmail it is fine, but when I send them to Outlook, all of the header information is displayed...how do i stop this from happening in outlook? Thanks! Check out the new CakePHP

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-15 Thread Amit Badkas
sanisoft.com On Mon, Nov 15, 2010 at 1:04 AM, Muhaimen Ezabbad wrote: > > Team, > >Maybe I didn't explain the issue, > >In CakePHP 1.2.8, the cookie expires when I exit the browser, even > if I didn't logout. > in CakePHP 1.2.8, if I want to

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-15 Thread John Andersen
ookie expires when I exit the browser, even if > I didn't logout. >         in CakePHP 1.2.8, if I want to store the user information, then I > need to store them manually, then I need to load them, of course after > encrypting the username and password. > >         in Cake

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-14 Thread Muhaimen Ezabbad
Team, Maybe I didn't explain the issue, In CakePHP 1.2.8, the cookie expires when I exit the browser, even if I didn't logout. in CakePHP 1.2.8, if I want to store the user information, then I need to store them manually, then I need to load them, of co

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-14 Thread John Andersen
What is actually the issue here? Do you see the login information in the cookie or do you just see that the cookie is there? In order to know the session of the current user, a session-cookie is stored on the users computer. Is this the one you are worried about? Enjoy, John On 12 Nov., 15:15

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-12 Thread Muhaimen Ezabbad
Amit, Thanks for the reply, Amit, Team, I'm using 1.3.5 Stable version. BTW, I also created a new empty project with two tables, items and users in the AppController I wrote: var $components=array('Auth'); function beforeFilter() {

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-11 Thread Amit Badkas
Hi, Which CakePHP version are you using? Amit PHP Applications for E-Biz: http://www.sanisoft.com On Thu, Nov 11, 2010 at 6:32 AM, Muhaimen Ezabbad wrote: > Hello Experts, > >I'm new to CakePHP world, I'm working on an internal project to test > myself. > >My Issue with the Au

CakePHP Stores the user login information to Cookies automatically

2010-11-11 Thread Muhaimen Ezabbad
Hello Experts, I'm new to CakePHP world, I'm working on an internal project to test myself. My Issue with the Auth. The Login Process works fine, but my issue that the CakePHP stores the login data in the cookies automatically. How can I prevent the automatic s

Issues grabbing $_POST information

2010-09-28 Thread David C.
Hi All: I'm working on building a REST API for my web service. I'm learning a lot along the way about how API's work and how great CakePHP is to build quick prototypes. My problem comes when i try to make an API call to pull information about a specific UUID. I pass the UU

Re: maintaining page information between ajax requests

2010-09-09 Thread Miles J
You can do many things. Perhaps save the last loaded page in the session, and use that page anytime the browser is refreshed. If the session is empty, default to the homepage. On Sep 9, 9:33 am, Muthuvel Subramani wrote: > hello, > in my application i am using ajax for loading contents in homepag

maintaining page information between ajax requests

2010-09-09 Thread Muthuvel Subramani
hello, in my application i am using ajax for loading contents in homepage,about us,contact us..now when i refresh the page it shows the last requested page ie the home page but not the page loaded by ajax.. for example, ajax request 1: home page ajax request 2: about us page ajax request 3: contact

RE: Warning (2): Cannot modify header information - headers already sent by

2010-08-19 Thread oscar aguilar morales
:51 +0530 Subject: Re: Warning (2): Cannot modify header information - headers already sent by To: cake-php@googlegroups.com Comment all print and echo in your script. Kind Regards Vikas.R.Hanagodimath On Tue, Aug 17, 2010 at 04:47, milos wrote: I have just descovered something very

Re: Warning (2): Cannot modify header information - headers already sent by

2010-08-17 Thread Vikas.R.Hanagodimath
henever I had a redirect or session command it gave me information > already send by my controller file. It is because I change it to utf8. I > changed it back to ansi and it was all ok. It is very hard to see this error > because part of controller does work. Probably when notepad++ change

Re: Warning (2): Cannot modify header information - headers already sent by

2010-08-17 Thread milos
I have just descovered something very important. My controller was working just fine with all redirect etc. After I changed the controller file to utf8 and whenever I had a redirect or session command it gave me information already send by my controller file. It is because I change it to utf8. I

Re: i need advice on caching information before storing to database

2010-07-25 Thread cricket
On Sun, Jul 25, 2010 at 1:32 PM, Tomfox Wiranata wrote: > hi, > > this is what a user can do on my website: it is close to ebay. he can > enter various information like title, description, pictures etc. about > a product. as i want this to be web 2.0 compatible i'd like to do

i need advice on caching information before storing to database

2010-07-25 Thread Tomfox Wiranata
hi, this is what a user can do on my website: it is close to ebay. he can enter various information like title, description, pictures etc. about a product. as i want this to be web 2.0 compatible i'd like to do this. when the user entered all information he has the opportunity to get a pr

Re: using the auth information outside of cakephp

2010-06-25 Thread mrnnn
thanks a million cricket! On Jun 21, 7:08 pm, cricket wrote: > On Mon, Jun 21, 2010 at 9:33 AM, mrnnn wrote: > > sorry for bumping, but nobody? really? > > > On Jun 10, 4:09 pm, mrnnn wrote: > >> A rather unusual question maybe, but I'd like to use cake's auth in a > >> seperate php file. I tri

Information about PHP + MySQL E-book

2010-06-22 Thread J3p
Hi, I need some Information from you. Someone told me to buy E-book about PHP + MySQL in http://php-mysql-ebook.blogspot.com Does anyone have experience about this? thanks Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You

Re: using the auth information outside of cakephp

2010-06-21 Thread cricket
On Mon, Jun 21, 2010 at 9:33 AM, mrnnn wrote: > sorry for bumping, but nobody? really? > > On Jun 10, 4:09 pm, mrnnn wrote: >> A rather unusual question maybe, but I'd like to use cake's auth in a >> seperate php file. I tried checking what's in the session, but that >> one seems to be empty? >>

Re: using the auth information outside of cakephp

2010-06-21 Thread mrnnn
sorry for bumping, but nobody? really? On Jun 10, 4:09 pm, mrnnn wrote: > A rather unusual question maybe, but I'd like to use cake's auth in a > seperate php file. I tried checking what's in the session, but that > one seems to be empty? > > Here's what i want to do: I have a simple file manager

using the auth information outside of cakephp

2010-06-10 Thread mrnnn
A rather unusual question maybe, but I'd like to use cake's auth in a seperate php file. I tried checking what's in the session, but that one seems to be empty? Here's what i want to do: I have a simple file manager and when the user is logged in (no matter what group, so basically i only need a y

Re: Auth Component and user information.

2010-06-07 Thread cricket
On Jun 7, 2:33 pm, saidbakr wrote: > I also noticed another thing: > > The output of $this->Auth->user() ,without key parameter, is an array > which is listing User model only without regarding the associated > model. Look at the API: http://api.cakephp.org/class/auth-component#method-AuthCompon

Re: Auth Component and user information.

2010-06-07 Thread cricket
On Jun 7, 2:19 pm, saidbakr wrote: > Well, but what about the data in the associated Model Rules? How could > I get it? The AuthComponent does not require anything in the User::login() method. However, if you wish to run some code upon login, you implement it there. public function login() {

Re: Auth Component and user information.

2010-06-07 Thread Jeremy Burns
I think the point is that as part of your log in process you scrape information from your associated model and add it to the User array. You could also do an update if the associated model data was changed, I guess. Jeremy Burns jeremybu...@me.com On 7 Jun 2010, at 19:33, saidbakr wrote: >

Re: Auth Component and user information.

2010-06-07 Thread saidbakr
I also noticed another thing: The output of $this->Auth->user() ,without key parameter, is an array which is listing User model only without regarding the associated model. Array ( [User] => Array ( [id] => 1 [username] => admin [name] => Said Bakr [join_date] => 2010-06-14 19:35:00 [email] => s

Re: Auth Component and user information.

2010-06-07 Thread saidbakr
Well, but what about the data in the associated Model Rules? How could I get it? On Jun 7, 8:27 pm, cricket wrote: > On Jun 7, 11:39 am, saidbakr wrote: > > > > > Hi, > > > I use User model to handle user's basic data such as Name, username, > > password and so on. > > > The User model is associ

Re: Auth Component and user information.

2010-06-07 Thread cricket
On Jun 7, 11:39 am, saidbakr wrote: > Hi, > > I use User model to handle user's basic data such as Name, username, > password and so on. > > The User model is associated with Rule model by belongsTo association, > while Rule model is associated to User model by hasMany association. > > The later m

Auth Component and user information.

2010-06-07 Thread saidbakr
Hi, I use User model to handle user's basic data such as Name, username, password and so on. The User model is associated with Rule model by belongsTo association, while Rule model is associated to User model by hasMany association. The later model "Rule" is meant by something like users groups

Simple Acl controlled Application Tutorial & Cannot modify header information

2010-06-03 Thread ArGoN
I've just began to cook cakePHP. I am following Simple Acl controlled Application Tutorial. It's so frustrating that I'm having this error and don't know how to trace it. Right after creating app_controller.php, I started getting this error on add group page. I finnished the steps anyway. The grou

Re: Information History

2010-04-02 Thread Julian Salas
Thanks you ..exelect info... 2010/4/1 nurvzy > http://cakedc.com/eng/team > > That might be a good place to start. > > Nick > > On Apr 1, 9:42 am, Julian Salas wrote: > > I need information about the beginning of this framework, for example, > the > > year

Re: Information History

2010-04-02 Thread Sam Sherlock
if wikipedia contains the information (not sure if it contains inaccuracies) http://en.wikipedia.org/wiki/CakePHP - S On 2 April 2010 02:23, nurvzy wrote: > http://cakedc.com/eng/team > > That might be a good place to start. > > Nick > > On Apr 1, 9:42 am, Julian Sal

Re: Information History

2010-04-01 Thread nurvzy
http://cakedc.com/eng/team That might be a good place to start. Nick On Apr 1, 9:42 am, Julian Salas wrote: > I need information about the beginning of this framework, for example, the > year of creating, and how  as the proyect began? > Thanks you for your quick reply. > >

Re: Information History

2010-04-01 Thread Julian Salas
I need information about the beginning of this framework, for example, the year of creating, and how as the proyect began? Thanks you for your quick reply. 2010/4/1 Jeremy Burns > Could you be more specific? > > Jeremy Burns > jeremybu...@me.com > On 1 Apr 2010, at 14:19, julix

Re: Information History

2010-04-01 Thread Jeremy Burns
Could you be more specific? Jeremy Burns jeremybu...@me.com On 1 Apr 2010, at 14:19, julix wrote: > Hi, i need information about the history of CakePHP. > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > >

Information History

2010-04-01 Thread julix
Hi, i need information about the history of CakePHP. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, sen

Information

2010-02-11 Thread karthik mca
Sir/Madam Here i would like to inform you that Orangesharkteam.com is always sending some unwanted mails using my mail id without my knowledge. so i kindly request you that if you receive those mails please ignore that. sorry for this inconvenience. -- Thanks with Regards, M.

  1   2   3   >