0 answers
0 votes
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
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
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
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
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
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
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
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
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
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
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.







