i'd go for a 4$ host (CHEAP) or install mysql/apache on your own
computer with the "xampp" server.
free hosts i saw are crap..
On Aug 10, 4:24 pm, tuiBR <[EMAIL PROTECTED]> wrote:
> Please,
>
> somebody knows webserver free that run cakephp ?
>
> tranks!
--~--~-~--~~~---
Just making sure.. :-)
Thank you.
By the way, I really enjoy your blog. It's a great piece of work.
On Aug 10, 2:05 pm, "Geoff Ford" <[EMAIL PROTECTED]> wrote:
> Nope size is not an issue here :)
>
> Geoff
>
> On 8/10/07, phpjoy <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > so it's size doesn't matte
Ok I checked some more:
The Auth isAuthorized fails here:
function isAuthorized($type = null, $user = null, $object = null) {
if (empty($user) && !$this->user()) {//THIS IS CALLED, FAILS
HERE.
return false;
}
}
So I went and checked the A
On 8/10/07, Gwoo <[EMAIL PROTECTED]> wrote:
>
> the Auth component is not moving anymore
>
Oh Great! I will get down to documenting it again...
T
--
=
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://saniso
Hello bakers,
I found a strange "behavior" of the javascript->codeBlock() in cake
1.2:
if you use such code in view :
test
codeBlock(); ?>
alert('test');
endBlock(); ?>
The view is empty, only the layout is shown, but this :
is ok
This also works :
test
cacheEvents(false, true); ?>
code
In case anyone who is having this problem:
*Note: These are the components, not the helpers
Do not do: pr($this->Session);
Do: pr($this->Session->read());
On a side note, you CAN do:
pr($this->Cookie); and get back any values you set.
Thanks Delixe, nukem, jails
--~--~-~--~~--
Oups sorry that can't work ... I missed something in the problem at
first ...Will thin more about it :-)
On Aug 11, 1:26 am, francky06l <[EMAIL PROTECTED]> wrote:
> maybe (not tested)..
>
> $foo = array( 0, 57.81, 73.906, 97.26, 0, 32.79, 77.81, 28.912, 0,
> 0, 0,
> 0, 0, 0, 27.12 );
> arsort($
maybe (not tested)..
$foo = array( 0, 57.81, 73.906, 97.26, 0, 32.79, 77.81, 28.912, 0,
0, 0,
0, 0, 0, 27.12 );
arsort($foo);
$val = current($foo);
array_walk($foo, create_function('&$v, $k, $val', '$v = $v > 0 ?
$val : 0;'), $val);
ksort($foo);
On Aug 10, 5:11 pm, "Gonzalo Servat" <[EMAIL P
In you ajax submit you can update several div's, so you can have part
updating the side bar (no error) or redraw your form.
you can either have 2 "views" and you render the one appropriate to
the case, of a single view with a conditional update:
Hope that helps
On Aug 10, 7:36 pm, "[EMAIL PROTEC
Hi -
Was wondering - does anybody have any ideas/suggestions on what to
tweak to be able to globally set a 'readonly' flag in the formHelper?
IE, I'd like to be able to do something in my view like: $form-
>setReadOnly(true);, and then ever form input rendered via a $form-
>text() or $form->input
I'm not sure under which conditions it occurs but in my new install of
1.2.5427, in CAKE/lib/controllers/components/auth.php:778, in
AuthComponent::_normalizeURL it seems possible for $paths['base'] to
be an empty string.
This causes an error in the call to stristr.
I no longer get the error,
thanks worked for me!
On Aug 7, 7:53 pm, francky06l <[EMAIL PROTECTED]> wrote:
> You can define in your model model relation, the fields (using the
> "fields" key ie :
>
> class Customer extends AppModel {
>
> var $name = 'Customer';
> var $hasMany = array(
>
I found the solution here:
http://bakery.cakephp.org/articles/view/custom-urls-from-the-site-root
On Aug 10, 1:27 am, Geoff Ford <[EMAIL PROTECTED]> wrote:
> Conventionally no - index is the default action. Rename your default
> actions to index.
>
> Technically - you could fiddle with $this->par
Cool - got it working (at least locally). here's my setup:
AppServ\www\cake\
AppServ\www\cake\cake\
AppServ\www\cake\docs\
AppServ\www\cake\vendors\
AppServ\www\cake\index.php
AppServ\www\acakesite\app\config\
AppServ\www\acakesite\app\controllers\
AppServ\www\acakesite\app\models\
AppServ\www\
Hey Geoff,
Thanks very much for the replies. Think I have it all straightened out in my
head now.
Cheers,
Sonic
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to
What I am trying to do is pretty simple, at least in theory. I have a
bunch of product pages, and to add a product to your shopping cart,
you must select a color for the product and a quantity. Then, when you
hit 'add to cart', the form submits the data, and then updates a mini
cart in the sidebar
the Auth component is not moving anymore
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
I have two tables - Lettings and Areas - each row in Lettings needs to
associate with an Area. Simple enough - each will be assigned
manually.
The problem is that the rows in Lettings will come and go over time,
so to avoid having to redefine the relationship I need to make a join
table that will
well, you dont need a host running cakePHP you simply need a host who
is running php (and some sort of database if you want to use it)
as an option, if he also runs mod_rewrite your address bar looks
better :)
regards,
mike
On Aug 10, 4:24 pm, tuiBR <[EMAIL PROTECTED]> wrote:
> Please,
>
> some
Oke.. Thx Before.
Im Study now.. if i have the problems, i will ask again.. :)
On Aug 10, 9:39 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 8/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > > Start here:
>
> > >http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html
Hey, thanks for the link :) but I'm not using 1.2 :(
The project I'm evolved with uses 1.1, hence my use of query in the
1st place.
What do you mean a POST action? using php or is it a cake 1.2 function
HttpSocket::post?
Is there a way to show my dates and send them back to the controller
usin
Thank you . Now it works fine !!
On 8/9/07, Grant Cox <[EMAIL PROTECTED]> wrote:
>
>
> You should use recursive = 2 (0 = just the subcategory, 1 = the
> category associaton, 2 = the category's language association).
>
> You will want to access the language in your view through:
> echo $fi
Have you added :
var $cacheAction = array(
'Your action/view URL' => secondsofcache
);
in your controller ?
for example :
var $cacheAction = array(
'cat/' => 21600
);
Regards,
Feris
On 8/10/07, Kimble <[EMAIL PROTECTED]> wrote:
>
> Im so frustrated!
>
> I have a lo
On 8/10/07, Unite <[EMAIL PROTECTED]> wrote:
>
>
> I know this isnt really a CakePHP problem but I need help in my logic
> mathematically and since most of you reading this are Maths geniuses
> heres the question.
>
> I have a array and want to make each set have the highest value in the
> set. (se
UhTry [1]
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
[1] http://google.com
On 8/10/07, Unite <[EMAIL PROTECTED]> wrote:
>
> I know this isnt really a CakePHP problem but I need help in my logic
> mathematically and since most of you reading this are Maths genius
On 8/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> >
> > Start here:
> >
> > http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html
> >
> > Part 2 of the tutorial covers what you are looking for.
> >
>
> sory, i must register first for get the tutorial ?
I guess IBM wants p
>
> Start here:
>
> http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html
>
> Part 2 of the tutorial covers what you are looking for.
>
sory, i must register first for get the tutorial ?
--~--~-~--~~~---~--~~
You received this message because you are
Hmm - no suggestions? Or maybe I should have chosen a different title
for this thread...
I realised that the problem is exacerbated when you use forms to add/
change data - the html helper doesn't seem to support strings like
'Merchant/0/id', and 'Merchant/id' is of course ambiguous - does it
ref
Please,
somebody knows webserver free that run cakephp ?
tranks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe fro
On 8/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> i want call from database, so, what i must do for get that..
> what script in model, controller and view..
>
> please i nead help..
Start here:
http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html
Part 2 of the tutorial c
I think GForge (http://gforge.org/) is used.
--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegrou
Halo im so confuise, for use it..
im very beginer cakePHP, i need help from u are in here..
before, sory if my english so bad...
i have problem, like this..
option1
option2
option3
i want call from database, so, what i must do for get that..
what script in model, controller and view..
please
You probably got something wrong in your view ... To include a css
stylesheet you have to use:
echo $html->css('nameofcss');
where nameofcss doesn't need the .css or needs to start with a slash,
if it does start with a slash you end up with two slashes at the start
of the link and offcourse that
I'm currently in the process of developing a website for a client who
wants to use phpBB style code tags in his newspost to add some bold
and italic stuff ...
The problem is that when I try to save a newspost to the database, it
saves everything but the string just stops at the
--~--~-~
I know this isnt really a CakePHP problem but I need help in my logic
mathematically and since most of you reading this are Maths geniuses
heres the question.
I have a array and want to make each set have the highest value in the
set. (sets are seperated by 0's)
Array
(
[0] => 0
[1] => 57
Sorry if is it a little off-topic, but does anyone know what software
is running in cakeforge.org?
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake
Im so frustrated!
I have a lot of complex views using > 100 queries. I can't publish the
site before I can get the
view caching stuff working. All configurations are set, tmp directory
is writeable, but nothing
gets cached! What can I be doing wrong?
--~--~-~--~~~---
Nope size is not an issue here :)
Geoff
On 8/10/07, phpjoy <[EMAIL PROTECTED]> wrote:
>
>
> so it's size doesn't matter.. means each install i can put a random 10
> letters number, sha256 it and wrap it up?
>
>
> On Aug 10, 8:23 am, Geoff Ford <[EMAIL PROTECTED]> wrote:
> > It is a random string
On 8/10/07, phpjoy <[EMAIL PROTECTED]> wrote:
>
> everything.
> i tried:
> $this->Auth->authorize = '*';
This is not a valid option
> and:
> $this->Auth->authorize = 'controller';
>
Ummm this typically goes in your app_controller beforeFilter -
there are several ways you can use the auth co
everything.
i tried:
$this->Auth->authorize = '*';
and:
$this->Auth->authorize = 'controller';
both in the users controller and in the "production controller".
On Aug 10, 7:18 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 8/10/07, phpjoy <[EMAIL PROTECTED]> wrote:
>
> > $this->Auth->us
Hello guys...
Today I tried to use cake, on pair.com
I make one model and controller with a simple view..
but i get some error with css and link
With firebug i noticed, in css link there are 2 '/', something like
this
-> //cake/css/cake.forms.css
If i removed a / I get css style!
How can i
Hi konraddo
It's bad form posting the same question twice. I expect that will upset
a few people.
The answer to this question however is almost certainly in the group's
history already. I remember it being discussed at least once and I
believe that mod_rewrite is involved in the answer.
Se
Hello
I don't know how can i do url's in my multilingual site like:
mywebsite.com/en/controller_name/action_name/param
mywebsite.com/de/controller_name/action_name/param
if anyone has an idea please help me
Thanks In Advance
--~--~-~--~~~---~--~~
You received t
bake2 has been replaced by the new console infrastructure you can find
in cake/console
--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to thi
Hello
I don't know how can i do url's in my multilingual site like:
mywebsite.com/eng/controller_name/action_name/param
mywebsite.com/de/controller_name/action_name/param
if anyone have an idea, please help me
cakephp ver. 1.2.0.5427alpha
--~--~-~--~~~---~--~~
Hi all,
is there any documentation on how you can use the actsAs tree behavior?
I'm wondering how you can use this to get e.g. the children of an
item, the path to the item and so on.
Regards,
pieter
--
pieter claerhout . [EMAIL PROTECTED] . http://www.yellowduck.be/
--~--~-~--~---
Do a POST to the action when the users clicks submit in the form or
do this with ajax if you don't want the whole page to be refreshed
Also why are you using query ? its only for sql that can't be handled
by cake and your's looks pretty basic. Generally you're doing a search
box.
http://wiki.kab
so it's size doesn't matter.. means each install i can put a random 10
letters number, sha256 it and wrap it up?
On Aug 10, 8:23 am, Geoff Ford <[EMAIL PROTECTED]> wrote:
> It is a random string that should be (near enough to) unique for your
> application. It is used to salt hashes, seed rnd()
Rahul offered the following solutions, but these didn't work either -
does anyone have any other suggestions?
$conditions['AND']['Target.month'] = "BETWEEN \'$startMonth\' and
\'$endMonth\'";
This lead to the following sql, which didn't work
SELECT `Target`.`id`, `Target`.`month`, `Target`.`in
49 matches
Mail list logo