how to fetch image from db

2011-09-11 Thread Sivaramakrishnan S
hi, I need to display image which is in the database,i save image path in that field.how to fetch the image from the image directory path and display in the index page of the application.. Thanks in advance shiva, -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp

Re: How safe is CakePhps auth component and other ..

2011-09-11 Thread Simon Males
Olaf, I had the same problem, though I put the disableCache method in the beforeRender() action in app_crontroller.php http://book.cakephp.org/view/988/disableCache Never fully confirmed it was Microsoft Proxy though all the problem cases had an IE7 user agent. On Sun, Sep 11, 2011 at 11:57 AM,

Re: fopen(.../app/tmp/cache/persistent/cake_core_default_en-us) [function.fopen]: failed to open stream: No such file or directory

2011-09-11 Thread Tom Belknap
Hmm... No luck, any other ideas? I've been using CakePHP for over a year and never had this problem. I upgraded to the latest version of CakePHP, maybe that's the problem, somehow? But I don't have a similar problem on my dev server, so that's strange. -- Our newest site for the community: Cak

Re: fopen(.../app/tmp/cache/persistent/cake_core_default_en-us) [function.fopen]: failed to open stream: No such file or directory

2011-09-11 Thread Tom Belknap
Thank you for your reply. I'm going to see how that works. -- 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 unsubscribe from this group,

Re: Email component working wrong

2011-09-11 Thread Piotr Chabros
Yes I am sure that the 'username' is the email. Sorry for the double post. On Sep 11, 10:18 am, euromark wrote: > are you sure that the "username" is actually an email address? > or did you wanna write $User['User']['email'] ? > > On 9 Sep., 16:48, Piotr Chabros wrote: > > > > > > > > > Hello, >

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread O.J. Tibi
Odd. Maybe the guy doesn't know how to code using CakePHP, that's why he's saying that there's no hard-hitting CakePHP site out there. Or maybe he's comparing the framework to himself, I don't know. I'm proud of my http://ph.politicalarena.com/ anyway. Still up and running since '09. -- Our ne

Re: Facts

2011-09-11 Thread Sam Sherlock
not sure what the hits are but http://www.pachalondon.com http://www.dailystar.co.uk http://www.zumba.com - S On 11 September 2011 20:50, John Hardy wrote: > Cakphp Website: > > http://theberrics.com > > Serve over 1.5 million pages per day….. Wordpress couldn't keep up….. ;-) > > > On

Re: Facts

2011-09-11 Thread John Hardy
Cakphp Website: http://theberrics.com Serve over 1.5 million pages per day….. Wordpress couldn't keep up….. ;-) On Sep 11, 2011, at 12:47 PM, Jeremy Burns | Class Outfit wrote: > If you are that dissatisfied, just go away. Thanks for worrying about us, but > we'll be fine without you. > > J

Re: Facts

2011-09-11 Thread Jeremy Burns | Class Outfit
If you are that dissatisfied, just go away. Thanks for worrying about us, but we'll be fine without you. Jeremy Burns Class Outfit http://www.classoutfit.com On 11 Sep 2011, at 09:14, Krissy Masters wrote: > With cake dot com how many jobs? Dead site! Krop.com , authentic jobs? How > many wa

Re: Why is this better?

2011-09-11 Thread Miles J
I actually posted a blog post about this: http://milesj.me/blog/read/end-html-helper On Sep 11, 1:28 am, elija wrote: > Thank you. That makes sense and now I don't have to learn it the hard > way. > > On Sep 11, 8:30 am, Ryan Schmidt wrote: > > > > > > > > > On Sep 11, 2011, at 02:29, elija wro

Re: pass information to the view

2011-09-11 Thread Zaky Katalan-Ezra
Yes On Sun, Sep 11, 2011 at 9:06 PM, euromark wrote: > @zaky > you meant.. > $this->set(compact('campos')); > > @aortizhi > you can then access it with > $campos['Model']['field'] > > > > > On 11 Sep., 19:21, Zaky Katalan-Ezra wrote: > > $this->set('campos',$campos); > > or > > $this->set(compac

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Andy Gale
This is CLASSIC trolling. Congratulations on a job well done. On Sun, Sep 11, 2011 at 7:45 AM, Krissy Masters wrote: > Cake is falling apart, everyone wants Drupal . > > Kill me hate me but its true. > > Cake is an ass in the pan going where? > > Cake fest eat it up cause the cake ta

Re: acl tutorial aros and acos tables

2011-09-11 Thread Almacenamiento Almacenamiento
Yes, you can also add in the controller, but is otherwise and is somewhat harder to remember .. 2011/9/11 elija > One of the DOH! moments. > > In case anyone else is this much of an idiot, the code in 11.2.4 Acts > As a Requester is for the models, not the controllers. > > On Sep 11, 5:54 pm, el

Re: pass information to the view

2011-09-11 Thread euromark
@zaky you meant.. $this->set(compact('campos')); @aortizhi you can then access it with $campos['Model']['field'] On 11 Sep., 19:21, Zaky Katalan-Ezra wrote: > $this->set('campos',$campos); > or > $this->set(compact($campos)); > > > > > > > > On Sun, Sep 11, 2011 at 7:28 PM, aortizhi wrote: >

Re: acl tutorial aros and acos tables

2011-09-11 Thread elija
One of the DOH! moments. In case anyone else is this much of an idiot, the code in 11.2.4 Acts As a Requester is for the models, not the controllers. On Sep 11, 5:54 pm, elija wrote: > Moving to the next page, I see that acos isn't automatically populated > but in my case neither is aros. I've g

Re: pass information to the view

2011-09-11 Thread Zaky Katalan-Ezra
$this->set('campos',$campos); or $this->set(compact($campos)); On Sun, Sep 11, 2011 at 7:28 PM, aortizhi wrote: > Hi everyone, i have a problem passing infomation to my view. Here's my > code > > in my controller > > public $campos; //global variable > > if (empty($this->data)) { > $this->da

Re: acl tutorial aros and acos tables

2011-09-11 Thread elija
Moving to the next page, I see that acos isn't automatically populated but in my case neither is aros. I've gone through the tutorial again and can't see anything i've missed. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions

Re: fopen(.../app/tmp/cache/persistent/cake_core_default_en-us) [function.fopen]: failed to open stream: No such file or directory

2011-09-11 Thread Sam Sherlock
I change group to www-data for the tmp dir - S On 11 Sep 2011 14:04, "Tom Belknap" wrote: > I guess I'm a bit confused as to why a flamer's rant against CakePHP seems > more important to the community here than answering a question? Where have > all the admins gone? > > -- > Our newest site for

pass information to the view

2011-09-11 Thread aortizhi
Hi everyone, i have a problem 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); $this->campos=$this->ArchivosSistema->LeerTXT($this- >data['ArchivosSistema'][

acl tutorial aros and acos tables

2011-09-11 Thread elija
I'm using cake 1.3 and following the "Simple acl controlled application" tutorial. I get as far as adding my groups and users but the aros and acos tables are both empty. As I'm a complete beginner to Cake, where should I start investigating this? Cheers Elija -- Our newest site for the commun

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread mark_story
Thanks for the thoughtful words Krissy. Its always nice to get an honest opinion, hopefully in the future CakePHP will better suit the work you are doing. All the best in the future. -Mark On Sep 11, 7:45 am, "Krissy Masters" wrote: > Cake is falling apart,  everyone wants Drupal . > > Kill me

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Yves S. Garret
My iPhone gets e-mail updates and was tired of hearing it go off because of spam. Matt, just don't even respond to this sort of stuff. On Sun, Sep 11, 2011 at 10:03 AM, Matthew Kaufman wrote: > Yves, in response to you: I know -- why do you ? ... > > On Sun, Sep 11, 2011 at 9:08 AM, Yves S.

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Matthew Kaufman
Yves, in response to you: I know -- why do you ? ... On Sun, Sep 11, 2011 at 9:08 AM, Yves S. Garret wrote: > No, it's just an attention whore/troll. Seriously guys, why did you even > bother writing back? > > > On Sun, Sep 11, 2011 at 8:58 AM, 100rk wrote: > >> So? Somebody told you that y

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Yves S. Garret
No, it's just an attention whore/troll. Seriously guys, why did you even bother writing back? On Sun, Sep 11, 2011 at 8:58 AM, 100rk wrote: > So? Somebody told you that your CakePHP application sucks or what? > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakeph

Re: fopen(.../app/tmp/cache/persistent/cake_core_default_en-us) [function.fopen]: failed to open stream: No such file or directory

2011-09-11 Thread Tom Belknap
I guess I'm a bit confused as to why a flamer's rant against CakePHP seems more important to the community here than answering a question? Where have all the admins gone? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions si

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread 100rk
So? Somebody told you that your CakePHP application sucks or what? -- 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 unsubscribe from thi

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Tran Cao Thai
@flo.kl...@googlemail.com: Love you mail. Gmail should have a like button =)) On Sun, Sep 11, 2011 at 3:54 PM, flo.kl...@googlemail.com < flo.kl...@googlemail.com> wrote: > You know why nobody is saying anything? Because nobody is taking you > serious. There is no point getting into an argument w

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Matthew Kaufman
Honestly, her post is hilarious... Big deal It's a funny generic complaint that any one of us could have toward any specific framework at one time or another during the day's minutes that pass by. On Sun, Sep 11, 2011 at 4:54 AM, flo.kl...@googlemail.com < flo.kl...@googlemail.com> wrote:

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Saransh Sharma
he is thinking in money when money comes into play there comes into the responsibility ok guys. On Sun, Sep 11, 2011 at 2:24 PM, flo.kl...@googlemail.com < flo.kl...@googlemail.com> wrote: > You know why nobody is saying anything? Because nobody is taking you > serious. There is no point getting

RE: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread flo.kl...@googlemail.com
You know why nobody is saying anything? Because nobody is taking you serious. There is no point getting into an argument with a lunatic. You're talking about freedom of speech, fair enough. But that doesnt change the fact that you are an asshole! If you dont like cake, dont use it!! Oh, and fuck

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Matthew Kaufman
lol!!! I really like Cake, but I almost agree!!! On Sun, Sep 11, 2011 at 2:45 AM, Krissy Masters wrote: > Cake is falling apart, everyone wants Drupal . > > Kill me hate me but its true. > > Cake is an ass in the pan going where? > > Cake fest eat it up cause the cake tastes better

Re: CakePHP email component problem

2011-09-11 Thread WebbedIT
duplicate thread: http://groups.google.com/group/cake-php/browse_thread/thread/13a87371c17428e euromark has started supporting this at other thread On Sep 10, 2:47 pm, Piotr Chabros wrote: > Hello, > > in my application there is a part of a code responsible of sending an > emails to my users. It

Re: Email component working wrong

2011-09-11 Thread WebbedIT
Duplicate thread: http://groups.google.com/group/cake-php/t/a749cc9e6c8f2869 On Sep 11, 9:18 am, euromark wrote: > are you sure that the "username" is actually an email address? > or did you wanna write $User['User']['email'] ? > > On 9 Sep., 16:48, Piotr Chabros wrote: > > > > > > > > > Hello,

Re: Why is this better?

2011-09-11 Thread elija
Thank you. That makes sense and now I don't have to learn it the hard way. On Sep 11, 8:30 am, Ryan Schmidt wrote: > On Sep 11, 2011, at 02:29, elija wrote: > > > Yes it is readable and concise but a simple is even > > easier to read and doesn't use PHP to generate a link.  What I was > > actual

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Angel
I worked for a place that uses cake for the American Idol voting analytics system. Plans to use with X factor as well. Their pockets seemed deep. I think the observation you made about cake users is an interesting insight. Wordpress I use and love but the reason it's showcased so much is becaus

Re: Facts

2011-09-11 Thread Raisen
The reason that Drupal/WP/etc... has more job posts is because most employers want to hire offshore people to make shitty sites in a short time for cheap. Like I said before, you comparison of a PHP framework with a CMS is irrelevant... they serve for different purposes. -- Our newest site for

Re: Why is this better?

2011-09-11 Thread euromark
"But using php to generate link is slower to render a page" actually its not notically at all - even under heavy load. the important fact is how MANY links there are on a single page. this will decide the page load. so as long as you dont need to output > 1000 links you will be fine. On 11 Sep.,

Re: Email component working wrong

2011-09-11 Thread euromark
are you sure that the "username" is actually an email address? or did you wanna write $User['User']['email'] ? On 9 Sep., 16:48, Piotr Chabros wrote: > Hello, > > I have a function sending email to all the users, and every email sent > is copied to another email address too: > > [CODE HERE] > $th

Facts

2011-09-11 Thread Krissy Masters
With cake dot com how many jobs? Dead site! Krop.com , authentic jobs? How many want Cake? oDesk cake 16 jobs Drupal , WordPress, Zend thoudasnds.there is no denying that ,speak up if I'm an wrong..waititing waiting waiting..nope no arguments there . No one wants Cake. I'm wrong sure

RE: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Krissy Masters
Too funny how "someone" changes the subject line to make me look like a fool yet said no one said anything else? H, maybe im right? Yes im on Meth you asked me out last week you fool and so did PHP nut Master so you guys want an open forum for discussions and not 1 of you has anything to say, j

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Angel Robert Marquez
Virtual squeeze KM. It'll be OK. I will miss your scheduled seo optimized question strategy. On Sun, Sep 11, 2011 at 12:33 AM, Matthew Kaufman wrote: > LOL, Your subject line is ridiculous... > > > On Sun, Sep 11, 2011 at 3:32 AM, Matthew Kaufman wrote: > >> hahahahaha >> >> >> On Sun, Sep 1

Re: ckaephp 2.0 using Configure::read in model construct method

2011-09-11 Thread Dr. Loboto
If Configure::read() outputs right value, and this is really output from right place, your very first code in this thread is the one you need. My assumption was that you don't get right value by Configure::read() in model constructor because it is not set yet (I explained it before). And this stil

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Robert Maiolo
meth is a hell of a drug On Sun, Sep 11, 2011 at 12:33 AM, Matthew Kaufman wrote: > LOL, Your subject line is ridiculous... > > > On Sun, Sep 11, 2011 at 3:32 AM, Matthew Kaufman wrote: > >> hahahahaha >> >> >> On Sun, Sep 11, 2011 at 3:30 AM, Raisen wrote: >> >>> Why are you comparing Cake

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Matthew Kaufman
LOL, Your subject line is ridiculous... On Sun, Sep 11, 2011 at 3:32 AM, Matthew Kaufman wrote: > hahahahaha > > > On Sun, Sep 11, 2011 at 3:30 AM, Raisen wrote: > >> Why are you comparing Cake to Drupal? Shouldn't you be comparing Cake to >> Django? Or Ruby on Rails? I don't see the point

Re: Unable to install CakePHP

2011-09-11 Thread Ryan Schmidt
On Sep 9, 2011, at 23:20, saurabh mishra wrote: > this all are a problem of mac os this is already running in the win7 > and all old os There is no "problem of mac os"; there's just a problem of someone trying to set up apache who doesn't understand how to do so. -- Our newest site for the

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Matthew Kaufman
hahahahaha On Sun, Sep 11, 2011 at 3:30 AM, Raisen wrote: > Why are you comparing Cake to Drupal? Shouldn't you be comparing Cake to > Django? Or Ruby on Rails? I don't see the point in your troll at all. Maybe > you should had posted your message in the Joomla group. > > -- > Our newest sit

Re: Why is this better?

2011-09-11 Thread Ryan Schmidt
On Sep 11, 2011, at 02:29, elija wrote: > Yes it is readable and concise but a simple is even > easier to read and doesn't use PHP to generate a link. What I was > actually wondering was is there any advantage in CakePHP to using the > HTML Helper rather than just writing HTML in a view? The a

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Raisen
Why are you comparing Cake to Drupal? Shouldn't you be comparing Cake to Django? Or Ruby on Rails? I don't see the point in your troll at all. Maybe you should had posted your message in the Joomla group. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Chec

Re: Why is this better?

2011-09-11 Thread elija
Yes it is readable and concise but a simple is even easier to read and doesn't use PHP to generate a link. What I was actually wondering was is there any advantage in CakePHP to using the HTML Helper rather than just writing HTML in a view? Having re-read my question, I realise that I was incred

Re: Why is this better?

2011-09-11 Thread somebody who carez
But using php to generate link is slower to render a page, because php has to process the code unlike a html element. Of course it's not noticeable unless under very high load. Thank you, -Alex Goretoy On Sat, Sep 10, 2011 at 9:22 PM, Sam Sherlock wrote: > its a balance; the code you posted is r