Juan,
Check the HttpSocket class
http://book.cakephp.org/2.0/en/core-utility-libraries/httpsocket.html
Best,
--
Pablo Viojo
Skype: pablo.viojo
Cel: +56 9 74974394
http://tiopaul.io
2013/4/9 AD7six
> English please - or write to the ES group.
>
> Cheers,
>
> AD
>
>
check if you have some files with an uppercase letter. Windows is
case-insensitive while linux is case-sensitive.
Saludos,
Pablo Viojo
CTO, Groupon Latinoamerica
http://tiopaul.io
http://www.groupon.com.ar http://www.groupon.cl http://www.groupon.com.co
http://www.groupon.com.mx http
Regarding the $_GET['url'] question, check the webroot/.htaccess file,
especially the line:
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
This is used by cakephp to handle friendly urls
Saludos,
Pablo Viojo
CTO, Groupon Latinoamerica
pablo.vi...@groupon.com
http://www.groupon.c
at line 2 of index.php
if ($_SERVER['REQUEST_URI']!=strtolower($_SERVER['REQUEST_URI'])){
header("HTTP/1.1 301 Moved Permanently" );
header("Location: " . strtolower($_SERVER['REQUEST_URI']));
}
(from memory, maybe something is wrong)
Saludos
Eclipse PDT
Regards,
Pablo Viojo
pvi...@gmail.com | http://pviojo.net
http://twitter.com/tiopaul (@tiopaul) | LinkedIn profile:
http://cl.linkedin.com/in/pviojo
¿Que necesitas?
http://www.needish.com
On Mon, Apr 19, 2010 at 11:29 AM, Jon Bennett wrote:
> > No ide, just Textmate
There's no way to controller the reload of the current page or a only a part
from the controller. You should send an special reponse to the javascript
(ie:a simple "reload" string could work), and at the client side do
something like document.location="youurl"
AFAIK, Cake built-in cache for views is not related to the user viewing the
content.
Best regards,
Pablo Viojo
pvi...@gmail.com | http://pviojo.net
http://twitter.com/tiopaul (@tiopaul) | LinkedIn profile:
http://cl.linkedin.com/in/pviojo
¿Que necesitas?
http://www.needish.com
On Sun, Mar 21
Try changing Configure::write('debug', 0); to Configure::write('debug', 1);
in core.php
Pablo Viojo
pvi...@gmail.com | http://pviojo.net
http://twitter.com/tiopaul (@tiopaul) | LinkedIn profile:
http://cl.linkedin.com/in/pviojo
¿Que necesitas?
http://www.needish.com
On
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://www.needish.com
On Mon, Mar 8, 2010 at 5:49 PM, braincramp wrote:
> Hi, I have a CMS application and would like to include $html->link() ?> and other such tags inside the content of pages that
> are stored in
The configuration that I send allows you to use memcached (or whatever you
like) for all caches but the internal cake's cache (that should use file)
I have this configuration in a prod environment (using several memcached
servers) and it works fine.
Regards,
Pablo Viojo
pvi...@gmail.com
Sorry for the OT and the quite general questions
Has anybody used Redis and Memcached with a CakePHP app?
Any comments about performance, scalability, etc will be great appreciated
Thanks in advance!
Regards
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http
fig('_cake_model_', array('engine' => 'File'));
before
Cache::config('default', ...
If you do this, remember to check if app/tmp/cache/models
app/tmp/cache/persistent and app/tmp/cache/views exists and has read/write
privileges
Regards
Pablo Viojo
pvi
Reading the error message, and googling for it, helps a lot :)
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://www.needish.com
On Mon, Feb 8, 2010 at 3:03 PM, priyanka123 wrote:
>
> hi,
> thanx alot..my code worked out...
>
>
> Thanks.
app/webroot is the right place.
Try accesing /url_proxy.php directly from the browser and see what happens
Regards!
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://www.needish.com
On Wed, Jan 27, 2010 at 11:14 AM, thomaus wrote:
> Hi there,
>
> I need to do
Please post your database.php file
Regards
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://www.needish.com
On Thu, Jan 21, 2010 at 10:07 PM, cricket wrote:
> Check to make sure there is no whitespace after the closing "?>" in
> database.php. Even
Your current config has all path set to CACHE, so all the cache files will
be written to the cache folder, try setting diferent 'prefix' settings so
you can check which configuration is being used.
Regards
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://www.n
There's an error in your code:
if ($state_cache !== false) should be
if (empty($state_cache)) or something like that.
Change it and try again.
Regards
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://www.needish.com
On Sat, Jan 9, 2010 at 9:06 PM, Dave
Try passing the config as third param when writing and second when reading:
Cache::write('state_cache', $state_cache, 'long');
Cache::read('state_cache', 'long');
HTH!
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://ww
Our site (http://www.needish.com) is having over 50k unique visitors a day
and 150-200k pageviews/day.
Using nginx, mysql, memcached et al (cake 1.2)
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://www.needish.com
On Fri, Jan 8, 2010 at 11:16 AM, Dave J wrote:
> I
Please elaborate your question.
Regards
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://www.needish.com
On Fri, Jan 8, 2010 at 5:01 AM, Mann da wrote:
> i want help about foreach in cakephp,
>
> thanxs
>
> Check out the new CakePHP Questions site http:/
Forget Comet. Take a look at Jabber (A very good server
http://www.igniterealtime.org/projects/openfire/) and JsJac
http://blog.jwchat.org/jsjac/ if you want to write a robust chat system. (It
will save a lot of time)
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http
?
>
Store it on a persistent storage like the database, then retrieve it and
update accordingly.
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related que
If you change debug to 2 in core.php you can see all the queries made.
Regards
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Tue, Dec 8, 2009 at 7:46 AM, Manish Pithwa wrote:
> Hi All,
>
> Sometimes we want to see what query CakePHP has
Having a dev environment using the "live" database seem a very, VERY, bad
idea. I hardly discourage you from doing that.
Also, having a code version (SVN, git, or whatever you like) is recommended
as long as the use of tags or whatever option your system provide.
Regards,
Pablo
Yes, APC and Memcache is a must if you want good performance.
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Mon, Nov 23, 2009 at 5:58 PM, Miles J wrote:
> Haha funny you ask. The mozilla addons site actually runs CakePHP 1.1
> an
Anyway, it's recommended to remove ?> in controllers, models and any other
.php file
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Fri, Nov 13, 2009 at 4:28 AM, PDEagle wrote:
> Hi guys,
>
> I'm creating a blog syste
You can do something using subqueries (but if you're quering the same table
on main and sub query, it will not perform well)
I recommend to do two queries instead.
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Mon, Nov 2, 2009 at 8:49 PM,
Something like this may help:
SELECT domain_id, search_engine_id, MAX(id) FROM table GROUP BY domain_id,
search_engine_id
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Mon, Nov 2, 2009 at 8:29 PM, Chad Casselman wrote:
>
> I have a tabl
Try deleting the files in tmp/cache/* folders.
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Tue, Oct 27, 2009 at 12:56 PM, toby1kenobi wrote:
>
> Hi everyone,
>
> I'm sure this is something simple, and glaringly obvious
We are using slugs for translations in our site, and our site is quite
big... :)
Pablo Viojo
pvi...@gmail.com
http://needish.com
On Wed, Oct 14, 2009 at 1:59 PM, Larry E. Masters aka PhpNut <
php...@gmail.com> wrote:
> Miles,
>
> It is not a suggestion it is the correct way
It should be related to the cakephp cache queries. Try setting
$this->Planification->cacheQueries = false;
before calling ->query(...)
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Mon, Oct 12, 2009 at 9:44 AM, Xanax wrote:
>
&g
¬¬
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Sat, Oct 3, 2009 at 4:59 PM, wrote:
> First line of index() is missing a semicolon
> Schreck
>
> -Original Message-
> From: Jeff
> Date: Sat, 3 Oct 2009 13:01:48
>
Something like this:
Change your variable names appropiately.
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Thu, Sep 17, 2009 at 3:55 PM, Simon wrote:
>
> un exemple will be appreciated
>
> On Sep 17, 11:14 am, N
Based on my own experience using medium-sized tables the "or solution" is
slower than "replicating data solution"
Just my 2 cents.
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Fri, Aug 28, 2009 at 2:35 AM, Miles J wrote:
In the particular case of a friends table I recommend to insert two records
for each relation. It's faster to read (remember 90% reads, 10% inserts) :)
,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Thu, Aug 27, 2009 at 12:33 PM, Miles J
21
2 52
2 25
3 31
3 13
4 41
4 14
5 24
5 42
you can do user_id_1=1 (only one index)
Regards
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
Take a look at http://needish.com It's cakephp based :)
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
¿Que necesitas?
http://needish.com
On Wed, Aug 26, 2009 at 7:23 PM, DigitalDude
wrote:
>
> Hey,
>
> I'm wondering if it would be possible to build up a s
Now what?
Try looking at /cake/basics.php:108 ... I found it belongs to function
debug(), so maybe you're using debug(...) previously?
Take a look at your code.
Saludos,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
(#340 y crec
Normally that error comes with something like:
Warning (2): Cannot modify header information - headers already sent by
(output started at file:line)
Regards,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
(#340 y creciendo!)
Ayudar
try it!
debug($products);
Saludos,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
(#260 y creciendo!)
Ayudar nos hace felices!
http://needish.com - http://helperman.org
On Mon, Jun 22, 2009 at 4:53 AM, dflow wrote:
>
>
debug(...) is your friend! always!
Saludos,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
(#260 y creciendo!)
Ayudar nos hace felices!
http://needish.com - http://helperman.org
On Sun, Jun 21, 2009 at 6:23 PM, Miles J wrote
The problem isn't related to "echo". Your variable is name products in the
controller
$this->set('products',$this->Product->find('all'));
So, in the view you should use $products. Try doing in
your view.
HTH,
Pablo Viojo
pvi...@g
TestingController:by_name is no longer needed (I removed it to test
this case)
Saludos,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
(#260 y creciendo!)
Ayudar nos hace felices!
http://needish.com - http://helperman.org
On Fri, M
Can you post the URL that allow to access and the URL that throws an error?
(becuse I get lost! :) )
Saludos,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
(#260 y creciendo!)
Ayudar nos hace felices!
http://needish.com - http
CTORY SEPARATOR');
or
define('ROOT', dirname(dirname(dirname(__FILE__;
Try deleting files on tmp/cache/persistent
Saludos,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
(#260 y creciendo!)
Ayudar nos hace felic
Are you using "sticky sessions" when balancing? (ask your system admin)
Which session.save value are you using (php, database, cache)?
(located on your core.php)
Saludos,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
(#260 y
$ip = gethostbyname('www.example.com');
http://www.php.net/gethostbyname
Saludos,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
(#260 y creciendo!)
Ayudar nos hace felices!
http://needish.com - http://helperman.org
O
Yes, that's what I am doing (I'm doing it at the model.php (core) because
I'm working only with stables releases for production) but I would like to
know if someone else consider it a mistake so I'll post a ticket and a
patch for it.
Regards,
Pablo Viojo
pvi...@gmail.com
htt
Memcache or DB are the best options!
Saludos,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
(#260 y creciendo!)
Ayudar nos hace felices!
http://needish.com - http://helperman.org
On Tue, Mar 24, 2009 at 6:02 PM, Krzysztof Chudzik
Can someone illuminate me about afterFind being called on find('count,..)
I consider it's a mistake, because normally you would'nt do anything with
it, or something completely different than an find all or find first.
Thanks in advance!
Regards,
Pablo Viojo
pvi...@gmail.com
ht
removing all closing ?> on your models, controllers, components and helpers
may help (they are not needed)
Saludos,
Pablo Viojo
pvi...@gmail.com
http://pviojo.net
(#220 y creciendo!)
Ayudar nos hace felices!
http://needish.com - h
Save the creator id when creating apps and compare it, when editing,
with the session user, and user tokem or whatever that allows you to
"authenticate" the user editing
Sent from my iPhone
On 18-10-2008, at 17:27, Cody Sortore <[EMAIL PROTECTED]> wrote:
>
> Thanks for the solution, I teste
Sent from my iPhone
On 18-10-2008, at 17:07, Smelly_Eddie <[EMAIL PROTECTED]> wrote:
>
> I am having some trouble with the proper way to go about modeling
> this. I would love suggestions.
>
> I have a simple database with an id, key and value fields. I made an
> administrative model, contro
You are wrong, you can name your id whatever you want as long as you
define it using $primaryKey
Sent from my iPhone
On 18-10-2008, at 16:43, "Lamonte(Scheols/Demonic)"
<[EMAIL PROTECTED]> wrote:
> Yeah cake its strict on everything so you can't name your id
> "design_id" stupid? Yes I kn
Model::afterFind is called now for a findCount, I've read the code for
previous releases and it was called before. Is this a bug or a new feature?,
should I change all my afterfind methods?
Regards,
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
Are you Needish? ... http://needish.com
I'm using this[1] on 1.2rc3 (and rc2) it looks similar
Regards,
Pablo Viojo
[EMAIL PROTECTED]
http://needish.com
http://pviojo.net
[1] http://bakery.cakephp.org/articles/view/geoip-component
On Sat, Oct 11, 2008 at 12:22 PM, Louie Miranda <[EMAIL PROTECTED]> wrote
On Mon, Mar 31, 2008 at 12:34 PM, eniacx <[EMAIL PROTECTED]> wrote:
>
> Is there a way to do this without an absolute URL?
>
> Does anyone know of a way to obtain the URL version of WWW_ROOT?
>
> thanks in advanced
>
> Try [1]:
">
--
Pablo Viojo
[EMAIL P
On Fri, Mar 7, 2008 at 10:55 AM, Pablo Viojo <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 7, 2008 at 5:44 AM, grassoalvaro <[EMAIL PROTECTED]> wrote:
>
> >
> > Hi,
> >
> > I was searching for solution but i didn't find anything. So, for
> >
Any idea?
>
Try this at routes.php:
Router::connect('/dictionaries/:action/*', array('controller' =>
'dictionaries'));
And the defining any action you like in the controller.
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
--~--~-~--~~--
My 2 cents, try keeping your models as fat as possible. This way your models
can be used from your controllers or opened to third party (just creating an
ApiController for example) reusing the logic.
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Wed, Mar 5, 2008 at 5:08 PM
This happens because a webroot/files folder exists. Try deleting the folder.
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Sun, Feb 24, 2008 at 4:27 PM, smacks <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> I'm currently working on a content managem
I think this has been asked, and answered, too many times ;) [1]...Just use
it!
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
[1]
http://groups.google.com/group/cake-php/search?group=cake-php&q=1.2+production&qt_g=Search+this+group
On Sat, Feb 23, 2008 at 5:42 PM, Gr
This IS what you should do:
1. Fill a ticket
2. submit a patch [1]
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
[1] https://trac.cakephp.org/
On Sun, Feb 17, 2008 at 5:19 PM, jim starboard <[EMAIL PROTECTED]>
wrote:
>
> This IS a cake issue. The scaffolding cod
. (Using PHP 5.2.2)
>
>
> I have my domain pointing to /home/yoursusername/yourdomain.com/app/
> webroot/ in the web panel.
I have my domain pointing to /home/yoursusername/yourdomain.com/
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
--~--~-~--~~---
You should try using associations (hasMany, belongTo,...)
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Wed, Feb 13, 2008 at 6:44 PM, Viktor Nagy <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am working on an application to analyse my installed applications
>
Try deleting the /tmp folder contents
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Fri, Feb 8, 2008 at 11:50 AM, glastoveteran <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'm sure I'm doing something obviously wrong but I have several
> instances where
t; pages and it will not load.
>
> Yes I do agree about running an applet for this functionality is not
> the best thing to do but I have yet to find an ajax or javascript
> application that will mimic anything close to:
> http://java.arcadevillage.com/applets/timepica.htm.
>
> On
Anyway, using java applet for such a functionality:S
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Thu, Jan 31, 2008 at 6:47 PM, Pablo Viojo <[EMAIL PROTECTED]> wrote:
>
>
> On Thu, Jan 31, 2008 at 3:30 PM, Brian <[EMAIL PROTECTED]> wrote:
>
> >
>
:
What does "run the
applet from webroot" and "run it from a model view" means?
Also, you have a typo. Check the line webroot . "
ATimePicker.jar"; ?> it should be webroot . "
ATimePicker.jar"; ?>
Regards
--
Pablo Viojo
[EMAIL PROTECTED]
http://pvioj
It's relative..Can you define "rapid"? :P
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Jan 30, 2008 10:41 AM, Renan Gonçalves <[EMAIL PROTECTED]> wrote:
> The question is: Is Cake rapid ? Or is not rapid ?
>
--~--~-~--~~~---
I don't understand the following...can you explain it a little?
> I can't stand using php in my view code (even though I am a php
> programmer !),
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
--~--~-~--~~~---~--~~
You received this mes
No, that's what layouts are for
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Jan 24, 2008 3:45 AM, justradar <[EMAIL PROTECTED]> wrote:
>
> are you supposed to use routes to define which page uses which
> template??
>
> >
> > There are all man
Try Model::findCount[1]
$this->Customer->findCount();
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
[1]
http://api.cakephp.org/1.2/class_model.html#0978aba07f5d196079d7518a99bcfa86
On Jan 11, 2008 10:36 AM, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
> On Jan 10,
You shuldn't try to access session information from within a model, instead
try passing it from the controller as a parameter. Example:
Model User:
function getUserInfo($user_id){
...
}
Controller:
User->getUserInfo($this->Session->read("logged_user_id"));
Regards,
Just for the record. If your creating a website with javascript to add
functionlity the approach of loading the javascript at the bottom is
correct. But if your site striongly depends on javascript (the case of a
webapp) the best is to load javascript as soon as you can.
Regards,
--
Pablo Viojo
I've used once
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Jan 4, 2008 11:37 AM, Ghost <[EMAIL PROTECTED]> wrote:
>
> Does anybody use Cakephp+Yahoo UI in your projects?
>
> >
>
--~--~-~--~~~---~--~~
You received
Anyway, that's something non trivial, you can do it using headers,
status-code, content comparison (search for some string fore example) but
you may consider some cross-browser issues.
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Jan 3, 2008 11:17 AM, Pablo Viojo <[EMAIL P
expiration using the ajax
helper, but you should have some code on the client-side (javascript) to
check if session is alive. If not just do a redirect to the login url.
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
--~--~-~--~~~---~--~~
You received
code.
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
[1] http://api.cakephp.org/controller_8php-source.html#l00859
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to t
Try searching this group[1]. I did it for you and found [2] [3] among
others.
Hope that helps.
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
[1]
http://groups.google.com/group/cake-php/search?hl=en&group=cake-php&q=app_controller+model
[2]
http://groups.google.com/group/
Try:
$this->autoRender=false;
$this->render('foo');
in your controller action
Also, see the render definition[1]
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
[1]
http://api.cakephp.org/1.2/class_controller.html#90046e6b62c91452a987c9573372c2ac
On Dec
Try setting debug to 2 and take a look at the generated queries.
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Dec 26, 2007 5:56 AM, ProFire <[EMAIL PROTECTED]> wrote:
>
> Hello!
>
> I have searched through the google group looking for an answer for why
&
Chris,
Take a look at these[1][2]. Maybe it helps (maybe not)
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
[1]
http://digitalspaghetti.tooum.net/switchboard/blog/2487:Discovering_Single_Table_Inheritance
[2]
http://www.ifisgeek.com/tutorials
Beside indexs, full tables scans, etc. Cake is a tool that allows developers
to simplify some complicated things. Obviously this simplification means an
aditional overhead sometimes, and if you want to avoid it use custom
queries.
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On
Exactly, this is related with the primary key for your model. See
http://groups.google.com/group/CakePHP-es/t/9503e9e1222d1a08?hl=es (in
spanish) as his original request. ;)
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Dec 3, 2007 8:25 PM, kristofer <[EMAIL PROTEC
Please provide more details...javascript error, if any, generated html code,
etc
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Nov 20, 2007 4:07 PM, ldb <[EMAIL PROTECTED]> wrote:
>
> G'day
>
> This has got to be a tweak I missed, can someone please tell me
Details please!
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Nov 20, 2007 4:35 PM, rtconner <[EMAIL PROTECTED]> wrote:
>
> No one else has ever had this problem? Odd. Three people in my office
> have come across this same thing. None of us could find a cake wa
Are you using an ajax library? which?
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 11/5/07, carstep <[EMAIL PROTECTED]> wrote:
>
>
> FYI: I go further and realized that this happens only in FF 2.0.0.9,
> but in IE6 it works perfectly!
>
> Bye A
I think is a behavior related with your browser cache. Try deleting it
before going back to the list
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 11/4/07, Jan Koprowski <[EMAIL PROTECTED]> wrote:
>
>
> Hi !
>
> I have strange "caching" in cake. I ha
Set debug=1 and check if you have errors on your page
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 10/21/07, Charlie van de Kerkhof <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> I still have this problem. Searched this forum about this subject and
> did all suggestions:
By bootstrap.php I mean app/config/bootstrap.php
Pablo
On 9/6/07, Pablo Viojo <[EMAIL PROTECTED]> wrote:
> app_controller if related to controller
> app_model if related to model
>
> bootstrap.php if general
>
> --
> Pablo Viojo
> [EMAIL PROTECTED]
> http://p
app_controller if related to controller
app_model if related to model
bootstrap.php if general
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 9/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Where's the best place to put "odds & ends" functions
Also, try Named Parameters (native in 1.2, for 1.1 [1])
[1] http://bakery.cakephp.org/articles/view/passing-named-parameters
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 9/6/07, majna <[EMAIL PROTECTED]> wrote:
>
> You can map all route site/* to site/index/
> exmpl f
our pc remotely, and then I can help you
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 8/30/07, sukumar <[EMAIL PROTECTED]> wrote:
>
> I have uncommented the line u told me to do and I have done
> Allowoverride All everywhere I saw that. I don't know what cou
Look for a line containing LoadModule rewrite_module
modules/mod_rewrite.so and uncomment it (if commented with #)
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 8/30/07, Pablo Viojo <[EMAIL PROTECTED]> wrote:
> Try checking your httpd.conf (I suppose it is
> xampp
Try checking your httpd.conf (I suppose it is
xampp/apache/conf/httpd.conf) and see if mod_rewrite is enabled (when
i've installed mine it was disabled by default).
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 8/30/07, grandpa <[EMAIL PROTECTED]> wrote:
>
> I
It's way too much to have a ticket, so imagine a ticket + patch ;)
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 8/28/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
>
> Who's responsable? Err :)
>
> Also it wouldn't hurt that just EVERY NO
onfuse. From your statement I think
the condition should be
if (!(!isset($this->data['Membership']['id'])){
// Do something
}
or better:
if (isset($this->data['Membership']['id']){
// Do something
}
Don't know...check you
#x27;role_id'];
> $module = $this->data['Membership']['module_id'];
> $user = $this->data['Membership']['user_id'];
> $conditions = array("Membership.role_id"=>"$role",
>
> > > > > > On Aug 22, 10:01 am, CakeMan < [EMAIL PROTECTED]> wrote:
> > >
> > > > > > > Hello Friends,
> > >
> > > > > > > I am facing an problem. I have installed cakephp on my server.
> The
> > > &
1 - 100 of 161 matches
Mail list logo