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 fihr87364hjkfhdjf6374hfz7z3h7...@trash-
mail.com wrote:
dtemes schrieb:
I tryed with a custom save handler, but then i moved to database
Hello,,
On Sun, Oct 24, 2010 at 11:08 PM, cricket zijn.digi...@gmail.com wrote:
On Sat, Oct 23, 2010 at 1:49 PM, airween airw...@gmail.com 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
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
Hello,
On Mon, Oct 25, 2010 at 2:50 AM, djogo djogopat...@gmail.com 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
Yeeesh... Actually I have found a problem with this approach. It
doesn't actually work in the find COUNT query for pagination. Use at
your own risk : )
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message
Hi David,
thanks for the quick update, works fine :)
Regards
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
Update: I have fixed the count() issue by adding a small method in my
app model. It all appears to work correctly now.
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
big fat thx.:)
On 25 Okt., 06:49, LarryTX lut...@swbell.net wrote:
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 a href=/mysite/
As I wrote yesterday, I've configured an nginx, and tested this Cake
app - the problem doesn't occur. Looks like it comes under only
apache2 and mod-php (php configured as module not (f)cgi - nginx uses
fastcgi).
I run my cake sites using fcgi + nginx, why not take apache out of
picture if
As I wrote yesterday, I've configured an nginx, and tested this Cake
app - the problem doesn't occur. Looks like it comes under only
apache2 and mod-php (php configured as module not (f)cgi - nginx uses
fastcgi).
I run my cake sites using fcgi + nginx, why not take apache out of
picture if
Hello everyone;
Savefield doesn't work, I don't know why, here is the code
$this-ChannelsTwitterId-id = $find_id;
$this-ChannelsTwitterId-saveField('last_twitt_id', $last_twitt_id);
I test the values $finnd_id and $last_twitt_id juste before and they
are correct... and there is
instead of this use:
$data = array(
ChannelsTwitterId = array(
id = $find_id,
last_twitt_id = $last_twitt_id
)
);
$this-ChannelsTwitterId-save($data, false); //without validation
--
Tilen Majerle
http://majerle.eu
2010/10/25 matthieu matthieu.rolland1...@gmail.com
Hello everyone;
I know I'm missing something simple here, but I'm trying to make a
file downloadable from my cakePHP site... I can show the link to the
file, which (after uploading to the server via FCK) is domain.co.uk/
userfiles/filename.pdf
When I right-click, I can save the file, but when I left-click, it
make a folder in your webroot called userfiles and inside this folder you
should have files...then should work...
--
Tilen Majerle
http://majerle.eu
2010/10/25 WhyNotSmile sharongilmor...@gmail.com
I know I'm missing something simple here, but I'm trying to make a
file downloadable from my
Thank you so much, I was blocked with this since this morning, it
works perfectly thanks
On Oct 25, 1:09 pm, Tilen Majerle tilen.maje...@gmail.com wrote:
instead of this use:
$data = array(
ChannelsTwitterId = array(
id = $find_id,
last_twitt_id = $last_twitt_id
)
);
Thank you! That worked!
On Oct 25, 12:14 pm, Tilen Majerle tilen.maje...@gmail.com wrote:
make a folder in your webroot called userfiles and inside this folder you
should have files...then should work...
--
Tilen Majerlehttp://majerle.eu
2010/10/25 WhyNotSmile sharongilmor...@gmail.com
Hello Jon,
On Mon, Oct 25, 2010 at 12:47 PM, Jon Bennett jmbenn...@gmail.com wrote:
I run my cake sites using fcgi + nginx, why not take apache out of
picture if the problem has been proven to go away?
because there are many sites working under apache, that's a production
environment, I dont
Hey everyone,
I develop quite some applications for my customers using CakePHP and I
have the following problem:
Usually, I develop an application on adomainname.com, and provide the
customer with a development environment in which he can test changes
before they go live. I usually put this on a
Day 3 on using CakePhp and I like it. But I am running into the
problem with generating static pages.
I have an about page represented by about.ctp
The page will render and will execute this php code:
?php $this-set(title_for_layout, My Title); ?
But If I add any other html in this file
Find some folder synchronisation software.
With Linux use rsync.
If you use cloud computing or in house virtualization like xen, things
become more simple.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message
On Oct 25, 3:53 pm, Aeg janhuntj...@gmail.com wrote:
Hey everyone,
I develop quite some applications for my customers using CakePHP and I
have the following problem:
Usually, I develop an application on adomainname.com, and provide the
customer with a development environment in which he
On Oct 24, 11:13 pm, Tom tast...@gmail.com wrote:
Day 3 on using CakePhp and I like it. But I am running into the
problem with generating static pages.
I have an about page represented by about.ctp
The page will render and will execute this php code:
?php $this-set(title_for_layout, My
I have a controller that does a find all to get all the results from
our database:
?php class ResultsController extends AppController {
var $name = 'Results';
function index(){
$this-set('results',$this-Result-find('all'));
$this-set('results', $this-paginate('Result')); }}
http://book.cakephp.org/view/1017/Retrieving-Your-Data
http://book.cakephp.org/view/1017/Retrieving-Your-Data
--
Tilen Majerle
http://majerle.eu
2010/10/25 Briko03 nathanrlar...@gmail.com
I have a controller that does a find all to get all the results from
our database:
?php class
Don't forget to use 'echo' if using the HtmlHelper to render your
tags. I've been using CakePHP for ages that one still gets me from
time to time.
Toby
On Oct 24, 10:13 pm, Tom tast...@gmail.com wrote:
Day 3 on using CakePhp and I like it. But I am running into the
problem with generating
Any idea why this wouldn't be returning results with a location=
sundown??
function sundown()
{
$this-set('results',$this-Result-findAllBylocation('Sundown'));
$this-set('results', $this-paginate('Result'));
}
Check out the new CakePHP Questions site http://cakeqs.org and help others with
Do you have a field named 'location' or is it 'name'? If it's name, you'd need
to do findAllByName.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 25 Oct 2010, at 13:30, Briko03 wrote:
Any idea why this wouldn't be returning results with a location=
Hi,
How do you tackle this problem?
Copying files is **not** a sane process, as you will sooner or later
forget a file or mix files up. We're only human, it will happen.
Make yourself familiar with [Git][1] or [Mercurial][2], and read up
on [gitready][3] or [hgtip][4].
For deploying
I have a field named location.
This is what is coming throu from cake
SHOW FULL COLUMNS FROM `results`14 14 3
2 SELECT CHARACTER_SET_NAME FROM INFORMATION_SCHEMA.COLLATIONS WHERE
COLLATION_NAME= 'utf8_general_ci'; 1 1 1
3 SELECT
Are you certain you have a row in your database that matches that criteria? The
SQL looks right, but the count is zero. What happens when you run the SQL
directly against the database?
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 25 Oct 2010, at 13:46,
It looks like the first query is working as it should. I am positive
there is a location field.
Here is a snapshot of the table
When I run the first query it works fine and returns 2615 records.
I think it has something to do with the pagination perhaps?
On Oct 25, 1:50 pm, Jeremy Burns |
Hello,
I run my cake sites using fcgi + nginx, why not take apache out of
picture if the problem has been proven to go away?
another (most important?) thing: if I installed another httpd, it is
notthe solution - it's just the bypassing of problem...
cheers:
a.
Check out the new CakePHP
Why are you setting $results twice?
If you want pagination, use paginate(), you dont need the other query.
On Oct 25, 11:39 am, Briko03 nathanrlar...@gmail.com wrote:
It looks like the first query is working as it should. I am positive
there is a location field.
Here is a snapshot of the
Thanks for the help everyone. The problem was of course really simple.
?php echo $content_for_layout ?
Totally forgot to add this to my layout...
I was thinking the issue was bigger than it actually was.
How embarrassing!
On Oct 24, 4:13 pm, Tom tast...@gmail.com wrote:
Day 3 on using
Hello I am using cakePHP 1.3 and I am unable to retreive the last
inserted row's id. I actually am using $this-Model-id to retreive
the last inserted id but I am unable to get the id. When tried to
check what is return type, it says as bool(false), which means nothing
is returned.
Here I am
Hi,
i've used cake for several websites and i never had such a problem.
Now one of my websites is an online car selling website when users can
signup and post their cars for sale.
It's about a couple of weeks that every day i find some empty posts
(empty DB records) in my web site. Normally
after your save statement..
$var = $this-Contact-lastInsertId();
On Mon, Oct 25, 2010 at 7:48 AM, macha srin...@gmail.com wrote:
Hello I am using cakePHP 1.3 and I am unable to retreive the last
inserted row's id. I actually am using $this-Model-id to retreive
the last inserted id but I am
On Mon, Oct 25, 2010 at 11:51 PM, Robert J. Maiolo rmai...@gmail.com wrote:
after your save statement..
$var = $this-Contact-lastInsertId();
It's getInsertID(). You're probably thinking of getLastInsertID(),
which has been deprecated.
Check out the new CakePHP Questions site
$this-Model-save();
$id = $this-Model-id;
--
Larry E. Masters
On Mon, Oct 25, 2010 at 11:14 PM, cricket zijn.digi...@gmail.com wrote:
On Mon, Oct 25, 2010 at 11:51 PM, Robert J. Maiolo rmai...@gmail.com
wrote:
after your save statement..
$var = $this-Contact-lastInsertId();
It's
39 matches
Mail list logo