All Questions

RSS

0 answers

0 votes

Asked by lvotusk, on 12/11/09 in Models

nested sql vs nested Set::extract?

Without going in to too much detail, I have found myself in a bit of a dilemma.

I have got some data that I need to sort, but the way that I need it sorted, it is not going to be doable by a single sql call.

The options I have tried are splitting...

0 answers

0 votes

Asked by allenchang06, on 16/11/09 in Models

How do I set up cakephp to connect to sql server 2005 with ADOdb?


var $default = array(
		'driver' => 'adodb',
		'connect' => 'mssql',
		'persistent' => true,
		'host' => 'localhost',
		'port' => '1433',
		'login' => 'xx',
		'password' => 'xxx',
		'database' => 'xxx',
		'prefix' => 'dbo',

I have adodb in my...

0 answers

0 votes

Asked by icekool, on 22/11/09 in Controllers

SSL loging always failed

hi, iam new on cakephp, i try to create https for login action, when iam login with wrong combination of username or password, it just work fine, but when i login with username and password combination true as saved on database, cake always...

0 answers

0 votes

Asked by tottysdesign, on 28/11/09 in Plugins

What is the best practices using a modular and scalable application in CakePHP?

I'm planing to do a medium website that has: multiple modules that can be used on various layouts, ajax, dynamic routing from database and is multilanguage.

Now The way I'm thinking about is like this: I set the router to send every url to a Core...

0 answers

0 votes

Asked by kani, on 29/11/09 in Models

Undefined property help :(

i have a problem with add action help me.

i used

cake bake all

http://localhost/loan/AjiltanBrts looks Ok

http://localhost/loan/AjiltanBrts/add

Notice (8): Undefined property: AjiltanBrt::$BankSalLav [APP\controllers\ajiltan_brts_controller.php,...

0 answers

-3 votes

Asked by aniltc, on 9/12/09 in Models

how to set up model relation ship( data not inserting)

hi all

I have 3 models.product,productfinish and productimage.

A product has so many product images and product images has so many product finishes.this is the ralation ship.

my sample table schema as...

0 answers

0 votes

Asked by georlitz, on 11/12/09 in Models

What is the use of the AcoAction model?

I'm working on coding up a nice interface for adding/removing ACOs, and granting/revoking permissions on them for the AROs in my database. I have a functioning system, but it definitely could use some polishing.

With that context in mind, what is...

0 answers

0 votes

Asked by zoghal, on 11/12/09 in Components

who to check user permission to access to prefix router with by ACL component

hi

i have e multi prefix router

i need check it a user have permision to access prefix router

for smaple

domain/admin/controller...

domain/profile/controller....

0 answers

0 votes

Asked by blackhorizons, on 21/12/09 in Controllers

Using AES_DECRYPT() within queries

Hi all,

Is there a way to use AES_DECRYPT() and AES_ENCRYPT in find() and save() methods? I've got data in a database that I want to encrypt/decrypt using these methods but I don't want to use query() - as I think I'd lose out on a lot of...

0 answers

-1 votes

Asked by lars1968, on 24/12/09 in Controllers

Avoid Router::parseExtensions()

I need to remove Router::parseExtensions() before I can make routes with the ext specified as shown in

http://mark-story.com/posts/view/fancy-routing-examples-with-cakephp-1-2


Router::connect('/posts/feed', array('controller' => 'posts', 
        ...
<< 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.