components のタグが付けられた質問

1 回答数

4 投票数

質問者: powtac, on 26/11/09, in コンポーネント

How can I use components in a shell

How should I include and call components in a shell?

3 回答数

0 投票数

質問者: lagrz, on 30/11/09, in コンポーネント

Parse Raw E-Mail

Hey guys the webserver in my host forwards incoming e-mails to a php script that I wrote which just reroutes it in the form of a post request.

I need a way to parse this raw EMAIL on the PHP file that receives this post request, and basically...

1 回答数

0 投票数

質問者: odin88, on 9/12/09, in コンポーネント

using model in components

I'm using CakePHP 1.1

Im trying to save data in a table but i got this error

Notice: Undefined property: AttendanceComponent::$AttendanceCache in C:\wamp\www\mpk\app\plugins\attendance\controllers\components\attendance.php on line 368

Fatal error:...

2 回答数

0 投票数

質問者: Max, on 16/12/09, in モデル

including models in a stand alone class

I'm new to cakePHP and MVC so please bare with me. I want to create a class that can access the models but I don't know how. I tried a few things but it looks like the only way of loading one into a class is with $this-loadModel('modelname'); But...

1 回答数

0 投票数

質問者: buh, on 26/12/09, in コンポーネント

Using Auth with legacy database

Hi,

I'm fighting with simple Auth autentication using legacy DB with non-CakePHP schema.

In table tb_mc: I have 2 columns for authentication:

id (number) as name

admin_pass (MySQL PASSWORD hash) as password

In my contoller I create custom...

3 回答数

0 投票数

質問者: otisjs01, on 4/1/10, in コンポーネント

How do I use the email component?

Hello,

I am new to CakePHP and trying desperately to learn!

My most recent struggle is with the Email Component.

I have a contract. When I create the contract, I add a user. When I save the new contract...for the first time, I want to send an email...

0 回答数

0 投票数

質問者: otisjs01, on 8/1/10, in モデル

Email Component Troubles...

I recently posted a question about the CakePHP email component, and, with the help of some of the answers and comments, was able to resolve my problem...

The thing is, solving my email problem revealed another problem!

So, here's my problem:

I have...

0 回答数

0 投票数

質問者: chadsmith729, on 20/2/10, in コンポーネント

Approvals taking forever

Hey everyone,

Has anyone else noticed that approvals are taking forever? I submitted my changes to two components over a week ago and it's still not approved (either one). What's the hold up? It used to be 24 hours and it would be approved.

Is...

1 回答数

1 投票数

質問者: cvollmann, on 16/3/10, in コンポーネント

Refresh user data for Auth

Hi,

when I update data in the User model, the Auth data is not updated.

How can I "refresh" the data which is returned by $this->Auth->user()?

Thanks in advance.

Christoph

1 回答数

0 投票数

質問者: Yopii, on 21/3/10, in コンポーネント

Est-ce que quelqu'un connait ZipComponent ?

Bonjour,

je souhaiterai utiliser ZipComponent afin de zipper des fichiers...j'arrive à faire la sélection des fichiers mais mon problème est au niveau de la conception de l'archive...je ne sais pas comment faire pour écrire l'archive puis la...

1 回答数

0 投票数

質問者: naoise, on 25/3/10, in コンポーネント

SMTP Error: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)

Hello,

I've been doing some research but it seems there is not much about this error in CakePHP. And the code seems to be as perfect as it could be.

I am using Email Component to send an email using smtp. I Configure the SMTP as asked, but at some...

1 回答数

0 投票数

質問者: thomashermant, on 22/4/10, in コンポーネント

Problem for sending emails from my own domain

I use the Email component to send email.

It's work great for email from a different domain.

But when I have to send an email to an address with my own domain,

this email never sent.

What can I do?

Is it solvable in cakephp?

Or is it a configuration's...

1 回答数

0 投票数

質問者: alefal, on 20/5/10, in コンポーネント

Auth with authorize = controller

I'm working on cakephp 1.3, it seems Auth component doesn't call Controller::isAuthorized() function when I set Auth::authorize = 'controller', as described in the manual…

0 回答数

0 投票数

質問者: mwaterous, on 23/5/10, in コンポーネント

Using component methods inside views

Is this possible/probable?

I am still fairly new to CakePHP, but there would seem to be some redundancy occurring internally that makes me think it isn't. Take for example the sessions component; the sessions helper which is accessible from the...

0 回答数

0 投票数

質問者: davidp, on 2/6/10, in コンポーネント

Menu Component In Views

I've installed the ACL Menu Component and confirmed that it is building the menu cache for each user OK but I don't understand how I display the menu in a view. I'm using cakePHP 1.3

1 回答数

0 投票数

質問者: bartje545, on 6/6/10, in コントローラ

Can´t include helpers and components in app_controller

Hello,

When I put the following in my app_controller:


    var $components = array('Auth', 'Session');

I get no errors, and I can use the components.

But when I put the following:


    var $components = array('Auth', 'Session');
    var $helpers =...

0 回答数

0 投票数

質問者: Elhelaly, on 15/6/10, in コンポーネント

Can I use ACL when user and groups relation is HABTM (many to many) ?

Can I use ACL when user and groups relation is HABTM (many to many) ?

I searched on this problem but it seems that all the ways go far the ACL component and I like this component and I want use it

2 回答数

0 投票数

質問者: igiandclyde, on 18/6/10, in コンポーネント

How to automatically create AROs in CakePHP?

Hi!

In the cookbook there's an automated tool for creating ACOs. I'm wondering if there's an automated tool for creating AROs.

I got a lot of users and I want them and their groups in the aro table. How do I do it?

Thanks in advance!

1 回答数

0 投票数

質問者: cchen, on 29/6/10, in コンポーネント

how to read Session variables in different controllers?

This probably has a very simple answer, but I just started using CakePHP and can't figure it out. I have two controllers, users_controller and groups_controller. When I login with users_controllers, I save the username in a 'user' variable with...

1 回答数

0 投票数

質問者: Dankroad, on 6/7/10, in CakeQS

How to track user time spent logged in?

I want to be able to know how long a user was logged in to my site. The first part is straight forward because I know when a user logs in when the login() method is called automagically. But, the tough part is knowing when a user is logged out....

<< 前へ 1   2   3   4