Tuesday, June 1, 2010

Re: Bake Shell in CakePHP 1.3.1

Take a look at this:
http://cakephp.lighthouseapp.com/projects/42648/tickets/771-wrong-core-path-in-templatephp

On May 31, 5:06 am, kanickl <kani...@googlemail.com> wrote:
> Besides the filecache errors described in other posts the download of
> CakePHP 1.3.1 brought me a broken Bake Shell which reports after
> running "cake bake all":
> Notice: Undefined offset: 0 in D:\xampp\htdocs\cake\cake\console\libs
> \tasks\temp
> late.php on line 183
>
> Notice: Undefined offset: 1 in D:\xampp\htdocs\cake\cake\console\libs
> \tasks\temp
> late.php on line 184
> Could not find template for model
>
> However, there is no Error message, but nothing is written to the
> disk!
>
> Running "cake bake model" for a database table reports the same
> notices, but produces a php-file for the model without any content!
>
> With cake 1.3.0 I did not have any of these problems.
> Anyone got an idea?

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, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Paypal buy now/subscription response

IPN will send back transaction confirmation to a page that you specify. It is then up to your code to process the response back in your site/database. You can specify custom attributes to go along with the PayPal message so that you can tie everything back together. I'd suggest you read the developer section on the PayPal site - they even have sample code.

Jeremy Burns
jeremyburns@me.com


On 1 Jun 2010, at 12:44, barbi wrote:

> Hi,
>
> NOT related to CAKEPHP, sorry about that but I thought this question
> (and also answers) will help this community.
>
> I have built an information portal in PHP [Something like a recipe
> book], where the first few recipes are free to access. The advanced
> recipes are available only to paid members.
>
> I intend to use a simple subscribe now paypal button. When the user
> clicks on this button, he is directed to paypal website and upon
> payment redirected back to my site.
>
> How do I collect the payment information from paypal? I do not want to
> use a wsdl.
>
> I need the information to update my user level field [0 for registered
> users, 1 for paid users] in the users table.
>
> Any pointers? Does IPN do the trick for this? Is there a better
> solution for this?
>
> Thanks,
>
> Bharadwaj
>
> 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, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

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, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Paypal buy now/subscription response

Hi,

NOT related to CAKEPHP, sorry about that but I thought this question
(and also answers) will help this community.

I have built an information portal in PHP [Something like a recipe
book], where the first few recipes are free to access. The advanced
recipes are available only to paid members.

I intend to use a simple subscribe now paypal button. When the user
clicks on this button, he is directed to paypal website and upon
payment redirected back to my site.

How do I collect the payment information from paypal? I do not want to
use a wsdl.

I need the information to update my user level field [0 for registered
users, 1 for paid users] in the users table.

Any pointers? Does IPN do the trick for this? Is there a better
solution for this?

Thanks,

Bharadwaj

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, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Release: CakePHP 1.3.1

open the file "...\cake\libs\file.php"
goto line 195 and change it from
return $data;
to
return trim($data);

On May 30, 3:29 am, mark_story <mark.st...@gmail.com> wrote:
> The CakePHP development team is happy to announce the release of
> CakePHP 1.3.1[1].  1.3.1 is the first  maintenance release for 1.3 and
> contains bugfixes and optimizations for features found in 1.3.  No new
> features will be introduced in the maintenance releases for 1.3.
> Regular maintenance releases for 1.3 are planned on a monthly basis
> for the near future.
>
> Since the release of CakePHP 1.3.0 last month, there have been more
> than 70 commits and 45 tickets resolved. There have been a few changes
> that may affect your application.
>
>  - The conditional check around including custom session configuration
> files was removed.  This fixes issues where requestAction could cause
> loss of session settings, and improves the end developers ability to
> customize the session.  Custom session files should ensure that
> classes/functions are conditionally declared.
>
>  - How virtualFields are detected and parsed was modified to allow
> virtualFields on the same table.  A virtualFieldSeparator property was
> added to DboSource to allow customization of the virtualField
> separator.  If you have fields containing '__' you may have to modify
> this setting to avoid issues.
>
>  - EmailComponent had a number of changes made to better support ELHO
> and slow SMTP servers.
>
> Be sure to check the full changelog[2] for all changes that have
> occurred. We'd like to welcome Juan Basso[3] to the development team.
> Juan has been very active in the brazilian community and we're really
> happy to have him.  Work on the 2.0 branch continues to progress.
> Currently much of the effort is focused on getting our migration to
> PHPUnit complete. We'd like to thank the ongoing community efforts
> around the documentation.  There are now over 18,500 revisions in the
> cookbook and 4 languages now have more than 70% of the documentation
> translated.
>
> As always, thank you for helping us make a great framework and
> fantastic community.
>
> Download a packaged release [1]
> View the changelog [2]
>
> [1]http://github.com/cakephp/cakephp/downloads
> [2]http://cakephp.lighthouseapp.com/projects/42648/changelog-1-3-1
> [3]http://blog.cakephp-brasil.org/

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, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Cakephp session is not setting in pages controller

Thanks for the reply.. It is just a typo.. Actually it contains, the
code for selecting data from database. So I removed that part while
posting here.

On May 28, 5:51 pm, John Andersen <j.andersen...@gmail.com> wrote:
> I assume you copy/pasted the code into the post, so I have to tell you
> that you have an error in your echo statement! One left bracket too
> much! Please clarify whether that was a typo and if removed, fixed
> your issue!
>
> In stead of using echo in your controller, turn on debugging in the
> config/core.php file and use the statement:
> [code]
> debug($this->Session->read('user_id'));
> [/code]
>
> Enjoy,
>    John
>
> On May 28, 3:36 pm, Binu <bino...@gmail.com> wrote:
>
> > <?php
> > class PagesController extends AppController{
>
> >         var $components = array('Session');
> >         var $uses = array('Page','PageComment');
>
> >       function display() {
> >            echo $this->Session->read(('user_id');
> >       }}
>
> > ?>
>
> > On May 27, 7:22 pm, John Andersen <j.andersen...@gmail.com> wrote:
>
> > > How does your pages controller look like, the code?
> > > Enjoy,
> > >    John
>
> > > On May 27, 10:11 am, Binu <bino...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > I am using cakephp1.2 . I have override the pages controller. While
> > > > login from my application, Im setting thesessionand redirecting to
> > > > pages controller, but there I couldnotable to get thesession. If I
> > > > redirect to some other controller, Im getting thesessionover there.
> > > > I have a table with name "pages", and when the user clicks on the
> > > > links (passing page name), Im taking data from that table and
> > > > displaying using pages_controller.
>
> > > > Can Inotuse "pages" as table name ? Orsessionwon't work in
> > > > pages_controller ?

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, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: email header with variable Return-path:

Nobody ??

On 26 kvě, 06:51, "toka...@gmail.com" <toka...@gmail.com> wrote:
> is it cakephp BUG or just some wrong apache settings? thanks. Tomas
>
> On 25 kvě, 12:46, "toka...@gmail.com" <toka...@gmail.com> wrote:
>
> > Hi,
> > I am trying to set "return-path:" param in email header... but it is
> > not working ...I am using cake's email component with this additional
> > settings:
>
> > $this->Email->return= 'exam...@example.com';
>
> > I am running Mac OS with XAMPP (localhost) and if I configure php.ini
> > (sendmail_path), then it works great...
>
> > Any Idea why I can not do it with cake? it would be nice to setreturn-
> >pathdynamically, not staticaly in php.ini.
>
> > Thanks.
> > Tomas
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en

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, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Using fixtures

That's what i understood later, but as my test database was cleared
automatically, i thought nothing happened.

Thank you

On 1 juin, 07:18, Bogdan Bursuc <bogdanbursu...@gmail.com> wrote:
> I think they are imported automatically during the test.
>
> On Mon, May 31, 2010 at 6:04 PM, Yannick ANSQUER <tajimanok...@gmail.com>wrote:
>
>
>
> > Hi
>
> > I've created a fixture file like in
> >http://book.cakephp.org/view/1201/Preparing-test-data
> > but i didn't understand how to populate my database with it.
>
> > Anyone knows ?
>
> > Thanks
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> --
> Bogdan Iulian Bursuc

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, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en