Re: PayPal Direct Payment API Component

2007-08-06 Thread r557
Remove setCertificate and replace it with $this->Paypal- >setSignature('signature provided by paypal');. There are 2 options on how you process a payment, certificate and signature. I used signature and now it's working :). On Aug 1, 2:56 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi,

Re: Cake Generating Odd Session Errors

2007-07-28 Thread r557
ut .= "window.SetUrl = function(fileUrl){\n"; $output .= "\$(id).value = fileUrl;\n"; $output .= "}\n"; $output .= "var oWindow = window.open( url, 'FCKBrowseWindow', sOptions ) ;\n"; $output .= "}\n";

Re: Cake Generating Odd Session Errors

2007-07-28 Thread r557
Yes, Aware of this. On Jul 28, 11:28 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > On 7/29/07, r557 <[EMAIL PROTECTED]> wrote: > > > > > Warning: session_start(): Cannot send session cookie - headers already > > sent by (output started a

Cake Generating Odd Session Errors

2007-07-28 Thread r557
When i call a renderElement function, it is generating Session related issues. Code: renderElement('store_nav');?> Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\apache2triad\htdocs\sonsofmaxwell\som\app \views\helpers\fck.php:44) in C:\ap

Re: Get the Session Id being generated

2007-07-14 Thread r557
[bare] => 0 [webservices] => [plugin] => ) [action] => show [data] => [plugin] => ) so my question now is though, how do i get [_userAgent] => 15988584ca32783087cd2ffdbb6ba45b to a variable from this? On Jul 14, 11:55 pm, r557 <[EMAIL PROTECTED]&g

Get the Session Id being generated

2007-07-14 Thread r557
I'm looking for how to get the session id being generated by CakePHP. i have my session working fine, but would like to know how to find out what the session id is so i can store it in a db table. how do i do this? --~--~-~--~~~---~--~~ You received this message

Re: Help with an array

2007-07-09 Thread r557
issue resolved. On Jul 9, 8:48 pm, r557 <[EMAIL PROTECTED]> wrote: > hey, ideally i would like to display all the fields, but it's not a > huge deal, i just want something to output. when i placed your code > in my view, it didn't work properly. > > it gen

Re: Help with an array

2007-07-09 Thread r557
hey, ideally i would like to display all the fields, but it's not a huge deal, i just want something to output. when i placed your code in my view, it didn't work properly. it generated the following HTML Table. ArrayArray On Jul 9, 8:24 pm, Grant Cox <[EMAIL PROTECTED]> wrote: > 1. Be mo

Help with an array

2007-07-09 Thread r557
I know this is a basic issue, but can't seem to get the correct output. function show() { $this->set('products', array($this->Session- >read('ShoppingCart.Product'))); } generates the follow array currently: Array ( [0] => Array ( [id] => 13

Outputting Session Data

2007-07-08 Thread r557
in my function: function show() { $this->set('products', $this->Session->read('Product')); } i take the current session data and assign it to products. in the show view, this is the code:

Re: Undefined Variable Problem

2007-07-08 Thread r557
ta['Product']['id']; > > -- > /** > * @author Larry E. Masters > * @var string $userName > * @param string $realName > * @returns string aka PhpNut > * @access public > */ > > On 7/8/07, r557 <[EMAIL PROTECTED]> wrote: > > > > >

Undefined Variable Problem

2007-07-08 Thread r557
/ view */ hidden('Product/id')?> image('sundaymorning_cover.jpg', array('class' => 'product_img')); ?> - $ Qty. submit('Add to Cart'); ?> /*** stripped down controller ***/ data)) { $this-

Re: Newbie Sessions ?

2007-07-06 Thread r557
Well how is it done then in a shopping cart situation where you need a collection of items? On Jul 5, 10:06 pm, citrus <[EMAIL PROTECTED]> wrote: > When you add values to the session, the old one will be overwritten > (if exists) > > On Jul 6, 6:35 am, r557 <[EM

Newbie Sessions ?

2007-07-05 Thread r557
Creating a Shopping Cart, and am wondering if when you add values to a session, does it overwrite the current contents in the session? For example: $this->Session->write('ShoppingCart.id', $id); $this->Session->write('ShoppingCart.name', $name); $t

Shopping Cart

2007-07-04 Thread r557
I'm creating a shopping cart to extend a current project completed in CakePHP. I'm having some issues with regards to understanding how Sessions work around CakePHP and how to use them. The trouble i'm having is, I am not able to find some practical examples regarding how to store session data a

Check for value in findAllBy... function?

2007-06-24 Thread r557
In my function i would like to define a variable $data['Category'] ['id']. If the findAllByCategory_id($id) returns no records, i would like $this->data['Category']['id'] to be the value of the $id passed into the function. function admin_index($id) { $this->Product->recu

Parent & Child Nodes for category listing

2007-06-17 Thread r557
Issue: Trying to display nested categories, and when category has no more child nodes, display listings of product for category. Models: categories -> id active name description img created modified parent_id sort_order products -> id category_id name img cost active created modified description

Pass an ID to View

2007-06-11 Thread r557
Really basic here solution here i'm having an issue with. CONTROLLER FUNCTION function admin_add() { if(empty($this->data)) { $this->render(); } else { $this->cleanUpFields(); if($this