All Questions

RSS

0 answers

0 votes

Asked by poifox, 3 hours, 52 minutes ago in Models

Variables set but inaccessible?

Hello!

I'm using this code:


public function repack($id = null ){
    $this->Post->id = $id;
    /* before this, all usual checks are in pace: exists() etc... */
    $post = $this->Post->read(null,$id);
    debug($post);
    print_r($post);
   ...

0 answers

0 votes

Asked by MenOne, 7 hours, 11 minutes ago in Installation / Configuration

How to connect the class "Hash"?

He is in version 2.1?

I can not find...

http://book.cakephp.org/2.0/en/core-utility-libraries/hash.html

0 answers

0 votes

Asked by rahuldh, 7 hours, 15 minutes ago in Models

On my local server login works fine but on my server login fails.how to login?

hi..

I have built application which contains authentication function.

In that when i log in then it will redirects to index.ctp page and without login user can register.

It works very fine on my local server.

I am using 'gprotocol.com' as a server.So...

0 answers

0 votes

Asked by franky, 10 hours, 42 minutes ago in Models

Set DB-Config in Join?

Hey guys,

i was just wondering if its possible to set the db-Configuration in a join?

For example:

$joins = array(

array(

'table' = 'users',

'alias' = 'User',

'type' = 'inner',

'db' = 'dbConfig',

'conditions' = array(

'dbConfig.User.id =...

0 answers

0 votes

Asked by PierreLechelle, 1 day, 3 hours ago in Models

Attachable model

Hello,

I've a little question about CakePHP models and relationship between them.

I've a Note model, and I want it to be attachable with any model dynamically (with a behavior).

For example : I'm in the ContactsController, I want to get attached...

0 answers

0 votes

Asked by digdafunk, 1 day, 7 hours ago in Models

how can i connect to multiple databases via shell?

hey,

i have two models in different databases. if i use $useDbConfig in one model the other one is searched in the same db. i've tried to use the default connection for the "other" one but this doesn't work ... anybody knows how to make right in...

1 answer

0 votes

Asked by dokuman, 1 day, 14 hours ago in Models

Query

hello i have a query like this

select jawab, frekuensi, round(100*frekuensi/total,0) as persentase from

( select jawab, count(*) as frekuensi from (

select pertanyaan1 as jawab from quesionerstakeholders union all

select pertanyaan2 as jawab from...

0 answers

0 votes

Asked by SyNeto, 1 day, 14 hours ago in Helpers

How to update Paginator numbers?

Hi, im using ajax pagination (my first time using it), but when i change the page, the prev and first page link remain deactivated, how i can update the Paginator helper links?

Tanks

1 answer

1 vote

Asked by ThePletch, 2 days, 2 hours ago in Components

Auth login does not validate users

I have a database set up for an app I'm developing with CakePHP and am trying to implement a login system. I implemented Auth as described in the documentation, and the login page works properly. I've added users exclusively through CakePHP's...

1 answer

0 votes

Asked by Lucky1968, 2 days, 8 hours ago in Models

Hide code through encryption

Hi,

Does anyone know if there's a possibility to encrypt files in /app so no one can see the original code?

Regards,

Luc

<< previous 1   2   3   4   5   6   7   8   9

How does CakePHP Questions work?

CakePHP Questions is easy to use: Register and login or directly login using OpenID and just ask your question!

After you ask your question you just need to wait until you have got some answers and pick the correct answer.

Other users might help you by finding the right answer by voting and giving comments.