Hello,
On Mon, Oct 25, 2010 at 2:50 AM, djogo wrote:
> its hard to say... you might check which processes the CPUs are
> running. I'm not familiar with sar, but top and ps let you know which
> are the processes consuming most CPU/memory.
yes, I've started to find the causes of problem...
> if i
If anyone is interested, I pulled together a few tid bits here and
there about this and wrote a quick post about what I have learned:
http://daniel-salazar.com/content/22/cakephp-13-custom-find-types
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP re
Hello,,
On Sun, Oct 24, 2010 at 11:08 PM, cricket wrote:
> On Sat, Oct 23, 2010 at 1:49 PM, airween wrote:
>>
>> On that machine another MVC frameworks and another sites (CMS's)
>> (which uses Codeigniter, Drupal...) I _can't_ create this effect.
>
> Do these other sites have any caching enabled
Thats another option, and by doing that you don't have to touch the
core code, I will take a look at it before upgrading to 1.3.5...
On 24 oct, 14:23, odd wrote:
> dtemes schrieb:
>
> > I tryed with a custom save handler, but then i moved to database
> > driver sessions, so finally I decided to
Hi,
I am working on to migrate a site from Joomla to Croogo, the cakephp
cms. I have
successfully imported the users and contents (nodes) from Joomla. Now
I am having a problem. I am using shared hosting account in Godaddy
where I host some other sites as well. So I want to disable
mod_rewrite and
Apologies--using 1.3.5
On Mon, Oct 25, 2010 at 1:28 AM, cricket wrote:
> On Mon, Oct 25, 2010 at 12:57 AM, cricket wrote:
>> I have two plugins, Comments and Poll. Both have a component, and each
>> of those components uses CookieComponent. They also both handle Cookie
>> settings in startup().
On Mon, Oct 25, 2010 at 12:57 AM, cricket wrote:
> I have two plugins, Comments and Poll. Both have a component, and each
> of those components uses CookieComponent. They also both handle Cookie
> settings in startup(). Unfortunately, it appears that they're sharing
> the same component instance,
I'm creating a multilingual site using the Translate behavior. Looking
at the CakePHP docs and some blogposts it is clear that we use a i18n
table (or few tables for i18n), attach the Translate and tables to
every model and remove the international fields from original tables.
If we don't have the
I have two plugins, Comments and Poll. Both have a component, and each
of those components uses CookieComponent. They also both handle Cookie
settings in startup(). Unfortunately, it appears that they're sharing
the same component instance, as the 'poll' cookie is being re-named to
'comments'.
I'v
It sound like to me that you've got a simple menu in the left column.
You'd put your $content_for_layout in the right column. Then in your
left column, you'd have the standard hyperlinks like Pictures (I'm assuming that Address, Pictures,
Contacts, and so forth are each a separate class.) Each hyp
I think plugins is what you are looking for.
http://book.cakephp.org/view//Plugins
If each site installed on different server you may want to use openid for
single sign on.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You r
What don't you understand?
On Oct 22, 11:18 am, k2zs wrote:
> Hello,
>
> I am new to using any type of MVC framework. 10+ years experience with
> PHP but always used the "top-down" method with includes.
>
> My interests are in CMS and I have installed cake and have the blog
> tutorial working but
Does anyone know of a good blog post or resource for defining custom
find types in 1.3?
I was reading this article earlier:
http://bakery.cakephp.org/articles/tehtreag/2010/08/08/model-repletion
Just wondering if anyone knows of anything more in-depth on this (For
1.3)
Check out the new CakePHP
NEVER use queries without limit. You just go out of memory. By the
way, phpmyadmin SET limit 30. That's why you see there results at all.
On Oct 24, 3:34 pm, ravidp wrote:
> by the way,
>
> if i run this query on phpmyadmin, it works fine returns about
> 200,000 results.
Check out the new CakeP
its hard to say... you might check which processes the CPUs are
running. I'm not familiar with sar, but top and ps let you know which
are the processes consuming most CPU/memory.
if it's httpd, then you're right, cakephp is consuming all those cpu
cycles. alas, you may check for invalid redirectio
Hi odd,
Thanks for the helpful report and digging through the code.
The problem occurs only if trying to detect just by extension. This
might be (indirectly) caused by:
(a) no path to a physical existent file has been provided
(b) the magic detection non being available
(c) magic detection still
I figured out what happen... stupid move.
So a little background: my database was totally wiped on my test
platform, and I had failed to keep a backup (stupid, I know).
At any rate, I failed to realize that although I had set all actions
to be allowed in the app controller while fixed everything,
Doesn't have much to do with CakePHP, see magic constants in the PHP
manual, you are searching for __FUNCTION__ or __METHOD__
http://php.net/manual/en/language.constants.predefined.php
Regards
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related
Is there a way to get the name of the function making the call?
Example
function_one() {
//$caller = this function name (function_one)
function_two( $caller );
}
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP relate
On Sun, Oct 24, 2010 at 1:02 PM, iamjonesy wrote:
> Hi,
>
> I'm trying to use the cake comments plugin found here -
> http://cakedc.com/downloads/view/cakephp_comments_plugin I'm having
> trouble though. I can add comments - it captures datetime, userid,
> etc, etc. but it just doesn't display th
On Sat, Oct 23, 2010 at 1:49 PM, airween wrote:
>
> On that machine another MVC frameworks and another sites (CMS's)
> (which uses Codeigniter, Drupal...) I _can't_ create this effect.
Do these other sites have any caching enabled?
Check out the new CakePHP Questions site http://cakeqs.org and h
Hello,
all this things are installed and runs normally. But no pictures and
grafcs where displayed from cakephp i don't know where the fault is
On 24 Okt., 22:38, Adrian Arnautu wrote:
> Hello,
>
> You might want to check if your apache works with php5. Also you may want to
> activate the mod_re
Hello,
You might want to check if your apache works with php5. Also you may want to
activate the mod_rewrite.
A basic CakePHP env consists of
- an webserver (apache or something else)
- php5
- mod_php5 (this depends of what webserver you use)
- mod_rewrite (although it can easily work without it)
Hello together,
i've set up an apache and php5 and mysql on the ubuntu-dev-pc. But no
pictures an no css will be display.
I testet it with phpmyadmin, it will be display normally.
What do you install to run the cakephp i used the 1.3.3 and 1.3.5
xampp is no option for me because i use my own ser
Hi,
I'm trying to use the cake comments plugin found here -
http://cakedc.com/downloads/view/cakephp_comments_plugin I'm having
trouble though. I can add comments - it captures datetime, userid,
etc, etc. but it just doesn't display the comments in the widget. I've
added it to the controller's pl
On Fri, Oct 22, 2010 at 9:39 PM, Rob Wilkerson wrote:
> So, in true me fashion, I found the apparent answer immediately after
> posting. It looks like `$this->model` always reports the model
> specified in `$this->Form->create()`. Let me know if anyone knows of a
> case where my light testing coul
On Sun, Oct 24, 2010 at 6:15 AM, ravidp wrote:
> yes, blank page, i think its not from cake but before
Have you checked the server log? Do you have PHP set to display
errors? My money would be on a lack of memory. Do you have any other
associations to these models? Or are there any self-joins? It
Hello again,
so, I've installed an nginx and php5-cgi, and configured cake access
through this scenario - before nginx there is an apache proxy.
I _can't_ increment the CPU usage with ab!!! I tried to increment the
number of request:
ab -n 1 -c 100 http://mysite/foo
but the max CPU usage
The CakePHP core team is proud to announce the immediate availability
of CakePHP release 1.3.5. Since the release of CakePHP 1.3.4 a month
and half ago, there have been over 50 commits[1] and 40 tickets
resolved. There have been a few changes that may affect your
application:
- A warning to inform
hello,
On Sun, Oct 24, 2010 at 6:53 PM, majna wrote:
> There's no view file views/foo/index ?
no, there _is_ a file, but it's empty (zero byte length)
> try http://github.com/cakephp/debug_kit/tree/1.2
thank you, I will see.
a.
> On Oct 24, 6:45 pm, Ervin Hegedüs wrote:
>> Hello,
>>
>>
hi,
i have a simple css layout. header, 2 columns and footerheader for
my logo, footer for contacts etc.
I use this layout to edit information.
now in the left colum I want to show different categories of the
product that can be edited. "Address", "Pictures", "Contacts" and so
on...
so if th
There's no view file views/foo/index ?
try http://github.com/cakephp/debug_kit/tree/1.2
On Oct 24, 6:45 pm, Ervin Hegedüs wrote:
> Hello,
>
> On Sun, Oct 24, 2010 at 5:16 PM, majna wrote:
> > Try with Configure::write('debug', 0); in app/config/core.php
> > You are using database, so check SQL q
Hello,
> oh for pete's sake, I forgot you described your test. ignore me. was
> suffering from the sleepies.
no problem :), thank you for your notice.
a.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this mes
Hello,
On Sun, Oct 24, 2010 at 5:16 PM, majna wrote:
> Try with Configure::write('debug', 0); in app/config/core.php
> You are using database, so check SQL query times by setting
> Configure::write('debug', 2);
I've passed these steps...
> Check if your language translations are affected with
oh for pete's sake, I forgot you described your test. ignore me. was
suffering from the sleepies.
On Sun, Oct 24, 2010 at 8:25 AM, Matt Murphy wrote:
> No need to play with maxclients yet... You shouldn't have any, right? :)
>
> By something interesting, I was referring to bullshit URLs bei
Try with Configure::write('debug', 0); in app/config/core.php
You are using database, so check SQL query times by setting
Configure::write('debug', 2);
Check if your language translations are affected with this bug
http://cakephp.lighthouseapp.com/projects/42648/tickets/1085-multiple-caching-of-i18
I create a plugin and into this plugin I want to use captcha component
when I used it I can't read the security code of the captcha because
its can't write the session
this component code
class CaptchaComponent extends Object
{
var $controller;
var $font = 'plugins/[pluginName]/webroot/mo
hello,
On Sun, Oct 24, 2010 at 3:02 PM, majna wrote:
> Can you paste your controller, view, layout and app/config/core.php code on
> http://bin.cakephp.org/
core.php http://bin.cakephp.org/view/913121386
foo_controller.php http://bin.cakephp.org/view/619197128
layouts/default.ctp http://bin.cake
I've experimented and successfully implemented Auth and Acl on one
app. However I want to design a site with multiple independent apps
which all share one login system/DB. For example the main site
(example.com) will be one app. The blogs (example.com/blog) will be
another app, and the recipe page
I have this code
Controller:
function cloneSurvey($surveyId,$newName=null)
{
$newsurvey = $this->Survey->cloneSurvey($surveyId,$newName,
0);
}
View:
New name:
Html->link(__('Clone this
survey', true), array('action'
Can you paste your controller, view, layout and app/config/core.php code on
http://bin.cakephp.org/
2010/10/24 Ervin Hegedüs :
> Hello Matt,
>
>> No need to play with maxclients yet... You shouldn't have any, right? :)
> yes, I just didn't know what about thinking are you.
>
>> By something int
Hello Matt,
> No need to play with maxclients yet... You shouldn't have any, right? :)
yes, I just didn't know what about thinking are you.
> By something interesting, I was referring to bullshit URLs being hit by
> russian (or chinese or whatever) robots attempting to crack your apache
> insta
No need to play with maxclients yet... You shouldn't have any, right? :)
By something interesting, I was referring to bullshit URLs being hit by
russian (or chinese or whatever) robots attempting to crack your apache
install or somesuch.
IMHO, your problem isn't going to have anything to do wit
dtemes schrieb:
> I tryed with a custom save handler, but then i moved to database
> driver sessions, so finally I decided to touch the cake core code
> and set session.cookie_secure to 0, I am not really fond of this kind
> of solutions and would prefer a way to set it up from a config file
> wit
My structure is like this
Release
hasOne
Cover
hasMany
Track
hasMany
TrackVariant
A release has one cover (image), many tracks (tracks on an album), and
every track can be available in various
Hello Matt,
thanks for the reply,
On Sun, Oct 24, 2010 at 1:26 PM, Matt Murphy wrote:
> I'd be curious to know what your apache logs are reporting during a high
> utilization period...
nothing... there are just client querys, nothing else.
May be do you think about "increasing maxclients", but
I'd be curious to know what your apache logs are reporting during a high
utilization period... Obviously, it isn't google indexing your empty view
over and over, but there might be something interesting.
Matt Murphy
On Sat, Oct 23, 2010 at 1:49 PM, airween wrote:
> Hello Cake Users,
>
> I'm ne
yes, blank page, i think its not from cake but before
On Oct 24, 12:00 pm, Jeremy Burns | Class Outfit
wrote:
> Have you set debug to 2 in /app/config/core.php?
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 24 Oct 2010, at 04:34, ravidp wrote:
>
Have you set debug to 2 in /app/config/core.php?
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 24 Oct 2010, at 04:34, ravidp wrote:
> by the way,
>
> if i run this query on phpmyadmin, it works fine returns about
> 200,000 results.
>
> Check out the new
by the way,
if i run this query on phpmyadmin, it works fine returns about
200,000 results.
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" grou
Hi,
I have a query and for some reason it crashes the application and i'm
getting blank page. no debugs, shows nothing at all.
the query is simple :
"
SELECT Measurement . *
FROM measurements Measurement, results Result
WHERE Measurement.result_id = Result.id
"
the weird thing is, if i add "LIM
http://cakephp.org :D
--
Tilen Majerle
http://majerle.eu
2010/10/24 viis
> where would it be possible to get Cakephp code libraries and open
> source code,
>
> would like to build a portal and use some code for different parts of
> it - like forum , user registration classes, search features e
52 matches
Mail list logo