Interesting to see the basic memory footprint of a basic CakePHP page.
Without reference material of course there's way to evaluate this data :)
Glad the problem is sorted out ...
On Thu, Sep 10, 2009 at 1:19 PM, Tokasa wrote:
>
> I did few more testing :)
> I have put this in my script to see
I did few more testing :)
I have put this in my script to see how memory is occupied...
http://us2.php.net/manual/en/function.memory-get-usage.php
http://us2.php.net/manual/en/function.memory-get-peak-usage.php
I have compared 2 use cases:
1) very very simple script BAKED by cakephpit was
Is 8MB much ... all depends on the functionality of the scripts.
Personally I almost always need higher limits from the moment you
start working with shells/scripts that consume lot's of data.
Seeing that you only read 2 records from the database I suspect there
is some functionality inside the
in the element "draw_form_item.ctp" on line 35 I do only request
action to get data and I pass them to render another element but
the database is almost empty...I am fetching 1-2 records...
is it wrong that I render element from other element? could this
increase the memory??
On Sep 10, 11
Hi Bert,
thanks for your reply.
I have tried to raise memory limit from 8MB to 9MB and it works then
OK
Anyway do you have any idea if 9MB memory usage is absolutely NORMAL
or I have to optimize something??
I know I can increase it e.g. up to 128MB but I dont know yet what
hosting compan
I think it also depends on what your own code is doing in
"draw_form_item.ctp" on line 35 .
Possibly the CakePHP upgrade requires a little bit of extra memory,
and your script was already near the limit of 8MB using the previous
CakePHP version ?
Try raising the memory limit a bit and evaluate t
Hi, I have got some little issue and I would appreciate if anybody can
help me out :)
In some specific part PHP (not even cake I guess) gives me strange
error.
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 19456 bytes) in /Users/tokasa/www/project/app/views/
I use git for all my projects. I used git with cake back when cake was
only officially in
an svn repo. Now that cake is officially in a git repo, why dont you
just learn and use git?
First you clone the cake git repo at http://thechaw.com/cakephp (you
will need an account there).
It's extremely
There is a difference, but you can use either one.
/app/vendors is 3rd party code for your application. /vendors however
is 3rd party code for all the apps sharing that particular cake setup
(see http://book.cakephp.org/view/35/Advanced-Installation for more
info on that).
On May 6, 5:35 pm, Jam
any good links for a basic SVN software primer out there? maybe
something cake related
On May 6, 12:45 pm, Stephen Cuppett wrote:
> I have made a couple customizations to CakePHP proper, first in 1.1.x and
> then a few less in the 1.2.x series. The way that I handle upgrades is
> within a singl
I have made a couple customizations to CakePHP proper, first in 1.1.x and
then a few less in the 1.2.x series. The way that I handle upgrades is
within a single commit in my repository covering the complete change, in
this case 1.2.2 to 1.2.3.
You can do this pretty easily with KDiff3 (Linux/UNIX
On Wed, May 6, 2009 at 11:35 AM, JamesF wrote:
>
> thanks for the tip..i didn't exactly know that you shouldn't mess with
> the /cake/ dir
> does the same apply to the /vendors folder as opposed to /app/vendors?
No, the vendors dir is for 3rd party code. Put whatever you like in there.
I have n
I generally rename the dir to, eg. cake_1.2.2.8120 like so:
app/
cake_1.2.2.8120/cake/
... and update index.php to point to it. That means I can switch back
very easily and always know exactly which version I'm running. Once an
upgrade is known working, I just get rid of the older version.
On W
thanks for the tip..i didn't exactly know that you shouldn't mess with
the /cake/ dir
does the same apply to the /vendors folder as opposed to /app/vendors?
On May 6, 10:22 am, "dr. Hannibal Lecter" wrote:
> Uh, you're not supposed to touch anything in the cake folder. Your
> app_controller.php
Always upgrade on a development server and test first. Upgrading can
break things you wouldn't expect. For example, the recent change of
the alphanumeric validation rule to support i18l characters broke the
automatic Javascript error checking I use (the new regex isn't valid
in JS). Instead of ove
Uh, you're not supposed to touch anything in the cake folder. Your
app_controller.php should be inside your app folder, i.e. ~/app/
app_controller.php
As far as other upgrading go, If you're using 1.2 you can simply
overwrite everything in ~/cake and it should work without a problem.
Just don't f
with the release of 1.2.3.8166 that fixes that nasty xss vulnerability
( https://trac.cakephp.org/ticket/6336 ) i feel compelled to upgrade
from an earlier build of 1.2. i am not sure of the best way to go
about this without losing code i have already made.
for example, i have added some things t
Are you saying you do not store cakephp in SVN as a separare "vendor",
ie. you aren't using vendor branching?
How do you handle cake upgrades? Do just replace the latest cake core
folder into each project and recommit to SVN?
(I don't change the cake core either. I think the reason svn is
flaggi
On May 22, 5:56 pm, Rob Wilkerson <[EMAIL PROTECTED]> wrote:
> So as a new (prospective) user, I've been looking at the framework
> versions and tutorials and I started wondering what the upgrade path
> looked like. From what I can tell, the user code and framework code
> is intermingled (albei
On Thu, May 22, 2008 at 11:56 AM, Rob Wilkerson <[EMAIL PROTECTED]> wrote:
>
> Would love to know if there's a baked in upgrade path or, if not, what
> strategy experienced users employ.
>
> Thanks.
>
> Rob
Well, I keep my Cake core files out of the web path (no snooping,
thanks!) and my app dire
So as a new (prospective) user, I've been looking at the framework
versions and tutorials and I started wondering what the upgrade path
looked like. From what I can tell, the user code and framework code
is intermingled (albeit in a very predictable way). Given that, how
are upgrades performed?
21 matches
Mail list logo