I am using Cake 1.2. .
I put $this->findQueryType as debug output at the begin of the the afterFind
method and it showed me only "null" before I did anything in the method.
Anja
Am Montag, 22. August 2011, um 16:59:09 schrieb Teddy Zeenny:
> As Thomas said, $this->findQueryType should definite
Hello everybody,
I try to use a containable search in a CakePHP legacy project using Cake
1.2. I have often uses containable, but never togeterh with aliases. So
no idea if that might be the poblem ore something else.
The model relations are as follows:
Group__
hasMany Members alias
Hi Labe,
if you have the default cake configuration you might not have to adapt anything
with the .htaccess file. But some ftp clients don't transfer the hidden files.
So check if they are on your server.
Anja
Am Montag, 25. April 2011, um 05:20:16 schrieb Labe Einhorn:
> Thanks for respondin
Hi Labe,
set in the file /config/core.php the debug value to at least 1 better 3, so you
might get some output.
Are you sure the path to your cake folder is set correctly? It might be that
you have to use an absolute path here.
Please check if you copied all .htaccess files when moving them to
kubuntu 10.4
Eclipse PDT
Apache/MySql
Anja
Am Mittwoch, 30. März 2011, um 21:49:47 schrieb Chris:
> How do you develop for CakePHP? OS, Editor, control system, etc.?
> Ubuntu 10.10
> Geany
> GIT
> Apache/MySql
> Bunch of Shell scripts
--
Our newest site for the community: CakePHP Video Tutoria
Hi Milos,
can you post the validation rules for this checkboxes and radio buttons?
Anja
Am Sonntag, 24. April 2011, um 10:41:55 schrieb Miloš Vučinić:
> Hi,
>
> I have a form which has many select boxes as well as many radio
> groups. The problem I'm having is that when I validate the data
Ho Domink,
maybe this link can help you:
http://stackoverflow.com/questions/1694047/cakephp-pagination-with-conditions-
on-has-many
On the first glance it looks like somebody has the same problem.
Anja
Am Samstag, 23. April 2011, um 23:47:26 schrieb Dominik Gajewski:
> Hi.
> I have problem wi
Hello,
I try to setup a multilanguge site with CakePHP and followed this tutorial.
http://nuts-and-bolts-of-cakephp.com/2008/11/28/cakephp-url-based-language-
switching-for-i18n-and-l10n-internationalization-and-localization/
I use Cake 1.3 and it doesn't work. I guess it might crash with other
Hello,
I am looking for a way to have SEO urls.
At the moment my urls look like this:
http://www.zigarrenlounge.eu/addresses/view/99
I would like to have something like this
http://www.zigarrenlounge.eu/addresses/view/restaurnt-elisenbrunnen
so instead of the id I would have the display name (m
Why do you need this version2?
I think it isn't possible what you ask, but if you explain a bit more
detailed, what you want to achieve, there might be another solution.
Who should see version2 in which case?
Anja
Am Dienstag, 1. März 2011, um 10:01:35 schrieb K3:
> Hi,
>
> if i add another
:
> Thanks a lot,
>
> I tryed this video tutorial
> http://tv.cakephp.org/video/jasonwydro/2011/01/29/cakephp_1_3_auth_authenti
> cation_component_tutorial_-_administrator_login This System runs also under
> 1.3.7. But the login doesn't work
>
> On 26 Feb., 20:08
Hi Marcus,
you have no password automatically set. Cake is a framework an not an WCMS.
You can code a user authenitication and autheticated users can be allowed to
use the admin methods, but when you start you have no values, no passwords, no
login.
Have a look here:
http://www.webdevelopment2
r any hints!
Anja
Am Samstag, 26. Februar 2011, um 00:19:31 schrieb Ryan Schmidt:
> On Feb 25, 2011, at 07:06, acl68 wrote:
> > Also: does anybody know what happened to the link in "4.7.6.3 Pitfalls"
> > http://book.cakephp.org/#!/view/1213/Pitfalls in the cookbook? The Link
Hi Sandwich,
I did something simliar like you want to do with the checkboxes with a drop-
down list. I didn't use the searchable-behaviour-for-cakephp but used AJAX
instead.
On top of my search from ctp I includ a JavaScript file:
In my search form I have my dropdown:
echo $this->Form->input('
Hi everybody,
I am using Cake 1.3. and am just doing my first steps with testing ever.
I had a look at
http://book.cakephp.org/#!/view/1210/Testing-controllers
and worked through Marks Tutorial
http://mark-story.com/posts/view/testing-cakephp-controllers-the-hard-way
Since I am completely new
Hi Panupat,
with some of your questions I can help you, siee below.
Am Dienstag, 15. Februar 2011, um 07:51:09 schrieb Panupat:
>
> - Authenticate against Windows Active Directory.
>
> When log in, I will use php-ldap to do simple bind. Upon success, user
> ldap search to get memberOf attribu
Thanks in advance for any help
Anja
Am Sonntag, 13. Februar 2011, um 22:03:14 schrieb Adam Harness:
> I am moving a cake built website to another server. All pages in the
> cake app directory are not found when attempting to open in the
> browser.
>
> Any insight would be helpful and greatly a
Hi hill,
which encoding do you use? I suggest utf8 and you are done!
have a look in your default ctp: Do you use
header("Content-Type: text/html; charset=utf-8");
Anja
Am Donnerstag, 3. Februar 2011, um 17:31:59 schrieb hill180:
> In the CSS is have:
> th a.asc:after {
> content: ' ⇣
Hi Goluhaque,
Login can be a bit complicated. Do you user the authetication component? Which
version of cake do you use?
have you already checked out this pages?
http://tv.cakephp.org/video/jasonwydro/2011/01/29/cakephp_1_3_auth_authentication_component_tutorial_-
_administrator_login
http://w
Hello,
I write an address organization program for my SO and myself. So I have a lot
of adresses which belong to at least one user.
I have problem prorgamming the search, when the user is the search criteria.
Very simple: I have a HABTM connection between users and adresses. When I use
'find'
Hi Salines,
be sure to set up you application so to get the full benefit from caching. Use
fat models and cache elements where possible.
http://gluei.com/blog/view/cakephp-best-practices-fat-models-and-skinny-
controllers
http://book.cakephp.org/view/1083/Caching-Elements
Anja
Am Mittwoch, 2.
Hi Nikola,
as euromark said: the folder name should be deu not ger. Just made the same
mistake some days ago. ;c)
Anja
Am Mittwoch, 2. Februar 2011, um 00:52:55 schrieb Salines:
> Do you have other files in the app/locale/ger/LC_MESSAGES/ ??
>
> On 1 velj, 01:21, andrewperk wrote:
> > Hello,
Hello,
I write an address organization program for my SO and myself. So I have a lot
of adresses which belong to at least one user.
Very simple: I have a HABTM connection between users and adresses. When I use
'find' it works as it should, but I have problems when using the 'paginate'
function
Hi folks,
i do an import from xml-data and have finally succsefully extracted my
data. So now I want to save its with saveAll and nothing arrives in my
database (Mysql innodb)
This ist what I do:
model validation rules:
var $validate = array(
'hotel_id' => array(
cricket-5 wrote:
>
>
> Ensure you have the following in php.ini:
>
> error_reporting = E_ALL
> display_errors = On
>
> Also, are you certain that the ww vhost doesn't have its own log?
>
> Also, try putting the following at top of webroot/index.php
>
> die('well, it works this far');
>
>
Hi all,
I developed an application with CakePHP 1.3 on a windows XP machine
and it works well. Then I transfered it via 2x ftp to my ubuntu 9.10
machine at home, where a 1.2 application is running flawless. When I
enter my application folder I only see a blank page, no errors in the
application e
Hello everybody,
I am using cake 1.2 and look for the proper cake syntax to give me this html
result in my view:
Heino
Michael Jackson
Tom Waits
Nina Hagen
Marianne Rosenberg
I tried quite a lot of variations already, but nothing gives me a multiple
sele
My problem was a caching problem as it seems:
What works ( at the moment at least *g*)
$attributes = array('size'=>3,'multiple'=> true);
echo $form->select('foo.faa',$farray,null,$attributes,true);
--
View this message in context:
http://www.nabble.com/%24form-%3Eselect-for-multiple-selection
Hello everybody,
when I started with cake some months ago Cake 1.2 was (like it is
still now) an unstable pie ( black forest cream cake in the sun? *g*).
So I started with version 1.1.19, but I don't use any deprecated
functions.
Do I have to expect trouble If I migrate to 1.2?
I am asking, beca
Hello,
I program a contract management software, where the contracts can be
uploaded as pdf and later be viewd as a download.
Since not everybody should be able to see every contract I don't want
to store the pdfs in the files directory of the webroot, but in
another directory not directly acces
Thanks Nelson for the hint.
Although I need the data transfer to go the other way round maybe
this will also be a source for inspiration.
Anja
On 18 Apr., 23:28, Nelson Cysneros <[EMAIL PROTECTED]> wrote:
> have you looked at this thread?
>
> getting cake DB session to an external application
Hello,
I already did that. So finally I'm not getting the error messages
about sessions already started, etc. anymore.
I can read the user name now from the session but not the other
information stored in the non-cake-session-object.
What I did now is not very elegant, but better than nothing:
Hello everybody,
I was programming an application with Cake and all was well ;-)
Then my colleague and I had the idea to share the login procedure with
the applications he is maintining, so that the login in his
application and the information should be passed on to my cake
application -> Single
33 matches
Mail list logo