Any insight everyone?
--~--~-~--~~~---~--~~
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
was told that on reading of cache data cake will delete the cache
data if it is expired but If the expired data /cache files do not get
read, how are they going to be deleted?
Thanks
zonium
--~--~-~--~~~---~--~~
You received this message because you are subscribed
prams
from Stored procedures.
Thank you,
zonium
--~--~-~--~~~---~--~~
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
Have you you read this:
http://bakery.cakephp.org/articles/view/cakephp-on-iis6-with-fastcgi-sql-server-2005-and-isapi_rewrite
I am guessing you are using IIS6 and you missed one step where you
have to run Helicon Manager.exe to 'import' the content of .htacess
(if you are using IIS 6)
After
I run into the same problem as tobi_one described. Can some one
provide a solution to the problem? How to get rid of LocationsVoucher
array.
Please help.
Zonium
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
$prefix, it will be used for all tables, we
cannot different prefixs for different tables.
Any insight is appreciated.
Zonium
On Jun 24, 8:56 am, brian bally.z...@gmail.com wrote:
On Tue, Jun 23, 2009 at 11:25 PM, zoniumzon...@gmail.com wrote:
We are forced to follow some naming conventions
We are forced to follow some naming conventions for our tables (some
prefix needs to be added to the table names). I am going to use ACL
component, but I wonder if I can use different names for aros, acos
and acos_aros tables (e.g adding a prefix)?
Thanks,
Zonium
- Hard / impossible to organize large applications into smaller /
manageable pieces.
When you have 50 controllers or more in one folder you'll hate
cakephp because it's difficult to locate things. (same problem with
models and views) .
I would like to organize the Model/Views/Controller
- Hard / impossible to organize a large application into smaller /
manageable pieces.
When you have 50 controllers or more in one folder you'll hate
cakephp because it's difficult to locate things. (same problem with
models and views) .
I would like to organize the Model/Views/Controller
@Hannibal Lecter: I do use classPaths. Sometimes to achieve proximity
of related MVC files for a feature of my application I have to create
an 'app' for each feature; each of these apps has a complete cake
application structure including config, tmp, app_controllers etc.
(beside the regular,
Thank you jmcneese for showing me an alternative to the cake's ACL.
Your articles help me understand weaknesses of ACL when used to
safeguard records. It's was interesting to see immediate attentions/
reactions from the core developers on those articles as well.
One problem (in my case) with the
() ?
Any suggestion is appreciated ( and welcome comments from aranworld,
lemoncake, mark_story, francky06l and AD7six - Many thanks to each
of you for excellent tutorials on ACL)
Zonium
--~--~-~--~~~---~--~~
You received this message because you are subscribed
()
On Thu, Mar 26, 2009 at 3:31 PM, zonium zon...@gmail.com wrote:
I call requestAction('another_controller/myAction') at different
places from a controller. What myAction() does is run a SQL query to
get some data from DB.
I notice that the SQL query in myAction() gets executed only
I call requestAction('another_controller/myAction') at different
places from a controller. What myAction() does is run a SQL query to
get some data from DB.
I notice that the SQL query in myAction() gets executed only the first
time the requestAction('another_controller/myAction') is called. For
it be in core.php after the line where we specify Configure::write
('debug', 2);
or in bootstrap.php?
Thanks,
Zonium
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email
this migration path.
Any link to a similar attempt or any suggestion is appreciated.
Zonium.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php
Fantastic, a very positive ending!
This was what I wished but didn't expect it would happen.
Thanks to villas for creating this thread and thanks to the core team
for listening.
@Daniel : blog more! :)
zonium
On Jun 8, 2:37 pm, villas [EMAIL PROTECTED] wrote:
Thanks Cake Team for reviewing
for 2 entities. How can you tell
cake to handle a relationship of more than 2 entities (i.e. the join
table has 3 or more foreign keys)?
Zonium
On 30 Tháng Tư, 15:23, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
The only real downsides I can see other than complicated code is that
join tables
Did you turn on debug?
Look at the SQL statements to see what cake is trying to do and you'll
figure out where the issue is.
zonium
On Apr 6, 1:10 pm, crazyDavid [EMAIL PROTECTED] wrote:
sry about the version. it is 1.2
i am using only one model and i finally am able to run the script
pertaining
to the stage are invoked.
stage1_index()
stage2_index()
Same naming convention for view.
Just a quick thought
Zonium
On Apr 3, 12:15 pm, John R [EMAIL PROTECTED] wrote:
My application is a series of contests with different stages
(submission, voting, awards, etc.)
For each stage
This 'issue' was discussed long ago:
http://groups.google.com/group/cake-php/browse_thread/thread/acb76273176c3e21/d660547d266f8c7c?lnk=gstq=habtm+insert+delete#d660547d266f8c7c
Basically, when some new entries are added (saved) to the jointable,
cake attempts to
DELETE FROM `jointable` WHERE
workaround ?
On Dec 18, 8:33 am, the_woodsman [EMAIL PROTECTED] wrote:
Off the top of my head,
I seem to remember someone implemented a behaviour to handle this?
Maybe Im going crazy.
Check the Bakery
On Dec 18, 9:12 am, zonium [EMAIL PROTECTED] wrote:
This 'issue' was discussed long
for testing
out this case.
Good luck,
Zonium
On Dec 12, 9:59 pm, Santa [EMAIL PROTECTED] wrote:
AD7six said:
OR consider scaffolding what it is (a development tool), bake/write
some code and add the conditions to the generateList call as you would
need to do for any polymorphic model
Some info on how 'with' is used can be found here:
http://www.cakephp.org/files/OCPHP.pdf
Note:
- using 'with' is optional,
- scaffold controller methods and views built with bake wont take care
of extra fields
On Dec 12, 3:43 pm, Mr-Yellow [EMAIL PROTECTED] wrote:
Went looking for the code I
seems ... too restrict. In fact, to avoid the unwanted side effects
associated with 'high', 'medium' is usually used as a 'solution'. So
the value of 'high' is kind of diminished / less practical and your
case is a very good example.
Zonium
On Dec 13, 1:13 am, ProFire [EMAIL PROTECTED] wrote
seems ... too restrict. In fact, to avoid unwanted side effects
associated with 'high', 'medium' is usually used as a *solution*. So
the value of 'high' some how diminishes / is less practical; and your
case is a good example.
Zonium
On Dec 13, 1:13 am, Krovosos [EMAIL PROTECTED] wrote:
What I've
seems ... too strict. In fact, to avoid unwanted side effects
associated with 'high', 'medium' is usually used as a *solution*. So
the value of 'high' some how diminishes / is less practical; and your
case is a good example.
Zonium
On Dec 13, 1:13 am, ProFire [EMAIL PROTECTED] wrote:
Alright
One thing you can check:
The location where session is saved. If 2 pages are from 2 different
applications and if they share session the paths (locations) need to
be identical
Good luck,
Zonium
On Dec 13, 1:35 pm, francky06l [EMAIL PROTECTED] wrote:
If it's works under development
Paolo,
This has been discussed here:
http://groups.google.com/group/cake-php/browse_thread/thread/8e5f487a944abeaf/e284ffdecdab0c69?lnk=gstq=+cakephp+structure#e284ffdecdab0c69
A note :
- if you use $Dispatcher-dispatch($action) you need to use output
buffering
On Dec 13, 8:29 am, Paolo
Look closely..., these are not errors, just notices.
Some variables have not been properly set for views.
Check your the controller logic.
Zonium
On Dec 13, 5:52 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I'm trying to implement the excel output helper from this
article:http
@Grant Cox
I agree with you.
However, I find myself putting a lot of code into controllers. In many
cases my models are quite thin while controllers are rather thick.
One reason my controllers become thick is that it's easy for me to
test out new methods while developing them. Just access them
?php __('Add');? ?php __('Letter');?/
legend
?php
echo $form-input('opening_id');
echo $form-input('middle_id');
echo $form-input('ending_id');
?
/fieldset
?php echo $form-end('Submit');?
/div
...
?
Good luck
Zonium
P/S: I like
I am guessing there might be some other causes:
- The user agent changed between calls (less likely in your case,
though)
- When first ajax call came, cake regenerated session_id (if security
level set to high) The second ajax request might have taken place when
session info had been moved to a
'letter_contents' into 3.
2) If you prefer the existing table design, you might need to run bake
again to re-create the controller (select option that creates 'add',
edit, view, delete functions). Then in the 'edit' functions, provide
condition parameter for generateList().
Zonium
On Dec 8, 6:46 pm, Santa
Try this little trick:
Rename the 'category' field in 'categories' table to 'name'
Good luck.
Zonium
On Dec 9, 10:55 am, drcyc [EMAIL PROTECTED] wrote:
I have two tables setup to use a HABTM relationship:
blogs
- id
- created
- modified
- title
- entry
blogs_categories
- blog_id
-somefunction() anywhere
you can omit
Project HasAndBelongsToMany User, in other words, it's not
required.
Zonium
On Dec 7, 2:03 pm, powtac [EMAIL PROTECTED] wrote:
Hi zonium,
a general question: in't it required to set up both directions? This
is something I never understood!
Simon
On 7 Dez., 22
Did you try turning on debug mode and see how the SQL statement looks
like? Try running the sql statement manually and you should be able to
track where the problem is.
Zonium
On Dec 7, 5:30 pm, sanderken [EMAIL PROTECTED] wrote:
People looking for the answer to defining limit row in oracle
-somefunction() anywhere
you can omit Project HasAndBelongsToMany User. In other words, it's
not
required.
Zonium
On Dec 7, 2:03 pm, powtac [EMAIL PROTECTED] wrote:
Hi zonium,
a general question: in't it required to set up both directions? This
is something I never understood!
Simon
On 7 Dez
I think your diagram is correct academically.
For implementation using cake, I usually just need to specify one of
the 2 associations:
User HasAndBelongsToMany Projects
or
Projects HasAndBelongsToMany Users
Because any one of these already represents the linkage between the 2
model (User and
',
),
);
in the controller, try:
$this-Customer-findAll(array(id='123456'))
and you will see the default address followed by an array of addresses
(including the default address as well !)
Zonium
On Nov 28, 3:55 pm, J.B. [EMAIL PROTECTED] wrote:
This can be done by adding another
Rohit,
See if my 'todo list' on cakebaker's blog helps you to deal with your
problem when running application the first time.
http://cakebaker.42dh.com/2007/11/14/class-configure-not-found-with-development-setup/
Good luck.
Zonium
On Nov 28, 4:38 pm, Rohit [EMAIL PROTECTED] wrote:
Hi,
I am
,
On Nov 19, 8:42 pm, Grant Cox [EMAIL PROTECTED] wrote:
Put both conditions in the 'or' key:
$datetime = date(Y-m-d H:i:s);
$count =$this-PromoCode-findCount(array(OR=array(PromoCode.start_date
= $datetime,
'PromoCode.active'='1')));
On Nov 20, 11:49 am, zonium [EMAIL PROTECTED] wrote
` WHERE
(((`PromoCode`.`start_date` '2007-11-20 09:11:23') AND
(`PromoCode`.`promo_code` = 'freemug')) OR (`PromoCode`.`active`
1))
But ... Too complicated a statement for a simple query. Don't you
think?
Thanks!
On Nov 20, 8:55 am, zonium [EMAIL PROTECTED] wrote:
In fact, my select statement
I have these statements:
$datetime = date(Y-m-d H:i:s);
$count =$this-PromoCode-findCount(array(PromoCode.start_date =
$datetime, OR=array('PromoCode.active'='1')));
With debug enabled I saw cake tried to create this query:
SELECT COUNT(*) AS `count` FROM `promo_codes` AS `PromoCode` WHERE
I've used $components = array ('ComponentA, ComponentB, ComponentC,
ComponentD, ComponentE, ComponentF') to tell the controller that I
need the ComponentA, B, C, D, E and F.
Now I want to move these components into a folder named ABCDE (inside
the standard 'components' folder) because these
Thanks for reminding me about using the 'vendors'.
Zonium
On Sep 23, 9:44 pm, Geoff Ford [EMAIL PROTECTED] wrote:
This all depends on the other application. The basic premise is the
same - just include the file you need and if the other app has a whole
hierachy of includes etc you need
Geoff, thanks for reminding me about using the 'vendors'.
Zonium
On Sep 23, 9:44 pm, Geoff Ford [EMAIL PROTECTED] wrote:
This all depends on the other application. The basic premise is the
same - just include the file you need and if the other app has a whole
hierachy of includes etc you
suggestion how I can get through this? (restriction: converting
appB to use cake is not an available option)
Thanks a lot,
Zonium
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group
?
Thanks again,
Zonium
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED
49 matches
Mail list logo