thanks for the reply, I will look into both of these for my project
On Jan 26, 5:47 pm, Sam Sherlock wrote:
> Jose Diaz-Gonzalez has some code on github that may help here
> you'll have to adjust/play
>
> a domain redirect comp - set up a model
> domain_prefixeshttps://gist.github.com/1498851
>
This is a Cake 2 project. Also posted issue here:
http://bin.cakephp.org/view/285982918
Post belongsTo User
User hasMany AvatarSet (alias of Asset with model=>User,
name=avatar, polymorphic)
Comment belongsTo User
User hasMany AvatarSet (alias of Asset with model=>User,
name=ava
also use the provided upgrade shell to let cake handle it as much as
possible
It will not take care of everything, though
read the upgrade guide carefully so that you don't forget anything.
I also added twice as much "replacements" in my version of it:
https://github.com/dereuromark/upgrade
for th
well, i'm sure that PHP will return some errors on screen, just follow them
and correct it :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/1/27 CakePHP
> thanks for reply.for example you can say me which code i will must
> chenge?
>
> --
> Our newest site for the community: CakePHP Vid
Hi,
For some reason Session Flash is working absurdly on deployment on
server, though working right on local server.
The flash is not displaying most of the times. However if I put $this-
>Session->read() in controller, then the Session Flash works perfectly
right.
I am using CakePHP 2.0.5 and a
thanks for reply.for example you can say me which code i will must
chenge?
--
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
you can directly to 2.0 but you will have to change more inside code :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/1/27 CakePHP
> Hi,i use cakephp versinon 1.2 beta.can i uprgate it to cakephp version
> 2 without version 1.3?or firstly i must uprgate to 1.3?
>
> --
> Our newest site
Hi,
I'm don't know the background of this task so the users habtm jobs looks a
bit strange to me but if you want to keep the position concept then you can
create a model for this.
Table positions with fileds id, user_id, job_id and give habtm relationship
to deliverynotes.
Best regards,
Kaupo
Hi,i use cakephp versinon 1.2 beta.can i uprgate it to cakephp version
2 without version 1.3?or firstly i must uprgate to 1.3?
--
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
wit
Hi,
i didnt get this thing working.
i have the following tables:
users
jobs
and the jointable jobs_users. The jointable combines jobs with users.
everything is ok, that works fine. Now i want to have delivery notes
with several delivery notes positions. Each positions can have one or
more worke
I'm using a basic model following Cake PHP conventions. The model is
using a view instead of a table in the database, which always worked
in Cake 1.3, but since I upgraded to 2.0 I get "Error: Database table
cameras for model Camera was not found." That's the right model and
that view exists in the
Works like a charm for mssql fetching data :)
Howver your readme has to be updated a little bit:
class DATABASE_CONFIG {
public $gramdb = array(
'datasource' => 'Datasources.Database/Mssql',
^^
and also you have to put
CakePlugin::load('Datasources');
in bootstrap.php
Works like a charm for mssql :) (at least for fetching data - which is
my case)
However you readme has to be changed a bit:
class DATABASE_CONFIG {
public $mydb = array(
'datasource' => 'Datasources.Database/Mssql',
^^
);
}
and also you have to add
CakePlugin::load('Da
hi,
i am thinking that i misunderstood the cake conventions. i created a
database with about 40 tables. every time i try to use cake bake all i
get the error message, that some tables are missing.
For example
Table users (FK here is user_group_id)
Table user_groups
cake bake all tell me that tab
When I say remake all I mean is mv Mvc into a freshly baked project.
- S
On 27 Jan 2012 11:08, "Eric" wrote:
> Scratch that, the bug is still present. =(
>
> Sam: "if you remake foo and/or bar I think the issue maybe resolved
> even if you don't find the cause to the spookiness"
>
> Re-make in w
yes, it is.
the format behind the hood (model level) should always be unified and
not dependent on the locale settings of the current user/language/
country etc
therefore the format there will always be -MM-DD.
how you display the date in the form is your locale choice and is not
affected by a
Scratch that, the bug is still present. =(
Sam: "if you remake foo and/or bar I think the issue maybe resolved
even if you don't find the cause to the spookiness"
Re-make in what way? The cake lib is upgraded to 2.0.5, so that's
replaced. I can't re-bake the files in my app folder since they are
Thanks!
Sadly, there is no such call on line 547 (2.0.5), but there are three
calls to it on other lines. I chucked in $plugin on the two lines
missing it (521, 539), and it hasn't exploded yet.
I assume this is a known/reported bug that will be fixed in upcoming
versions?
For the record, I clea
> On Jan 26, 2:38 pm, stig wrote:
>
> > In the 2.0 manual. Caused some
> > headache.http://book.cakephp.org/2.0/en/models/data-validation.html
> > -> Validation::datetime says to specify datetime format as
> > array('datetime', 'dmy'), when really it's supposed to be
> > array('datetime' => 'dmy
19 matches
Mail list logo