Re: Does $this->Email->return really works?

2011-05-22 Thread Louie Miranda
are you using smtp? or mail for delivery? I actually tried it, but it seems not to work for smtp? -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Sat, May 21, 2011 at 8:54 PM, Keith Gorman | Class Outfit < keithgor...@classoutfit.com> wrote: >

Re: Does $this->Email->return really works?

2011-05-20 Thread Louie Miranda
I forgot to mention that I am using CakePHP 1.2.6 and 1.2.7. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Fri, May 20, 2011 at 9:50 PM, Louie Miranda wrote: > I am working on this app where we need to modify the "Return-Path". From > th

Does $this->Email->return really works?

2011-05-20 Thread Louie Miranda
ot. I am currently checking the core api for Mail and found that there was a $this->return object, but not sure why it does not work properly. Would anybody know the real story on this? Thanks, -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com -- Our newes

Re: A facelift for the CakePHP Book

2011-02-03 Thread Louie Miranda
Now easier to search. Template is odd, need to get used to it. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Thu, Feb 3, 2011 at 11:24 PM, hill180 wrote: > Larry, > > Thank you for the effort. (don't take my comment as a dig - never

Re: Does the CakePHP ready for 'Large Scale' web applications?

2011-02-01 Thread Louie Miranda
I think, 100,000 users is small. -- Louie Miranda On Wed, Feb 2, 2011 at 8:26 AM, Larry E. Masters wrote: > CakePHP can do it. No other opinion needed. > > -- > Larry E. Masters > > > On Tue, Feb 1, 2011 at 5:45 PM, Salines wrote: > >> Hi, >> >&

CakePHP 1.3, JSHelper and Autocomplete, Missing method?

2010-11-18 Thread Louie Miranda
for 1.3 for autocomplete. http://book.cakephp.org/view/1370/autoComplete, and it turned out wrong. Any ideas, how can I make autocomplete work on the new JSHelper? But, if the method does not exist, then it won't make any sense. I think I am missing something here? :( Please help. -- Louie Mira

Re: yahoo web hosting problem

2010-11-15 Thread Louie Miranda
I think, it would be easier to just change web hosts. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Tue, Nov 16, 2010 at 2:14 PM, whmeroe wrote: > Please describe what is occurring vs. what you think should be. Stating > it doesn't work does

Re: How to disable some radio buttons? if using $form->input()?

2010-11-08 Thread Louie Miranda
27; => false, 'type' => 'radio', 'options' => $ccbanks)); ?> If I add 'DISABLED' => 'DISABLED', or 'DISABLED' => 1,. It would disable all the array and not just a single value. *How can I disable only a single value withi

Re: How to disable some radio buttons? if using $form->input()?

2010-11-08 Thread Louie Miranda
I think, this is not possible? I do not want to use $form->radio() -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Mon, Nov 8, 2010 at 3:51 PM, Louie Miranda wrote: > I have this array... > > $ccbanks = array( >

How to disable some radio buttons? if using $form->input()?

2010-11-07 Thread Louie Miranda
=> false, 'class' => 'sepradio', //'label' => false, 'legend' => false, 'type' => 'radio', 'options' => $shippingmodes)); ?> I am wondering how can I add a "DISABLED" text for each array input? -- Lo

How can I validate the form fields first before recaptcha?

2010-10-21 Thread Louie Miranda
ow can I validate the fields first, then recaptcha, then save the data. Regards, -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this

Re: CakePHP has it's own domain, but placed in a subfolder

2010-10-17 Thread Louie Miranda
Try chmoding the subfolder to 777 and try again. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Sun, Oct 17, 2010 at 5:03 AM, Tilen Majerle wrote: > yes u are right, but probably is .htaccess set that he will recognize i > don't know domain.co

Re: Is it possible to get a query and display it to views/layouts/default.ctp? Cake 1.3?

2010-09-29 Thread Louie Miranda
I got it. Add the variables on function beforeFilter() { $cartcount = '123'; $this->set(compact('cartcount')); } on app/app_controller.php It worked. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Thu, Sep 30,

Re: Is it possible to get a query and display it to views/layouts/default.ctp? Cake 1.3?

2010-09-29 Thread Louie Miranda
Data variables did not worked when placed on views/layouts/default.ctp? -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Wed, Sep 29, 2010 at 3:54 PM, Jeremy Burns | Class Outfit < jeremybu...@classoutfit.com> wrote: > Put it in an element - in

Is it possible to get a query and display it to views/layouts/default.ctp? Cake 1.3?

2010-09-29 Thread Louie Miranda
this on $this->set. Now, since views/layouts/default.ctp does not have a main controller, how can I propagate date with it? Any ideas is appreciated. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com Check out the new CakePHP Questions site http://cakeqs.org and h

Re: New cakePHP Social Network

2010-09-07 Thread Louie Miranda
Cool. However, it's not in English. :( -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Wed, Sep 8, 2010 at 5:58 AM, andres amaya diaz wrote: > Hi, i just release a social network site made with cakePHP. > Can you give me some feed back on th

Re: Verify username, Ajax observeField - How to display the error message?

2010-08-26 Thread Louie Miranda
Anyone? -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Thu, Aug 26, 2010 at 2:37 PM, Louie Miranda wrote: > I am trying to get ajax to work on my username field to check if the > account is taken or not using this function. > http://bin.cakephp

Verify username, Ajax observeField - How to display the error message?

2010-08-25 Thread Louie Miranda
curious, how can I display the error message on view/register.ctp? Can I use the error message from the model? Is there a specific ? or I should create another for this special function? Please advise. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com Check out the new

Re: Windows Authentication

2010-08-24 Thread Louie Miranda
Can LDAP be used? http://bakery.cakephp.org/articles/view/ldap-models-in-cakephp -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Mon, Aug 23, 2010 at 9:39 PM, Ian Channing wrote: > Has anyone been crazy enough to try getting the Microsoft sqlsvr > d

Re: Calling Validation->cc() from the controller

2010-08-13 Thread Louie Miranda
How about validating proper security code? -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Fri, Aug 13, 2010 at 4:08 PM, Jeremy Burns | Class Outfit < jeremybu...@classoutfit.com> wrote: > Yes, I already do this. Create /app/models/credit

Re: CakePHP 1.3.x Plugin (Working Form Wizard)

2010-08-10 Thread Louie Miranda
m and won't redirect to $this->Wizard->completeUrl = '/signup/confirm'; I actually tried both, 1.3 and 1.2. On 1.2, it does redirect properly. But on 1.3, I am still trying to figure it out. Regards, -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com

Re: CakePHP 1.3.x Plugin (Working Form Wizard)

2010-08-10 Thread Louie Miranda
I am actually trying to make the wizard component work on 1.2, but can't seem to figure it out. On Jun 22, 9:01 pm, kirara wrote: > Hi guys, > > Do you know a form wizard plugin/component who works on the latest > version of cakephp? I've been google-ing and just > foundhttp://bakery.cakephp.org

How to make a suggestion to CakePHP? -- Would like to suggest that the wizard component be added to the core.

2010-08-08 Thread Louie Miranda
will work on 1.3, will find out once I figure everything out on my website http://labs.louiemiranda.com/wizdemo/ Anyway, the wizard component made by jaredhoyt is a great addition to CakePHP! Regards, -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com Check out th

Re: Full Auth package

2010-08-08 Thread Louie Miranda
Hi Miles, Where you able to accomplish? Fixing a bug when using it within plugins. Updating it to be workable with > 1.3.<http://github.com/milesj/cake-auto_login/commit/f55d9b9f826b78c6adcc2b61193588a63ca4bdef> > ? Regards, -- Louie Miranda - Email: lmira...@gmail.com

Re: Autocomplete, can't find $this->data?

2010-08-03 Thread Louie Miranda
*Solved it!* I can't seem to debug($this->data), so I debug($this->params); And found the solution. $this->params['form']['q']; Instead of $this->data['q'] Which is not working. Regards, -- Louie Miranda - Email: lmira...@gmail.com - Web: htt

Autocomplete, can't find $this->data?

2010-08-03 Thread Louie Miranda
> *And my form* create('Publication', array('action' => 'sresults', 'type' > => 'get'));?> > autoComplete('q', '/publications/autocompletetitle'); ?> > end('Search'); ?> > The autocompletetitle vi

Re: Email Component

2010-07-29 Thread Louie Miranda
Try this.. class AccountsController extends AppController { var $name = "Accounts"; var $components = array('Email'); function email() { $this->Email->from= 'Somebody '; $this->Email->to = 'Louie Miranda '

Is there a way to validate cvv of a credit card? on the API it's only the card number?

2010-07-25 Thread Louie Miranda
I am checking the API for 1.3 and googling some examples if there is a way for cakephp core to check on the cvv of a credit card number? Just want to know if anyone has validated it successfully? Thanks -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com Check out

Re: CakePHP 1.3.2 Pagination Error under Plugin

2010-07-21 Thread Louie Miranda
Try changing from: class ClientsController extends CoreAppController to: class ClientsController extends AppController -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Wed, Jul 21, 2010 at 1:30 PM, Bryan de Asis wrote: > I'm having errors when t

Re: Unicode problem between controller and view

2010-07-21 Thread Louie Miranda
Thanks for the info Kirk! I'll be using this as well in the future. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Wed, Jul 21, 2010 at 10:14 AM, Kirk wrote: > I thought it might get annoying... my conversation with myself. But I hope > it he

Re: How to find if findBy... is empty?

2010-07-19 Thread Louie Miranda
I am sorry.. like this? if ($this->Jobstatus->findByTrackingno(null)) { // error } else { // do here } -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Mon, Jul 19, 2010 at 4:03 PM, mike karthauser wrote: > If your tracking number is nu

Re: email components

2010-07-19 Thread Louie Miranda
Maybe you need to authenticate on your Yahoo web hosting before sending an email. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Mon, Jul 19, 2010 at 3:39 PM, fadhli - wrote: > > class MessagesController extends AppController { > >

Re: How to find if findBy... is empty?

2010-07-19 Thread Louie Miranda
Anyone? thanks. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Mon, Jul 19, 2010 at 2:20 PM, Louie Miranda wrote: > I have this code: > > $this->set('jobstatus', > $this->Jobstatus->findByTrackingno($this->data['Jobs

Re: CakePHP 1.3.3 rainbow icing edition released

2010-07-19 Thread Louie Miranda
Thanks everyone! Time to upgrade! :) -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Mon, Jul 19, 2010 at 2:54 PM, Graham Weldon wrote: > Swt! > > Thanks to all the contributors this time around, we have had a great > constant stream of subm

How to find if findBy... is empty?

2010-07-18 Thread Louie Miranda
I have this code: $this->set('jobstatus', $this->Jobstatus->findByTrackingno($this->data['Jobstatus']['track'])); I was wondering how can I know if findByTrackingno is empty? So I could trigger an error without displaying the view? Thanks -- Louie M

Cake1.3, Paginate with fulltext search is having problems when going to page 2 and so on?

2010-07-09 Thread Louie Miranda
#x27;Jazz'; And this works, even the pagination on the succeeding page. Any idea, why if the data received (dynamic) when going to the next pages is not working? Did I missed something out? -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com Check out the new C

Combine JS, Jquery and Prototype + Scriptaculous on views/layout/default.ctp

2010-07-08 Thread Louie Miranda
#x27;jquery'); And then, my other ajax work did not worked? It has a conflict? How can I remedy this? Or I should probably transfer all work from prototype + scriptaculous to jquery? Please advise. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com Check

Re: Can I change $id on ->read(null, $id) to $username or something?

2010-07-08 Thread Louie Miranda
Thanks. This make sense. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Thu, Jul 8, 2010 at 5:32 AM, euromark wrote: > my bad, thats right > sry > > On 7 Jul., 21:18, Miles J wrote: > > The findByUsername() magic methods are not de

Can I change $id on ->read(null, $id) to $username or something?

2010-07-06 Thread Louie Miranda
. Not sure if this is possible using read(). Regards, -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com 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

Re: Can I do a custom find then paginate?

2010-07-05 Thread Louie Miranda
Teh, Thanks for the heads-up and the code. I was doing it the other way around that is why it was not working and I should have removed the conditions. Overall, it is now working. Thanks a million! -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Fri, Jul 2

Can I do a custom find then paginate?

2010-07-02 Thread Louie Miranda
; ")); > $results = $this->Publication->find('all', $params); > $this->set('results', $this->paginate($results)); > This one did not work properly? Any ideas? -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com Check out the new

Re: Can I run 2 versions of CakePHP within a single project

2010-07-01 Thread Louie Miranda
You mean, run parallel? different subdomain? or folder? I think, you could do that. Just check for syntax changes from 1.2 to 1.3 though. Goodluck -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Thu, Jul 1, 2010 at 11:21 PM, WebRia wrote: > Yeah I know t

Re: Would it be possible to use different default.ctp (or shall I say, different templates) for each controllers?

2010-06-17 Thread Louie Miranda
That's easier than the theme. Thanks Jeremy. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Fri, Jun 18, 2010 at 1:28 PM, Jeremy Burns | Class Outfit < jeremybu...@classoutfit.com> wrote: > In your controller function type: $this->

Re: Would it be possible to use different default.ctp (or shall I say, different templates) for each controllers?

2010-06-17 Thread Louie Miranda
Great!!! thanks a lot. -- Louie Miranda - Email: lmira...@gmail.com - Web: http://www.louiemiranda.com On Fri, Jun 18, 2010 at 12:22 PM, Zaky Katalan-Ezra wrote: > Use theme > http://book.cakephp.org/view/488/Themes > > Check out the new CakePHP Questions site http://cakeqs.

Would it be possible to use different default.ctp (or shall I say, different templates) for each controllers?

2010-06-17 Thread Louie Miranda
VIEW/TEMPLATE: /app/views/layouts/goodbye.ctp I only knew one thing about cake and that is to use a single template which is the /app/views/layouts/default.ctp Has anyone done this? Google was not able to search some for me. :( -- Louie Miranda - Email: lmira...@gmail.com Check out the new CakePHP Ques

cake_livesearch.zip copy?

2009-06-29 Thread Louie Miranda
Anyone who have a copy of cake_livesearch.zip? Because... http://justkez.com/wp-content/uploads/2008/04/cake_livesearch.zip Seems to be down. :( -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Quality Web Hosting - www.axishift.com Pinoy Web Hosting, Web Hosting Philippines

Retrieve getID(), does not work

2009-06-28 Thread Louie Miranda
$last_id = $this->Pdf->getID(); Is this the proper way of getting the latest ID on a table? (NOT after save), just want to get the latest ID. -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Quality Web Hosting - www.axishift.com Pinoy Web Hosting, Web Hosting Phili

Re: Two database, different servers.. How to use and connect my model and controller?

2009-06-23 Thread Louie Miranda
Thanks a lot! Exactly what I am looking for. -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Quality Web Hosting - www.axishift.com Pinoy Web Hosting, Web Hosting Philippines On Tue, Jun 23, 2009 at 4:50 PM, Miles J wrote: > > http://book.cakephp.org/view/71/Model-Attr

Two database, different servers.. How to use and connect my model and controller?

2009-06-23 Thread Louie Miranda
ersistent' => false, 'host' => '192.168.10.2', 'login' => 'two', 'password' => 'two, 'database' => 'two', 'prefix' => '', ); How can I access

Custom app, Expiring logins help

2009-06-22 Thread Louie Miranda
Guys, Where do I need to place a filter that if... if ($username == OK) { if ($expiration < date_required) { proceed } else { issue error } } else { invalid login } Will I place this on the app_controller.php? and use beforefilter() ? -- Louie Miranda (lmira...@gmail.com) h

Re: Email Component, cc and bcc not working?

2009-05-12 Thread Louie Miranda
It worked! thanks a lot. $ccArray = array('lmira...@example.com', 'us...@example.com'); -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Quality Web Hosting - www.axishift.com Pinoy Web Hosting, Web Hosting Philippines On Wed, May 13, 2009 at 12:17 PM,

Email Component, cc and bcc not working?

2009-05-12 Thread Louie Miranda
25 Dec 2008) $ // + Modified By: $LastChangedBy: gwoo $ // +---+ // /////// *1.2.0.7962* any ideas? -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Quality Web Hosting - www.ax

HELP, Controller displaying multiple duplicate rows

2009-03-31 Thread Louie Miranda
r`.`id`) LEFT JOIN<http://www.php.net/join>`comments` AS `Comment` 8. ON (`Comment`.`pdffile_id` = `Pdffile`.`id`) LEFT JOIN<http://www.php.net/join>`statuses` AS `Status` 9. ON (`Status`.`pdffile_id` = `Pdffile`.`id`) WHERE `Pdffile`.`user_id` = 17 10. ORDER BY `P

Re: My first CakePHP website launched

2009-03-16 Thread Louie Miranda
You really have a great portfolio. Congratulations! -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Quality Web Hosting - www.axishift.com Pinoy Web Hosting, Web Hosting Philippines On Mon, Mar 16, 2009 at 4:07 PM, Andrew Allen wrote: > > Congratulations on your

Re: What do you develop in (ide, text editor, etc.)?

2009-03-02 Thread Louie Miranda
Currently using Eclipse PDT, but saw a lot of users are switching to Netbeans. Will give it a try, hope it's fast. -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Quality Web Hosting - www.axishift.com Pinoy Web Hosting, Web Hosting Philippines On Tue, Mar 3, 2009 at 2:

Re: FileMaker database "driver"

2009-03-02 Thread Louie Miranda
progress since April 2006? > > - Alex > > On Jan 13, 12:10 am, Louie Miranda wrote: > > > Hi! Very interested. Where could we see the component for FX.php to be > > able to integrate cakephp+fm. > > I am also wondering if FX.php will ever work for FM 9 and 10. > >

Adding custom css class to $html->link and a , HELP!

2009-01-28 Thread Louie Miranda
intf(__('Are you sure you want to activate this order ?', true), $order['List']['id']));* Is there any work around where I could make it work on my first example above? By using cakeish methods? -- Louie Miranda (lmira...@gmail.com) http://www.lo

Re: Simple validation, required=true does not work or has preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash

2009-01-15 Thread Louie Miranda
Hi! Yes, this one. http://book.cakephp.org/view/740/notEmpty Works! I thought from the other examples that is how I should do it, until I found your suggestions and googled notEmpty. Thanks again! -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Security Is A Series Of Well

Simple validation, required=true does not work or has preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash

2009-01-14 Thread Louie Miranda
I get an error of... > preg_match() [function.preg-match <http://php.net/function.preg-match>]: > Delimiter must not be alphanumeric or backslash [* > CORE/cake/libs/model/model.php*, line *2413*] > Shall I always use alphanumeric on the rule? I just want to make it required,

Re: Two alphaNumeric validation on model, but I get a preg_match error on line 187, [CORE/cake/libs/validation.php]

2009-01-14 Thread Louie Miranda
Hi Gwoo, Thanks a lot. I did not knew about that, I think I did not also see that on the manual or it is just me. Anyway, it was solved. -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) On Thu, Jan 15

Re: Two alphaNumeric validation on model, but I get a preg_match error on line 187, [CORE/cake/libs/validation.php]

2009-01-14 Thread Louie Miranda
Anyone? :( -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) On Wed, Jan 14, 2009 at 1:34 PM, Louie Miranda wrote: > Hello, > > I tried two alphaNumeric validation, but I get a preg_ma

Two alphaNumeric validation on model, but I get a preg_match error on line 187, [CORE/cake/libs/validation.php]

2009-01-13 Thread Louie Miranda
27;rule'=>'alphaNumeric', > 'required'=>true, > 'message'=>'This field is required and must contain > alphanumeric characters only.' > ) >

Re: FileMaker database "driver"

2009-01-13 Thread Louie Miranda
Hi! Very interested. Where could we see the component for FX.php to be able to integrate cakephp+fm. I am also wondering if FX.php will ever work for FM 9 and 10. Louie On Apr 12 2006, 7:48 pm, "bdb" wrote: > I have hacked together a version of The Cake Blog Tutorial from > manual.cakephp.org t

Re: Not saving, how to debug more?

2009-01-12 Thread Louie Miranda
Thank you for all your help! Miles yes you are right about, I should not call the save twice. CakePHP SQL query... 407 Query UPDATE `orderlists` SET `status` = 'New' WHERE `orderlists`.`id` = 123 It is now working! -- Louie Miranda (lmira...@gmail

Not saving, how to debug more?

2009-01-12 Thread Louie Miranda
$this->data['Card']['status'] = $CancelStatus; > $this->Card->save($this->data); > $this->Session->setFlash('The order is now active.'); > $this->redirect($this->referer()); >

Re: Fatal error: Call to a member function findByFromApplication() on a non-object in

2009-01-08 Thread Louie Miranda
Thank you for clarifying this. The app is now working. -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) On Thu, Jan 8, 2009 at 11:42 AM, Adam Royle wrote: > > No, accessing models by default is

Fatal error: Call to a member function findByFromApplication() on a non-object in

2009-01-07 Thread Louie Miranda
ne *70*] *Fatal error*: Call to a member function findByFromApplication() on a non-object in */web/app/controllers/billings_controller.php* on line *70* Which is weird? Any ideas? Please help! -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Security Is A Series Of Well-Defined

Re: Limit lines and characters of textarea

2008-12-10 Thread Louie Miranda
Oops wrong mailing list! -- please ignore. My apologies. -- Louie Miranda ([EMAIL PROTECTED]) http://www.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) On Thu, Dec 11, 2008 at 3:47 PM, Louie Miranda <[EMAIL PROTECTED]> wrote: > > Sorry to

Re: Limit lines and characters of textarea

2008-12-10 Thread Louie Miranda
Sorry to dig this up. But, maybe you could combine some of the codes and techniques here -- http://www.ajaxray.com/Examples/charLimit.html -- Louie Miranda ([EMAIL PROTECTED]) http://www.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) On Dec 12 2007, 9

Re: Email Attachments with MIME/Support? PDF is not showing up?

2008-12-09 Thread Louie Miranda
if'; > > $mail->addAttachment($at); > > $mail->send(); > It shows on the manual, it looks pretty simple. Now, I am going to look if I could make a component?! -- Louie Miranda ([EMAIL PROTECTED]) http://www.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod

Re: Email Attachments with MIME/Support? PDF is not showing up?

2008-12-09 Thread Louie Miranda
Hmm.. This looks kinda simple, but does CakePHP has this feature? where I could tell that this is base64? I checked the API and I could not find any. Only a header() option. Hmm.. ? Louie On Dec 10, 11:45 am, Louie Miranda <[EMAIL PROTECTED]> wrote: > Guys, > > I am sending a

Email Attachments with MIME/Support? PDF is not showing up?

2008-12-09 Thread Louie Miranda
Guys, I am sending a automated email with PDF attached. $this->Email->filePaths = array('/home/louie/www/app/webroot/ files/'); $this->Email->attachments = array('Solutions.pdf'); When I received this on gmail, it is ok. But, on Yahoo - It is reading all garbage. --3a2adef3a14b3d8fd981f1c8a0f

Display image, random -- not loading?

2008-11-21 Thread Louie Miranda
much simple. When accessing the background, it would randomize into two different file using 1 and 2. However, I am hitting a wall. I figured, maybe cakephp is loading something I didn't knew yet. -- so the browser could not understand. Any ideas? -- Louie Miranda ([EMAIL PROTEC

App::import, Fatal error: Class 'phpFlickr' not found in /.../app/controllers/components/flickr.php on line 30

2008-11-20 Thread Louie Miranda
r.php')); However, it says "phpFlickr" not found? I truly believe it is being loaded, since it already found the file - only the class is missing? I checked on the class and it is there. Any ideas? -- Louie Miranda ([EMAIL PROTECTED]) http://www.louiemiranda

Re: CakePHP and PHPBB3 Integration

2008-11-19 Thread Louie Miranda
ed google on this but not find satisfactory solution. > > Please help me > > > Thanks > > > -- Louie Miranda ([EMAIL PROTECTED]) http://blog.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) --~--~-~--~~~---~--~---

Re: Sanitize, weird. Class 'App' not found.

2008-11-18 Thread Louie Miranda
However, uses('sanitize'); Works. Louie On Tue, Nov 18, 2008 at 4:10 PM, Louie Miranda <[EMAIL PROTECTED]> wrote: > App::import('Sanitize'); > class CatalogsController extends AppController > { > > *Fatal error*: Class 'App' not found

Sanitize, weird. Class 'App' not found.

2008-11-18 Thread Louie Miranda
eck the import path? anyway, I am going to check again. -- Louie Miranda ([EMAIL PROTECTED]) http://blog.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: CakePHP bake console and mysql-client 5.0, error - Client does not support authentication protocol requested by server

2008-11-17 Thread Louie Miranda
* cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Louie Miranda > *Sent:* Monday, November 17, 2008 11:57 AM > *To:* cake-php@googlegroups.com > *Subject:* CakePHP bake console and mysql-client 5.0, error - Client does > not support authentication protocol request

CakePHP bake console and mysql-client 5.0, error - Client does not support authentication protocol requested by server

2008-11-16 Thread Louie Miranda
ine 134 > Possible Models based on your current database: > Enter a number from the list above, or type in the name of another model. > > ^C > > Any ideas? -- Louie Miranda ([EMAIL PROTECTED]) http://blog.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; a

Re: Twitter Component

2008-11-12 Thread Louie Miranda
I got this error: Array ( [hash] => Array ( [request] => Array ( [#text] => > /statuses/user_timeline.xml?count=10 ) [error] => Array ( [#text] => Not > found ) ) ) > I believe, cakephp is not connecting to twitter :(? Louie On Thu, Nov 13, 2008 at 11:29 AM, Louie M

Re: Twitter Component

2008-11-12 Thread Louie Miranda
Question: This is on the code. $this->Twitter->username = Configure::read('Twitter.username'); $this->Twitter->password = Configure::read('Twitter.password'); $statuses = $this->Twitter->status_user_timeline( //Configure::read('Twitter.usern

Re: IP to GEO

2008-10-12 Thread Louie Miranda
; [EMAIL PROTECTED] > http://needish.com > http://pviojo.net > > [1] http://bakery.cakephp.org/articles/view/geoip-component > > > > On Sat, Oct 11, 2008 at 12:22 PM, Louie Miranda <[EMAIL PROTECTED]>wrote: > >> >> http://bakery.cakephp.org/articles/view/quic

IP to GEO

2008-10-11 Thread Louie Miranda
http://bakery.cakephp.org/articles/view/quickly-translate-ip-to-geo-coordinates Guys, anyone tried to work on this on 1.2.x? -- Louie Miranda ([EMAIL PROTECTED]) http://louiemiranda.axishift.com Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile

Re: Is this a crazy phbBB3 & CakePHP idea?

2008-08-26 Thread Louie Miranda
How did you did it? On Aug 21, 6:18 am, designvoid <[EMAIL PROTECTED]> wrote: > Yeah that was my plan, and how I have executed it. > > Seems to be working well, especially with Containable there to really > target exactly what I want returned. > Add to that the caching engine and I reckon this is

Re: Complex password? on bakery?

2008-06-28 Thread Louie Miranda
Yeah. I figured. On Sat, Jun 28, 2008 at 10:07 PM, Marcin Domanski <[EMAIL PROTECTED]> wrote: > > you can do some googleing , maybe look at cakeforge ? and im sure youll > find it > > On Sat, Jun 28, 2008 at 4:05 PM, Louie Miranda <[EMAIL PROTECTED]> wrote: > >

Complex password? on bakery?

2008-06-28 Thread Louie Miranda
ation? I just want to see how this regex was made? Thanks! -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: Which find to use on controller?

2008-06-26 Thread Louie Miranda
ay, likely in Cake 2.0. > > On Jun 19, 11:45 pm, "Louie Miranda" <[EMAIL PROTECTED]> wrote: > > Thanks! > > > > I also tried this and it did work. > > > > $this->set('articles', $this->Post->findAllBycategoryId(1)); > >

Re: integration phpbb3 with cake

2008-06-24 Thread Louie Miranda
Already declareted... USer Cache >> >> So someone was able to integrate? >> >> I am also trying to hash password with alghoritm...it is very hard ... >> Thanks >> >> > > > -- > Marcos Aruj Alvarez > Ingeniero de Software > -

Re: Which find to use on controller?

2008-06-19 Thread Louie Miranda
t; Louie On Fri, Jun 20, 2008 at 11:24 AM, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > On Thu, Jun 19, 2008 at 11:17 PM, Louie Miranda <[EMAIL PROTECTED]> > wrote: > > Anyway.. tried this.. > > $this->Post->find('articles', array('condition

Re: Which find to use on controller?

2008-06-19 Thread Louie Miranda
Anyway.. tried this.. $this->Post->find('articles', array('conditions'=> array('Post.category_id' => 1))); But, could not get the correct parameters working. I'll check again the book. On Fri, Jun 20, 2008 at 11:09 AM, Louie Miranda <[EMAIL PR

Which find to use on controller?

2008-06-19 Thread Louie Miranda
id] => 4 > [created] => -00-00 00:00:00 > [modified] => -00-00 00:00:00 > [name] => News > ) > > ) > > ... > help! -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com Security Is A Se

Re: Please include CakeBaker on the blog list

2008-06-04 Thread Louie Miranda
e absurdity of blaming others for your own shortcomings is just > > dumbfounding. > > Did you read the respective article *and* the comments? The example I > used in the article is probably a bit misleading, but the article is > not about blaming others, it is about blaming yoursel

Re: CMS?

2008-06-01 Thread Louie Miranda
Interesting... On Mon, Jun 2, 2008 at 10:24 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > What Cake CMS Forge projects have people used with good results? > > > -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com Security Is A Series Of Well-Defined Ste

Using the log function -> log to database

2008-05-12 Thread Louie Miranda
is a quick setting that instead that this will write to a default log file, it will write to a database table instead.. Or, its better to create my own anyways... -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com Security Is A Series Of Well-Defined Steps c

Re: What kind of authentication script?, tutorial? do you use?

2008-05-10 Thread Louie Miranda
n > > On May 9, 8:11 am, Sliv <[EMAIL PROTECTED]> wrote: > > There are ACL tutorials linked in the unofficial resources page as > > well. > > > -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com Security Is A Series Of Well-Defined Steps chmod -R 0 /

Re: What kind of authentication script?, tutorial? do you use?

2008-05-09 Thread Louie Miranda
th/ACL, but I am more > comfortable upgrading my core without breaking my app because I'm > trying to stick to the conventions of the framework (plus having more > understanding of how the implementation works in my app). > > > > -- Louie Miranda ([EMAIL P

Re: 1.2 Documentation has made amazing progress

2008-05-08 Thread Louie Miranda
TED]> wrote: > > Yes, indeed, I use it a lot too - maybe at some point there will be a > > way to mirror it to contributed servers so it doesn't get too slow due > > to the size and number of people using it :P > > > -- Louie Miranda ([EMAIL PROTECTED]) http://

What kind of authentication script?, tutorial? do you use?

2008-05-08 Thread Louie Miranda
I am looking for a authentication script?, tutorial for my new app that will work on 1.2 I search on the bakery and found this results: http://bakery.cakephp.org/articles/search -- search string = auth Any suggestions? I got confused. -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com

Re: CakePHP and Flickr -- sitepoint example

2008-05-07 Thread Louie Miranda
DevShed article in Print > Preview (or PDF) form. If there's any questions with tutorials and > you're using a rendered version of the original, it's best to first > check the original for comparison. > > > On May 7, 11:27 am, "Louie Miranda" <[EMAIL PROTE

CakePHP and Flickr -- sitepoint example

2008-05-07 Thread Louie Miranda
q=%23#term_72> [9]('Flickr'); var $uses = null; } Noticed the $components = array [9] ('Flickr');? It is somewhat wrong and causing error, because the array is incorrect. Any idea's what exactly would be the right one? Is it? array('9'=>&#

  1   2   >