That is 1.2 syntax, this isnt supported for the last 5 years.
What kind of code are you working with, and why are you trying to use it
with recent versions of CakePHP?
Please consult the documentation on how to properly call helpers (besides
the fact that this helper doesnt exist anymore).
mark
@José Lorenzo Thanks alot
My problem is solved.changed cakephp version from 2.5.0 to 2.5.2
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP
That error does not correspond to CakePHP 3.0
What version are you actually using?
On Thursday, July 17, 2014 2:45:39 PM UTC+2, raji gudivada wrote:
Hi
I am new to cakephp and i used baking concept for my tables. Now i got
pages generated but i am unable to do edit and view actions.I am
Sorry i am using cakephp 2.5.o version
On Thursday, July 17, 2014 6:15:39 PM UTC+5:30, raji gudivada wrote:
Hi
I am new to cakephp and i used baking concept for my tables. Now i got
pages generated but i am unable to do edit and view actions.I am getting
error as
Unsupported operand
Sorry @ jose Lorenzo
My current version is cakephp 2.5.0.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP group.
To unsubscribe from this group
So what is in that line?
debug() it properly
Am Donnerstag, 17. Juli 2014 15:10:13 UTC+2 schrieb raji gudivada:
Sorry @ jose Lorenzo
My current version is cakephp 2.5.0.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You
Please update to the lastest 2.5 version, what you experience is a known
bug of that version
On Thursday, July 17, 2014 3:10:13 PM UTC+2, raji gudivada wrote:
Sorry @ jose Lorenzo
My current version is cakephp 2.5.0.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
Looks like you have a 10MB limit in your php config and you're exceeding
that limit, common with file uploads especially.
http://docs.php.net/manual/en/ini.core.php#ini.memory-limit
On 24 May 2014 03:00, 'Chris' via CakePHP cake-php@googlegroups.com wrote:
hi guys,...
why am I getting this
You can't use __() on class variables.
Normally, you'd need to assign a translated message dynamically. See [
http://book.cakephp.org/2.0/en/models/data-validation.html] and the
Dynamically change validation rules section. Requires CakePHP 2.2 to use
the nice calls.
However, looking at [
Hi,
very interesting..! .. I got the same error, when i am new to the PHP..I
find that solution
It's nothing...Configure your php.ini file...change maximum execution time
30 seconds to 1 seconds.no need to worry..
On Wed, Mar 27, 2013 at 8:07 PM, Elias Munshya
i agree with
On Thursday, August 6, 2009 6:44:37 AM UTC+2, Arif wrote:
Thank you for your solution.
I have solved my problem according to ur suggestion(Given Function
name memory_limit).
On Aug 2, 4:28 am, joshua josh...@gmail.com wrote:
In my opinion you can give a bigger number to
By including your combinator helper - or not assuming this helper exists
before calling it.
AD
On Wednesday, 20 March 2013 22:44:38 UTC+1, Chris Steenekamp wrote:
Keep getting this error in cake 1.3:
fatal error call to undefined function app/views/layout/default.ctp line 7
Here is the
Osamo,
did you've managed to solve this problem? i'm facing the same one .
Thanks.
On Thursday, 13 January 2011 20:15:27 UTC, cricket wrote:
On Wed, Jan 12, 2011 at 8:11 AM, osamo101 osam...@gmail.com javascript:
wrote:
Should I just through it away and continue?
I think you should
cricket :
The method is in the DataSource object. Hence, you don't see an error
when you call it properly.
Okay,
before your answer,
in my data source I put the following
*public function totalfeeds () {*
*
*
*// get data from remote source*
*
*
*}*
*
*
*public function query(){*
*return
cricket :
The method is in the DataSource object. Hence, you don't see an error
when you call it properly.
Okay,
before your answer,
in my data source I put the following
*public function totalfeeds () {*
*
*
*// get data from remote source*
*
*
*}*
*
*
*public function query(){*
*return
first..your controller should extends AppController, than make sure
SessionComponent in included in your component list :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/13 McScreech scre...@sympatico.ca
G'day,
I do not understand how I induced this error:
'Error: Call to a member
Thank you very much, I had forgot to include the Session component.
I haven't begun a new project in some time (since about cake 1.2) - forgot
some basis setup stuff, I guess I was thinking the basic components and
helpers were included by default.
I do wonder however, how it _was_ able to
AppController extends Controller class...and in this class it was
automatically added this component.
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/13 McScreech scre...@sympatico.ca
Thank you very much, I had forgot to include the Session component.
I haven't begun a new project in
The method is in the DataSource object. Hence, you don't see an error
when you call it properly.
On Tue, Sep 11, 2012 at 8:59 AM, Salines nikola.parad...@gmail.com wrote:
Hi,
Could someone of you explain the following:
I have made the datasource, where I have a simple custom method, through
That did the trick. Thanks.
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com.
Visit this group at
http://book.cakephp.org/2.0/en/models/callback-methods.html#beforesave
Specify 'array $options = array()' as parameter for beforeSave() and error
message will disappear.
четверг, 3 мая 2012 г., 4:21:16 UTC+4 пользователь Conor Manning написал:
I have a web application that has been working
OK, I forgot to update the .htaccess files. Now I get a different error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator at postmaster@localhost to inform
them of the time
To start with I am not sure if .htaccess should be:
IfModule mod_rewrite.c
RewriteEngine on
RewriteRule^$webroot/[L]
RewriteRule(.*) webroot/$1[L]
/IfModule
... or:
IfModule mod_rewrite.c
RewriteEngine on
RewriteRule^$ app/webroot/[L]
OK, when following the migration guide I had forgot to add the AppHelper.php
file.
Now I get a different error:
Helper class HelperfnsHelper could not be found.
*Error: * An Internal Error Has Occurred.
Stack Trace
- *CORE\Cake\View\View.php line 861* http://localhost/easypeasydating/#→
That's too bad, I was enjoying you replying to yourself as you gradually
worked through the problem. :)
Remember, in Cake 2 the file names need to match the class names. So if
your helper is HelperfnsHelper, your file needs to be
HelperfnsHelper.php, not Helperfns.php.
- Jamie
On Sunday,
Hey I've encountered the same bug on a different place tho. Are you by any
change running with E_STRICT error logging on? Cause going from E_ALL |
E_STRICT to just E_ALL 'solved' the problem. (Had this on both windows and
linux.)
On Thursday, May 3, 2012 2:21:16 AM UTC+2, Conor Manning wrote:
I think I solved this problem. I had the following code in the app
controller:
function beforeFilter() {
parent::beforeFilter();
if ($this-action == 'add' || $this-action == 'edit')
$this-Auth-authenticate = $this-User;
}
I added the following check and the
First off, security should be capitalized. Secondly, import it:
App::uses('Security', 'Utility');
On Jan 9, 10:09 am, Daniel danwgr...@gmail.com wrote:
I imported some code from a cake 1.3 application to cake 2, now I get
an error on the following line:
$this-data['User']['password'] =
and for hasing user passwords use AuthComponent::password('yourpassword');
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/1/9 Miles J mileswjohn...@gmail.com
First off, security should be capitalized. Secondly, import it:
App::uses('Security', 'Utility');
On Jan 9, 10:09 am, Daniel
Thanks. I'm guessing Utility is not neccessarily needed?
On Jan 9, 6:15 pm, Miles J mileswjohn...@gmail.com wrote:
First off, security should be capitalized. Secondly, import it:
App::uses('Security', 'Utility');
On Jan 9, 10:09 am, Daniel danwgr...@gmail.com wrote:
I imported some
It should be needed, it defines the package to import from.
On Jan 9, 12:12 pm, Daniel danwgr...@gmail.com wrote:
Thanks. I'm guessing Utility is not neccessarily needed?
On Jan 9, 6:15 pm, Miles J mileswjohn...@gmail.com wrote:
First off, security should be capitalized. Secondly,
Got it thanks. The amended code is:
li?php echo $this-Html-link(__('New Image', true), array('action'
= 'add', $gallery_id)); ? /li
--
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
Why is $gallery_id your third param of link()?
I find the error pretty self-explanatory...
On 18 Dez., 01:06, Daniel danwgr...@gmail.com wrote:
I am displaying an image in a view.ctp file:
div class=images view
h2?php __('Image');?/h2
dl?php $i = 0; $class = ' class=altrow';?
Can you paste User model
http://bin.cakephp.org/
--
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, send
In general, CakePHP not use a file name like ExceptionRenderer.php.
So I think you've probably downloaded a bad version of one.
http://cakephp.org/changelogs/2.0.0-RC2
^Please try 2.0.0-RC2.
2011/10/11 benjam benjamwel...@gmail.com:
I ran into a fatal error on my home page.
Fatal error: Call
So sorry, i had not seen 2.0.0...
Please forget last post.
2011/10/12 yo yookihi...@gmail.com:
In general, CakePHP not use a file name like ExceptionRenderer.php.
So I think you've probably downloaded a bad version of one.
http://cakephp.org/changelogs/2.0.0-RC2
^Please try 2.0.0-RC2.
Any idea how you hit that? I've not seen that error before.
-Mark
On Oct 11, 1:33 am, benjam benjamwel...@gmail.com wrote:
I ran into a fatal error on my home page.
Fatal error: Call to a member function here() on a non-object in C:
\Development\cake_files\cake_2.0.0-rc3\lib\Cake\Error
You do not have MySQL driver named mysql installed but demand it in
databases.php
On 22 авг, 19:37, Shervin kapil shervinka...@nasoindia.com wrote:
Hi,
when running my source code following Fatal error is displaying.
Fatal error: Call to undefined function mysql_query() in D:
Hey,
You don't have the mysql extension installed.
Check out http://www.php.net/manual/en/mysql.installation.php
atenciosamente,
Werner Petry Moraes
werne...@gmail.com
On Mon, Aug 22, 2011 at 09:37, Shervin kapil shervinka...@nasoindia.comwrote:
Hi,
when running my source code following
Hey Shawn,
I'm thinking that you did this in your layout code:
?php echo $this-scripts_for_layout(); ?
You should've just done this:
?php echo $scripts_for_layout; ?
Cheers,
OJ
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP
try.
set_time_limit(0);
perhaps your code exists dead loop..
On Tue, Jun 21, 2011 at 4:15 PM, Richardus Ari P
ari.richar...@yahoo.co.idwrote:
can you help me.
give me solution
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new
Check your code - you've probably got some sort of endless loop going on.
On 21 Jun 2011, at 09:15, Richardus Ari P wrote:
can you help me.
give me solution
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions
yes
--
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, send email to
cake-php+unsubscr...@googlegroups.com
please change php ini file
On Tue, Jun 21, 2011 at 1:48 PM, Alkesh Kumar alkesh.k.alon...@gmail.comwrote:
yes
--
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
On Jun 21, 10:15 am, Richardus Ari P ari.richar...@yahoo.co.id
wrote:
can you help me.
give me solution
Multiple choice:
1) replace webroot/index.php with the following:
pHello world!/p
2) read error message, think a bit
3) post error message, and some relevant, unedited, code.
Multiple choice:
1) replace webroot/index.php with the following:
pHello world!/p
2) read error message, think a bit
3) post error message, and some relevant, unedited, code.
option 1 is my fav.
j
--
jon bennett - www.jben.net - blog.jben.net
--
Our newest site for the community:
Hi John
I haven't yet, but will. The reason I didn't carry it through is because it is
changing core Cake files. I am doing nothing special with cache, the page that
throws the error is an extremely simple landing page, I have only seen this is
one instance and it is only on my remote server
Hi Jeremy,
If the defect you refer to is the one at:
http://cakephp.lighthouseapp.com/projects/42648/tickets/1486-cached-view-throws-an-undefined-method-cakeroute__set_state
then it has been resolved. Does the solution not work in your case?
Enjoy,
John
On Feb 19, 9:20 pm, Jeremy Burns
I've got this solved by changing the way I was calling in the element.
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
I may be wrong, but it looked like an infinite loop?
On Jan 13, 11:48 am, OldWest jason.wy...@gmail.com wrote:
I've got this solved by changing the way I was calling in the element.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
On Wed, Jan 12, 2011 at 8:11 AM, osamo101 osamo...@gmail.com wrote:
Should I just through it away and continue?
I think you should look for this __l() function in the original app's
bootstrap.php (or maybe it's in core.php, although putting it there
would be wrong). There's got to be a rational
It had to be infinite somehow. Was a typo on my end.
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
Should I just through it away and continue?
On Jan 11, 9:46 pm, cricket zijn.digi...@gmail.com wrote:
On Tue, Jan 11, 2011 at 4:09 AM, osamo101 osamo...@gmail.com wrote:
Hi Amit,
This is very strange, the __l() is repeated in the code over 8000
times with strings i.e. __l('Delete'), do
Hi Amit,
This is very strange, the __l() is repeated in the code over 8000
times with strings i.e. __l('Delete'), do you have any idea about how
this can happen?
On Jan 11, 8:46 am, Amit Badkas amit.sanis...@gmail.com wrote:
Hi,
I don't think there is/was any __l() function in CakePHP-1.2.x,
Hi,
You can check in the old code, in which file does the 'function __l' string
contain.
Amit Badkas
PHP Applications for E-Biz: http://www.sanisoft.com
On Tue, Jan 11, 2011 at 2:39 PM, osamo101 osamo...@gmail.com wrote:
Hi Amit,
This is very strange, the __l() is repeated in the code
On Tue, Jan 11, 2011 at 4:09 AM, osamo101 osamo...@gmail.com wrote:
Hi Amit,
This is very strange, the __l() is repeated in the code over 8000
times with strings i.e. __l('Delete'), do you have any idea about how
this can happen?
I don't believe it's a Cake function. Perhaps it was defined
Hi,
I don't think there is/was any __l() function in CakePHP-1.2.x, it may be
written in any file which got overwritten.
Amit Badkas
PHP Applications for E-Biz: http://www.sanisoft.com
On Tue, Jan 11, 2011 at 12:09 PM, osamo101 osamo...@gmail.com wrote:
Hello,
I have a website written in
@googlegroups.com
Subject: RE: Fatal Error
Hmm.I know php was running because I did php info before putting cake.
Just ran sudo command [..]
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
But will check phpinfo now.
Thanks,
Dave
From: Andras Kende
Look like mysql module is not loaded, try:
sudo aptitude install php5-mysql
make sure ?php phpino(); shows mysql stuff too...
Andras Kende
http://www.kende.com
On Jan 5, 2011, at 9:47 PM, Dave Maharaj wrote:
Yep Im the on setting up the new install on nginx but something unrelated
just delete your all cache files in cache folder and refresh the
browser ... might be it is just a cache problem, i had once
experienced the same problem.
On Jan 6, 7:47 am, Dave Maharaj m...@davemaharaj.com wrote:
Yep Im the on setting up the new install on nginx but something unrelated
maybe?
: Thursday, January 06, 2011 12:33 AM
To: cake-php@googlegroups.com
Subject: Re: Fatal Error
Look like mysql module is not loaded, try:
sudo aptitude install php5-mysql
make sure ?php phpino(); shows mysql stuff too...
Andras Kende
http://www.kende.com
On Jan 5, 2011, at 9:47 PM
, January 06, 2011 1:26 AM
To: CakePHP
Subject: Re: Fatal Error
just delete your all cache files in cache folder and refresh the
browser ... might be it is just a cache problem, i had once
experienced the same problem.
On Jan 6, 7:47 am, Dave Maharaj m...@davemaharaj.com wrote:
Yep Im
Nope still nothing.
Got my hopes up for a second there. Said missing database driver but now
back to the FATAL ERROR.
From: Dave Maharaj [mailto:m...@davemaharaj.com]
Sent: Thursday, January 06, 2011 1:31 AM
To: cake-php@googlegroups.com
Subject: RE: Fatal Error
Hmm.I know php
On Jan 5, 2011, at 23:43, Dave Maharaj wrote:
On Jan 5, 2011, at 9:47 PM, Dave Maharaj wrote:
Im getting Fatal error: Call to undefined function mysql_query() in /
libs/1.3.6/cake/libs/model/datasources/dbo/dbo_mysql.php on line 600
Got my hopes up for a second there. Said missing
O, I have it:
class TextHelper extends AppHelper {
var $helpers = array('Html', 'Form');
and it works, both $this-Html and $this-Form. But when I try to
test, and test only, then the Form helper inside TextHelper, but not
Html helper, triggers the error, and only while testing. Perhaps a bug
hmm...TextHelper is included default with cake...maybe this is
problem...or...
function __construct() {
parent::__construct();
App::import('Helper', 'Html');
$this-Html = new HtmlHelper();
App::import('Helper', 'Form');
$this-Form = new FormHelper();
}
u need to use *var $helpers = array(list, of, helpers);* in helper
class which helpers will helper use :D
i think this is problem...
--
Tilen Majerle
http://majerle.eu
2010/11/26 piousbox pious...@gmail.com
I get this while testing. Here's my test code:
function testLogin_register() {
Why don't you try writing small amounts of data in a loop, then
unsetting whatever is eating up the memory?
Send 1000 records to your component and unset the whole thing when it
finished, reload and do it again until complete.
On Nov 18, 12:20 am, Sreenivas S Nair ♫ sreenivasn...@gmail.com
I had same problem with some 'export to excel' feature.
Today i have 1.5GB in php memory_limit.
Anyone have a lighter solution to export data?
Im using php_excel to export it.
--
Renato de Freitas Freire
ren...@morfer.org
On Fri, Nov 19, 2010 at 8:10 AM, Sreenivas S Nair ♫
the total number of farmers registered in the application is 3000+, and
their return details and application added.the mysql data base is very large
On Fri, Nov 19, 2010 at 3:40 PM, Sreenivas S Nair ♫ sreenivasn...@gmail.com
wrote:
Am working in a web application development company, this
Wow. That's a LOT of heavy lifting. Even if you increased ram, cpu and strapped
on a booster rocket it's still a lot of data. Is this efficient - can you be
more precise with your queries? I wonder what the user experience is like...
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
What about not using php_excel and writing Office XML using a simple
helper? That's the way I do it and it's working quite well. Of course
the helper has only a few features, but for simple exports that's ok.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their
On Nov 19, 2:16 pm, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
Wow. That's a LOT of heavy lifting. Even if you increased ram, cpu and
strapped on a booster rocket it's still a lot of data. Is this efficient -
can you be more precise with your queries? I wonder what the
On Nov 19, 2:23 pm, Braindead markus.he...@gmail.com wrote:
What about not using php_excel and writing Office XML using a simple
helper? That's the way I do it and it's working quite well. Of course
the helper has only a few features, but for simple exports that's ok.
IMO/IME you're a
In my case, my client explicity asked for an 'excel export feature'.
I tried to do it in csv, but he didnt like it.
Exporting directly with a simple helper, I had the same results.
Just work if I increase the memory for php.
Seems not to have another way to do it.
--
Renato de Freitas Freire
Sometimes the client (who is paying you to provide a solution) does not always
know best. What he wants is the data moved somewhere, not an 'excel export
feature'.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 19 Nov 2010, at 14:03, Renato de Freitas
On Nov 19, 3:03 pm, Renato de Freitas Freire renat...@gmail.com
wrote:
In my case, my client explicity asked for an 'excel export feature'.
I tried to do it in csv, but he didnt like it.
Exporting directly with a simple helper, I had the same results.
Just work if I increase the memory for
Yeah..
my table is near 1gb...
Something like 800mb or a little more...
Im doing something like this:
$data = $this-Model-find('all',array('conditions' = array('Model.ok' =
1)));
foreach($data as $row) {
foreach($row as $key = $value) {
// here i call phpexcel (or the helper) to
On Fri, Nov 19, 2010 at 11:59 AM, Renato de Freitas Freire
renat...@gmail.com wrote:
Yeah..
my table is near 1gb...
Something like 800mb or a little more...
Im doing something like this:
$data = $this-Model-find('all',array('conditions' = array('Model.ok' =
1)));
foreach($data as $row) {
hmm...
I'll try it later...
tnx alot ˆˆ
--
Renato de Freitas Freire
ren...@morfer.org
On Fri, Nov 19, 2010 at 3:05 PM, cricket zijn.digi...@gmail.com wrote:
On Fri, Nov 19, 2010 at 11:59 AM, Renato de Freitas Freire
renat...@gmail.com wrote:
Yeah..
my table is near 1gb...
Something
what exactly are you doing?
no way in hell that you need 290MB for user output (views)
On 18 Nov., 05:20, Sreenivas S Nair ♫ sreenivasn...@gmail.com
wrote:
Hi,
Am hosting a web application which gets a very large amount of data every
day.The mysql queries are optimized to a maximum and also
It has nothing to do with cakephp, it's php 5.3 config that is wrong.
Add date_default_timezone_set('America/Chicago'); to your core.php
or
date.timezone = America/Chicago to your php.ini
see php.net for a complete list of supported timezones
On 13 nov, 20:57, cricket
On Nov 14, 12:06 pm, Crazy crazy...@gmail.com wrote:
It has nothing to do with cakephp, it's php 5.3 config that is wrong.
Add date_default_timezone_set('America/Chicago'); to your core.php
or
date.timezone = America/Chicago to your php.ini
OR
read the error message.
Check out the new
On Sat, Nov 13, 2010 at 9:12 AM, marco.rizze...@gmail.com
marco.rizze...@gmail.com wrote:
Hi
I have downloaded cakephp 1.3.5.0 and I have PHP 5.3.3
I have unzip cake and I try to see if it works correctly and I get
this errors :
Warning (2): strtotime() [function.strtotime]: It is not safe
use delete method not del :D
--
Tilen Majerle
http://majerle.eu
2010/10/8 n4thancake hellbr...@gmail.com
Hi to all I have this strange error in my code. I want to make a
cookie system with cakephp, and in app_controller.php I include
var $components = array('Auth', 'Cookie'); var $helpers
i had faced it and it was more of while parsing large xml files to
display our data..faced this same error...so it is something got
to do with your controller consuming memory or hitting a roadblock
where memory is being consumed.u need to debug to find out
whereuse the memory code
It looks like you have some sort of loop in your code, or your query is
returning far too much data. Try putting some debug statements into the display
action of your nodes_controller before rendering the view to see what's
happening. Maybe there are some code and/or database differences
when you do phpinfo() from inside that view, does it still show -1 for
memory limit?
On Oct 5, 11:28 am, Fuitad fui...@gmail.com wrote:
Hello,
I'm in charge of transferring a live CakePHP application from one
server to another. I'm trying to get the new site to work but I'm
hitting a weird
Try changing to this and see if you get the same error:
$options = $options + array('inline' = true);
On Sep 13, 10:16 am, Dave Maharaj m...@davemaharaj.com wrote:
All of a sudden I am getting a
Fatal error: Unsupported operand types in
/1.3.4/cake/libs/view/helpers/html.php on line 337
No luck.
I just went to my backup copy from last night. Easier :)
Thanks.
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
That's weird. What version of PHP are you running?
On Sep 13, 12:06 pm, Dave Maharaj m...@davemaharaj.com wrote:
No luck.
I just went to my backup copy from last night. Easier :)
Thanks.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related
Server info says PHP 5.2
My guess is it was something I did and forgot to check after a change. But
it's all working fine now.
Not sure why the HTML helper threw an error since its never ever touched.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their
Just do not pass strings as $options parameter. It must be array.
On Sep 14, 6:55 am, Dave Maharaj m...@davemaharaj.com wrote:
Server info says PHP 5.2
My guess is it was something I did and forgot to check after a change. But
it's all working fine now.
Not sure why the HTML helper threw an
i've been attempting to reduce memory consumption on my app too.
use debug($this) to see the different objects loaded into memory, and make
sure to pass by reference where possible.
i also added this snippet at the bottom of my default.ctp:
echo 'uMemory Usage:/ubr /';
$memory_in_bytes =
This happened with me on the local windows server while testing,
didn't really see the problem up on my live one.
Anyway if u have access to the PHP.INI file you can just go there and
edit the memory_limit = 16M value to something like memory_limit =
50M. I had this set to 150MB and it didn't
I'd also check your model associations and controller code to check that you
are not in a recursive loop, retrieving too much data or have some other
gotcha. IMO, I think it's better to get to and fix the root cause rather than
just paper over it. If your memory is really being stretched, then
http://book.cakephp.org/view/1566/View-and-Helpers
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 7 Jul 2010, at 05:58, arif hossen wrote:
Dear Experts,
I need help. i got below this problem when i have added renderElement in my
layout. I have also
Try $this-aro-create() instead.
On Jul 6, 1:12 pm, Kanwal enggkanwalj...@gmail.com wrote:
i have one controller in which i have following function:
var $components = array('Acl');
function anyaction()
{
$aro = $this-Acl-Aro;
//Here's all of our group info in an array we
Okay, for anyone else getting this.
Remember to force your memcached to flush the cache...
http://kevin.vanzonneveld.net/techblog/article/flush_memcached_using_bash/
Thanks :)
/Jonas
On Jul 1, 4:43 pm, Jonas jonas.sand...@gmail.com wrote:
Hello,
I just tried to re-arrange an old 1.2
Don't use 'Add' as a model name. Besides not having sense, it will
conflict with the baked Add controller method.
Best regards
On 18 jun, 22:07, Davor Ilic webfa...@gmail.com wrote:
Do anybody know why this issue is showing???
what i´ve done is only to add in my method :
$this-set('adds',
1 - 100 of 232 matches
Mail list logo