Re: XML cannot be read [CORE/cake/libs/xml.php, line 883] ???

2009-11-27 Thread ros
Hi Dave, Recently I've resolved an issue in Ajax helper for CakePHP. I think this might be usefull for you. http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-9369 In short, add request.setRequestHeader( 'Content-type', 'text/plain'); before

Re: I18n table How to use ?

2009-08-17 Thread ros
This sample should help you http://www.palivoda.eu/2008/04/i18n-in-cakephp-12-database-content-translation/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: Benchmarking

2009-06-30 Thread ros
php profiler is your frind http://www.xdebug.org/docs/profiler hop this helps. ros On Jun 30, 3:22 pm, CMNAJS cmn...@gmail.com wrote: how can i perform benchmarking in cakephp. i had a library in codigniter to perform this but how should i do this in cakephp

Re: database content i18n

2008-04-21 Thread ros
Hi! Sorry, I was not notified about comments on this post. If you want to contact me drop a comment on the web site. Yes, my idea is to keep translations in the same table as additional fields, e.g we have a name property to be localizable, then we add name_eng, name_rus etc. fields to the

Errors while concurrent write blob data to resonce

2008-04-19 Thread ros
Hi! I do performance tests for CakePHP and controller action that read BLOB data from database table causes this error messages in the log. It happens only on concurrent invocation. I have three concurrent users and during test usually only one does not receives the data. If anyone knows why

Model alias for translation behavior

2008-04-11 Thread ros
Hi! I use translation behavior in CakePHP 1.2. The question is about how to set model alias in hasMany relation? Why I need it? I my case I have two models: Personal and Country. Personal uses Country by two associations - country_id and citizenship_id. Here is belongsTo part of personal.php:

large javascript file corrupted, v1.2

2008-03-05 Thread ros
Hi! Just started with CakePHP 1.2 and trying to make working the tree example: http://blogs.bigfish.tv/adam/examples/tut01-extjs-cakephp/employees/ Can not insert link to javascript file in to the default.ctp head section //ExtJS library echo