What about your web server? is it up?
On Mon, Jun 2, 2014 at 2:58 PM, Hod Benbinyamin wrote:
> I installed latest cakephp (2.5.1 stable)
> Open browser on it and was able to see homepage.
>
> Restarted the machine and now i get 'webpage is not available'
> ping works
>
> Any idea?
>
> --
> Like
The tool is awesome, Thanks for sharing :)
Just a small question though, dont you think that it reinvents the wheel? i
mean bake tool is already easy to use on a localhost machine so why
would anyone need to use an online baking tool?
On Wed, Apr 10, 2013 at 9:19 AM, Christian Cadéré wrote:
>
With all due respect but this benchmark is ridicules!, comparing native
coded application with a framework app doesn't make any sense, worst yet
comparing programming languages in terms of performance taking in mind the
natural diffs between programming languages, its almost like comparing
water wi
Start with the cookbook http://book.cakephp.org/2.0/en/index.html
On Tue, Feb 5, 2013 at 1:23 AM, Mohammed Azharuddin wrote:
> How r u all? hope this mail reach you all with Good health..
>
> i'm new to frame work i never used frame work in my projects i like to
> develop project using cake ph
http://book.cakephp.org/2.0/en/models/datasources.html
Check out the example usage of "FarAwaySource"
On Mon, Jan 7, 2013 at 9:59 AM, marcus33cz wrote:
> Hi all,
>
> I have several external APIs which I'd like to use - such as this one:
> http://www.pinnaclesports.com/apimanual/commands.aspx
>
Just check your database permissions and make sure that the user mentioned
in your database.php file is actually able to use the database mentioned by
its name in the same file, my hunch is telling me that this is your problem
:)
On Thu, Oct 18, 2012 at 8:22 PM, Russell Brown wrote:
> I should al
Does it say at what line the error occurs? What does your web server's
error log say?
On Thu, Oct 18, 2012 at 6:14 PM, Russell Brown wrote:
> Yes. I did a clean install and still get the error.
>
> I get the DebugKit toolbar -it works fine.
>
> For some reason I can't just type debug($this); bef
Will you also dump your model file contents
On Mon, Oct 15, 2012 at 7:58 PM, Russell Brown wrote:
> Error: Call to a member function find() on a non-object
> File: c:\wamp\www\cake222\app\Controller\AddressesController.php
>
> I get the error on the $this->set('address_list',
> $this->Address->
Why don't you rais up debug mode or check your server's logs and see
whats happening!
Trust your self, you can do it :)
On Mon, May 21, 2012 at 7:20 PM, Blues Clues wrote:
> Hi
> I have added this code by mapping the file location to files/upload/ under
> webroot folder of Cakephp. However, noth
try something like:
$this->request->data['Device']['updated'] = false;
On Sat, Jan 28, 2012 at 4:37 PM, Charles Bueche wrote:
> Hey bakers,
>
> I'm using CakePHP 2.1 on Ubuntu.
>
> I'm trying to update a single DB field, without CakePHP updating the
> "modified" field. Here is my code:
>
>
100% Granted!
On Wed, Nov 23, 2011 at 2:18 AM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:
> Don't just rely on recursion. Always use the containable behaviour.
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 2
If there is any kind of association between `Post` and `Period` models then
you can easily play with model's `recursive` flag to obtain what you want,
otherwise you may manually load `Period` model in your `PostsController`
and fetch the information you seek, code language:
$this->loadModel('Period
HTTP doesn't carry the MAC address over to your server, plus this is not a
CakePHP question so i suggest using google before asking such a question in
a specific mailing list that is dedicated for a specific topic.
On Mon, Nov 21, 2011 at 1:15 PM, rrvasanth wrote:
> Dear friends...
>
> I need to
Most likely you need to leave the port section empty in your db
configuration
On Sat, Nov 5, 2011 at 9:55 PM, bluethundr wrote:
> ## cake cannot connect to the databse
>
> Your tmp directory is writable.
>
> The FileEngine is being used for caching. To change the config edit
> APP/config/core.ph
webroot/media/transfer
>
> ...runs without error and set the permissions for the media/transfer
> directory.
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 1 Nov 2011, at 11:02, Ma'moon wrote:
>
> Will you try without -R option
>
>
Will you try without -R option
On Tue, Nov 1, 2011 at 12:38 PM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:
> /Sites/mysitename/app
>
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 1 Nov 2011, at 10:33, Ma'moon wr
b: +44 (0) 7973 481949
> Skype: jeremy_burns
> http://www.classoutfit.com
>
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 1 Nov 2011, at 10:02, Ma'moon wrote:
>
> try this chmod a+rwX -R webroot/media/{transfer,filter}
>
> On Tue, Nov 1, 2011
try this chmod a+rwX -R webroot/media/{transfer,filter}
On Tue, Nov 1, 2011 at 11:26 AM, Jeremy Burns
wrote:
> I'm a GUI man me. CLI stuff just makes me go blank. It's like staring
> into a black hole. Give me something I can point at and click and I'm
> a happy man.
>
> I'm following the tutoria
think
that i can live with that for now.
Hope this will help somebody someday.
Thanks Guys.
On Sun, Oct 23, 2011 at 10:03 AM, Ma'moon wrote:
> Hello Guys,
>
> I have a problem that i don't really know how to fix since am not really
> an apache nor mod_rewrite expert
Hello Guys,
I have a problem that i don't really know how to fix since am not really an
apache nor mod_rewrite expert, i did my homework by researching and
googling but with no luck so far.
I need to create subdomains beside the directory that contains my CakePHP
installation, right inside the dir
Can you post your controller code and let us see how you exactly implemented
this?
On Tue, Oct 4, 2011 at 10:41 AM, thomaus wrote:
> Nobody no clue?
>
> On Oct 3, 5:36 pm, thomaus wrote:
> > Thanks for your answers.
> >
> > Here is how I set my header (the video file is a .mp4 one)
> >
> >
Though i would diffidently put the file in webroot to save server resources
and perhaps yet better i would try to put it in a CDN but if you would like
to serve the file the way you described, have you written [*header*
("Content-Type: *video*/x-ms-wmv");] before you send the file back to
client.
How about the tree behavior http://book.cakephp.org/view/1341/Basic-Usage
On Sun, Sep 25, 2011 at 7:29 AM, g.dimakopou...@velicron.eu <
g.dimakopou...@velicron.eu> wrote:
> I want to turn the following array into an associative one. The
> original array is indexed like [0],[1],[2],…[n]. The funct
Do you mean having the generated files being committed to SVN automatically
after baking the project?
On Mon, Sep 12, 2011 at 5:38 PM, hr_software_developer wrote:
> You can make classes based on relationship using cake-baker, right?
> ( view, model, and controller classes )
> Once I bake them I
Just a quick small hint, never use "root" account for production, instead
create another database user and grant for it the desired permissions. and
by the way, if "root" worked for you then clearly you have a problem with
the "previous" user's permissions or existence.
On Tue, Sep 6, 2011 at 1:24
Yep, they're perfectly working :)
Thanks Larry
On Sat, Sep 3, 2011 at 6:46 AM, Larry E. Masters wrote:
> They are streaming, check again.
>
> --
> Larry E. Masters
>
>
> On Sat, Sep 3, 2011 at 4:31 AM, Ma'moon wrote:
>
>> Neither the first one!
>&
Neither the first one!
On Sat, Sep 3, 2011 at 5:25 AM, Larry E. Masters wrote:
> We are streaming CakeFest 2011 from Manchester at live.cakephp.org
>
> We have 2 tracks
>
> http://live.cakephp.org/
>
> http://live.cakephp.org/pages/second_track
>
>
> --
> Larry E. Masters
>
> --
> Our newest si
second track is not streaming!
On Sat, Sep 3, 2011 at 5:25 AM, Larry E. Masters wrote:
> We are streaming CakeFest 2011 from Manchester at live.cakephp.org
>
> We have 2 tracks
>
> http://live.cakephp.org/
>
> http://live.cakephp.org/pages/second_track
>
>
> --
> Larry E. Masters
>
> --
> Our n
> You think I can condition my gzip in boostrap.php ?
>
> On Thu, Sep 1, 2011 at 5:53 PM, Ma'moon wrote:
>
>> put ob_start ('ob_gzhandler') in your bootstrap.php file.
>>
>>
>> On Thu, Sep 1, 2011 at 10:27 AM, Teddy Zeenny wrote:
>>
&
put ob_start ('ob_gzhandler') in your bootstrap.php file.
On Thu, Sep 1, 2011 at 10:27 AM, Teddy Zeenny wrote:
> Hey guys,
>
> Does anyone have an idea on how to gzip cached views ?
>
> The way I would do it is use ob_start ('ob_gzhandler') in my
> controller's beforeFilter.
>
> The problem is w
Hi Edmund,
There is a big difference between PHP and CakePHP, PHP is a web/scripting
programming language while CakePHP "Which was built using PHP" is actually a
web application framework that you use to build web applications.
I suggest getting your hands really dirty with PHP first before you co
Put the same content that you got from the database in a form contained
within a hidden , offer a link or a button named "Edit", onclick at
that button show the hidden that contains the form which will save
"edit" the data.
Am not really sure if that would be a CakePHP related issue though!
On S
The only thing that i can see that worth the concern is using $this
->params['form']['username'] and also $this->User->query() , its been
clearly stated in the cook book that using "query" instead of "find" will
make you go with your own to prepare the SQL statement that you wish to
execute, i wou
Thank you so much for this wonderful effort, i would love to stay that i
have been always a happy baker but now am truly much happier than ever :)
Please guys keep up the great work, without this amazing effort our life
will much harder, i just love CakePHP, i truly lovin it :)
On Tue, Jul 26,
On Thu, Jun 23, 2011 at 3:22 PM, majna wrote:
> It's not just database.php credentials issue,
> debugger "code and context" can output any code excerpt.
> For example, you may have API_KEY just above some code that produce
> PHP notice,
> and debugger will show your key.
>
> Proposal:
> - add not
just check the URL http://localhost/cakephp1.3.8/ and see if you get a nice
default welcome page colored and styled, if you get this page then your
mod_rewrite is ON otherwise it will be OFF or not enabled.
Ma'moon
On Mon, May 2, 2011 at 3:51 PM, jyoti bhandari wrote:
> Ma'moo
Can you see the page
"http://localhost/cakephp1.3.8/<http://localhost/cakephp1.3.8/posts/index>"
rendered properly with all style sheets elements? are you sure that you have
mod_rewrite enabled in your web server's configuration?
Ma'moon
On Mon, May 2, 2011 at 3:3
What is the URL that you are calling in order to render the page?
Ma'moon
On Mon, May 2, 2011 at 8:00 AM, jyoti bhandari wrote:
> It is already set to 2. :(
>
> On Mon, May 2, 2011 at 4:48 AM, Ma'moon wrote:
>
>> in file app/config/core.php change the value
in file app/config/core.php change the value of {debug} and set it to "2",
refresh the page and check if it throws any errors or warnings.
On Sun, May 1, 2011 at 7:20 AM, Jo wrote:
> Hi,
>
> I am new to cakephp. I am installing the cakephp and created model,
> controller and view according to th
Thanks a lot :)
On Sat, Apr 2, 2011 at 3:00 PM, cricket wrote:
> On Sat, Apr 2, 2011 at 12:44 PM, Ma'moon wrote:
> > Hi,
> > Is there any way to detect if a model is already been loaded or not,
> > something like a method called "$this->isLoaded($modelName)&
Hi,
Is there any way to detect if a model is already been loaded or not,
something like a method called "$this->isLoaded($modelName)" that you can
call from within the controller?
Thanks in advance for any help :)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.
1) Have you tried using a bytecode cacher? i think that you should consider
using APC or Xcache if you are not using one of them already!
2) Have you considered using HTML Caching for your site, this will
"seriously" help reducing server processing!
On Wed, Mar 23, 2011 at 1:28 PM, Ziki wrote:
>
boost the
performance we saw that IMAP was the best solution ever for this kind of
tasks
Ma'moon
On Wed, Feb 23, 2011 at 8:08 PM, euromark wrote:
> sure
>
> CREATE TABLE IF NOT EXISTS `comm_conversations` (
> `id` char(36) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
&g
Can you post a code sample for what you are trying to accomplish?
On Thu, Jan 20, 2011 at 8:20 AM, OmniproX wrote:
> Hi all, I wanted to know, if you have ever run into this issue.
>
> I know how to paginate a query from the controller fine.
>
> But how do you paginate a custom array that you cr
adopted by
CakePHP 2.x, above this and that i am only throwing my 5 cints :)
On Sun, Jan 9, 2011 at 6:23 PM, euromark wrote:
> the problem with the book is that its mainly phpunit specific
> not a good resource for a cake1.x user which wants to start off
> testing :)
>
> On 9 Jan.
Here is very good book for unit testing, i suggest you start reading it
instead of reading tuts or articles in a separated manner:
http://www.limespace.de/wp-content/uploads/2009/12/practical-php-testing.pdf
You can legally use the book and distribute it :)
On Sun, Jan 9, 2011 at 5:13 AM, netusco
$this->data['User']['password'] gets hashed automatically from Auth
component, you don't need to hash it cause it will be already hashed, if you
don't want to have such a behavior try renaming your password form field to
be something other than "password", say "passPhrase" or something else
On Sun
Check out the sluggable behavior
http://bakery.cakephp.org/articles/mariano/2007/03/24/sluggable-behavior
On Wed, Dec 22, 2010 at 1:23 AM, tcornett wrote:
> I am trying to get an app to work with Twitter-like and Facebook-like short
> names for navigation (like http://twitter.com/) where XXX
First, why you are not using Auth component? this will make your life a lot
easier!
Second, what are your validation rules?
On Sun, Dec 19, 2010 at 8:12 AM, John Maxim wrote:
> Modified function code: (NEW)
>
> function register()
>{
> if (!empty($this->data))
>
How about google? its a very good search engine and works really well in
such cases :)
On Fri, Dec 10, 2010 at 10:17 PM, a.g.p. wrote:
> Hi, does anybody can tell me how to show a video on a website with php,
> once it has been uploaded into the server?
> Thanks!
> -
nd assign the default handler
> "Cache" for memcached, or vise versa ??
>
> On Dec 6, 11:55 am, "Ma'moon" wrote:
> > I am not really sure why we do have an APC section in core.php, APC
> should
> > run automatically and it doesn't reall
Just take a look at the name, its simply CAKE :-)
On Mon, Dec 6, 2010 at 1:22 PM, burzum wrote:
> I disagree that you have to invest 100 hours learning in the begining
> if you already know PHP.
>
> When I started using CakePHP I migrated a project that was already two
> month in development to
n't even have to enable apc in core config file ??
>
> On Dec 3, 7:32 pm, Miles J wrote:
> > Install APC and memcache. APC will run automatically and cache your
> > opcode.
> >
> > Use memcache on the CakePHP side to cache query data.
0:03 pm, Bart wrote:
> > It's not Cache:write() that is not behaving as expected.
> >
> > It's $this->Post->save() that is not behaving as expected.
> > I expect it to delete all cache-files that are related to that
> > particular Post.
> > But it
.
> > I expect it to delete all cache-files that are related to that
> > particular Post.
> > But it doesn't.
> >
> > On Dec 5, 9:22 pm, "Ma'moon" wrote:
> >
> > > If the cache file does exist && not expired then CakePHP won
simply expected the cache to be deleted on $this->Post->save();
> Has this changed since 1.2?
>
Because then the cache-file got deleted automatically on $this->Post-
> >save();
> (AND when it expired, but that's a less relevant here).
>
> thanks for your reaction!
&
Its very obviouse that this is a none CakePHP related issue, anyhow, i
suggest giving google a try on how to install memcached on centos, the whole
thing that you are facing is that memcached is not installed in your server,
make sure to have it installed, make sure that the deamon is running, and
7;=>true),
>
>'Author','Attachment'
>
>),'Category','Attachment') ) );
>Cache::write('post_'.$id, $post);
> }
> $this->set(
Are you sure that you are calling Cache::write() ?
On Sun, Dec 5, 2010 at 2:28 PM, Bart wrote:
> Hi,
>
> I'm using CakePHP 1.3.6.
> I'm caching queries that retrieve single Posts in my controller. The
> cache files are created nicely and I use the default Cache::config().
> Now I expect my cache
has different
> usage, I can make them working respectively in Cake.
>
> But I don't know how to configure to make them working together. Do
> you know how to do it?
>
> On Dec 3, 1:14 pm, "Ma'moon" wrote:
> > APC performs (byte code caching or intermediat
APC performs (byte code caching or intermediate code) which means that it
caches the binary form of your PHP script and once this script is being
called, the cached version of the script is the one that will be executed,
this will save a lot of performance and server resources, on the other hand,
m
also use imagemagick driver if you
have it compiled with your PHP installation
http://php.net/manual/en/book.imagick.php or you may also use GD functions
to perform this task
On Fri, Dec 3, 2010 at 11:26 AM, netusco wrote:
>
>
> On Dec 3, 8:48 am, "Ma'moon" wrote:
> >
You can easily remove the threat by using an image conversion, i use
`convert` to convert my images to a standard image type, the conversion
process changes the physical content of the uploaded file and destroys all
the threat that it might contain while maintaining the valid images if they
were va
age number for the link and Y
is a dynamic "or static" string, there must be a way to do it, if this is
not possible then i will open a ticket at CakePHP's lighthouse in order to
have such a feature in Cake's paginator.
On Mon, Nov 15, 2010 at 7:02 PM, cricket wrote:
> On Mon,
Hello Bakers,
I am using cake's paginator to paginate my views, i am actually using the
folowing code to accomplish this task:
$paginator->numbers(array('tag' => 'td align="center"', 'separator' => ''));
My question is, how do you guys put a dynamic "ALT" for the links being
generated by the pagi
>
> So ... all the 'file shifters' seem to be doing what they're supposed
> to do but that still doesn't explain the framework not recognizing
> files uploaded to the server.
>
> Now what?
>
> On Oct 10, 3:13 pm, "Ma'moon" wrote:
> > To ch
hat they're supposed
> to do but that still doesn't explain the framework not recognizing
> files uploaded to the server.
>
> Now what?
>
> On Oct 10, 3:13 pm, "Ma'moon" wrote:
> > To check if mod-rewrite is enabled check the main page of your site
xist in the cakephp folder, and in the app folder
> below that.
>
> More importantly, WHY do we need all this? Simple is better and doing
> this kabuki dance of directories and filenames seems to be the source
> of more heartburn than joy.
>
>
> On Oct 10, 2:46 pm, "
Make sure that you have mod-rewrite enabled and also make sure that the
.htaccess files does exist inside cake's folder structure.
On Sun, Oct 10, 2010 at 3:42 PM, Renato de Freitas Freire <
renat...@gmail.com> wrote:
> what is the name of your index view file?
>
> i think u have named it index.p
I really think that the core developers should include this feature in
CakePHP 2.0 since this is getting into a big demand all over the frameworks
users, for example Yii is already supporting this feature and am not sure if
other frameworks already supports or not but certainly for Cake this is
goi
If you are setting debug to 0 in core.php then you must have overwritten the
value somewhere in your controller or model, in order to turn those notices
off you may do it manually in your controller by Configure::write('debug',
0)
On Tue, Sep 21, 2010 at 1:37 PM, euromark wrote:
> there are no no
You can simply accomplish that by using the `query` method located in your
model, something like $this->Model->query('CALL sp_name()');
also CakePHP doesn't generate automated `Stored Procedures` but rather is
generated `SQL Queries` to perform DB interaction between system layers and
data storage
I found the answer here
http://stackoverflow.com/questions/2927209/cakephp-paginate-with-post-data-without-sessions-serialization-or-post-to-getincase
someone faced such a setuation, and thanks a lot for the hint ADmad
:-)
Ma'moon
On Sat, Jul 24, 2010 at 6:09 PM, Ma'moon wrote:
d really appreciate any
help from you guys.
Thanks a bunch
Ma'moon
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 gr
Hello Graham,
Thanks a lot for your kind answer, i was pretty sure that in no way there
are any globals are being passed to extract inside Cake's core, i just
wanted to make sure of that in order to show it to my "paranoid" client!
Thanks again.
Cheers,
Ma'moon
On Mon, Jul
any answer.
Thanks a lot
Ma'moon
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-
hankful if some can
point them out.
Thanks,
Ma'moon
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 grou
Are you doing it AJAX? and what is the data type of the coolumn
friends_list?
On Sat, Jun 12, 2010 at 4:05 PM, WhyNotSmile wrote:
> Thanks John, but saveField isn't doing the job either.
>
> Sharon
>
>
> On 12 June, 18:07, John Andersen wrote:
> > Can you just use $this->saveField('friend_list',
etup.
>> See http://book.cakephp.org/view/176/Email for understanding of the
>> Email component.
>> Enjoy,
>> John
>>
>> On May 8, 4:10 pm, "Ma'moon" wrote:
>> > Yes, you need to install an MTA in order to send emails from your server
&g
Yes, you need to install an MTA in order to send emails from your server
On Sat, May 8, 2010 at 8:54 AM, MANOJ DHAMAL wrote:
> no i not installed any MTA. Is it neccessary?
>
> On May 8, 5:45 pm, "Ma'moon" wrote:
> > Do you have any MTA installed in your server?
&g
Do you have any MTA installed in your server?
On Sat, May 8, 2010 at 8:36 AM, MANOJ DHAMAL wrote:
> I have to send email to user when he/she completes registration.
>
> i have used component in controller like
>
> var $components = array('Email');
>
> i am using function call for sending mail li
A small google search will lead you to
http://book.cakephp.org/view/176/Email
On Sat, May 8, 2010 at 7:41 AM, MANOJ DHAMAL wrote:
> How to send email for welcome message when user do login? Which
> components required for it?
>
> Check out the new CakePHP Questions site http://cakeqs.org and help
You can name the input field with cake's convintions using a dummy DB field
in order to have this input accessable in {$this->data}, once you have
completed execution your process you can simply unset this field {unset(
$this->data['Recipe']['dummy_field']}, or otherwise you can also use the
{$this
Hello Cake Bakers :-)
Am planing to build a social application using CakePHP together with apache
project "Shindig", i tried to read about the integration between both
CakePHP and Shindig but couldn't really find any on google nor the cook
book, anyone did this before using CakePHP & Shindig? if an
Thank you very much, This is truly an amazing framework in all the terms,
specially the nice community and the developers of the project, again,
Thanks a million times for all the effort and time you spend to create the
greatest PHP framework in the world!
On Sun, Jan 17, 2010 at 12:18 PM, Miles J
http://www.google.com/search?q=create+views+cakephp
On Wed, Dec 9, 2009 at 5:19 PM, 00Cake wrote:
> Hi All,
>
> I am starting discovering CakePHP and have try to do the blog tutorial
>
> Here is a trivial question:
>
> How to create a view ? How to create a .ctp file ??
>
> I have not find nothi
+1
On Wed, Dec 9, 2009 at 4:24 PM, Marcelo Andrade wrote:
> On Sun, Dec 6, 2009 at 8:55 AM, hash wrote:
> > Hi guys, I want to know whether Cake Certification is still being
> > offered because I want to apply as a Cake Certified Engineer. I
> > emailed Cake Foundation but got no reply.
>
> On
Put [$paginator->options(array('url' => $this->passedArgs));] before
printing the numbers and the Next, Prev buttons, this should handle the
issue.
On Mon, Dec 7, 2009 at 12:25 PM, Amit Rawat wrote:
> Hello ,
>
> I am having a problem with pagination. When i post data the paginator give
> me co
Please send a controller dump and your view code so we can help you
On Tue, Nov 24, 2009 at 3:38 PM, Mario Cesar wrote:
> *I tried too
> *
>
> On Tue, Nov 24, 2009 at 6:36 PM, Ma'moon wrote:
>
>> If you are using POST to send the ID of the target article then t
If you are using POST to send the ID of the target article then try sending
it using GET
On Tue, Nov 24, 2009 at 3:31 PM, Mario Cesar wrote:
> i tried but didn't work
>
>
>
> On Tue, Nov 24, 2009 at 6:20 PM, Dave wrote:
>
>> in the paginate array in your view file add
>>
>> 'url'=>$this->passedA
ًWhy you're not using *Increment Behavior*
http://bakery.cakephp.org/articles/view/increment-behavior ?!!
On Sat, Nov 21, 2009 at 11:52 AM, Dave wrote:
> Hehe it is close to on the money. I do appreciate your help. The goal of
> this question was to increment a value with 1 query. You can do
http://book.cakephp.org/view/4/Beginning-With-CakePHP
On Sat, Oct 31, 2009 at 2:39 AM, tassi wrote:
>
> hii
> m a beginner
> i want help
> plz tell me how to create a new database
> and how to connect it to mysql.
> plz tell
> thnx
> \
>
> >
>
--
http://phpirate.net
--~--~-~--~~-
You may want to open a ticket @ https://trac.cakephp.org/ stating the steps
to reproduce your claims so that the core DEVs may review it and fix it.
On Wed, Oct 21, 2009 at 12:32 AM, Rawna wrote:
>
> I just found out that CakePHP saving twice when I have warnings (as I
> saw it in debug.log)
> E
Nope, you can change the layout the way you want, all you have to do is just
specifying the layout that you want in your controller, for instance,
$this->layout = 'admin' then that would call the admin layout inside your
app/views/layouts directory and apply all the renders in that layout, if you
d
i don't really understand whats wrong with "elements" in your case?!!, you
may "call" as many elements as you wish from within your layout and .ctp
files! on the other hand you can create a separate layout for each case you
have and use { $this->layout } from your controller to render the proper
la
Why don't you simply add another column to your posts table and name it
num_views or something, and increment this field by 1 every time a post is
being viewed, this will save you the hassle of combining 2 models in your
posts controller plus there will be no DB tables joins while you retrieve
the
The class name should be "ItemsController" controller NOT "ItemController"
On Tue, Sep 22, 2009 at 7:58 AM, Selva manickaraja wrote:
> Hi,
>
> I just got CakePhp up and running. To learn the functionality I created
> sample php code. I followed the instruction in the book that I bought few
> days
Try something like:
SUBSTR(Post.description,1,50) as strPart, this will work :-) "note that the
string starts from 1 instead of 0"
On Mon, Sep 21, 2009 at 9:16 PM, Dave Maharaj :: WidePixels.com <
d...@widepixels.com> wrote:
>
> Changed the quotes.
>
> Now I end up with
>
> Array
> (
>[title]
i was successfully able to handle tables with more than 200 records
"yes, above 2 million records!" with CakePHP and with a very acceptable
performance and speed, the first thing that you should be thinking of is
sharding the database into smaller chunks "DBs", second thing is enabling
"memcach
Hi again, i just found it here
http://bakery.cakephp.org/articles/view/html-cache-helper
thanks again
On Mon, Sep 7, 2009 at 3:48 PM, Ma'moon wrote:
> Hello Folks,
> is there any way to cache the output of the rendered view in HTML format,
> the scenario suggest to cache the whol
1 - 100 of 129 matches
Mail list logo