Jump to content

Recommended Posts

I have installed the AclExtras Plugin

 

and within the plugin have the following:

 

public $dataSource = 'default';

 

my default datasource is:

 

public $default = array(
        'datasource' => 'Database/Sqlserver',
        'persistent' => false,
        'host' => 'IAINROSE\SQLEXPRESS',
        'login' => 'administrator',
        'password' => 'd3veloper',
        'database' => 'clearview',
        'prefix' => '',
    );

 

The rest of the app can connect and functions as normal, but when I try and run the plugin commands e.g.

 

cake -app "c:\wamp\www\app" AclExtras.AclExtras aco_sync

 

I get the following error:

 

database connect Sqlserver is missing, or could not be created??

 

Any ideas why only the plugin can not connect??

Link to comment
https://forums.phpfreaks.com/topic/276872-cakephp-acl/
Share on other sites

Yes, my whole site works fine. It is just the plugin that does not like it. I have a feeling it is to do with the default database connection using a Datasource of Database/Sqlserver and the plugin not liking / finding the file location. But I'm not sure how to test / change it too????

Link to comment
https://forums.phpfreaks.com/topic/276872-cakephp-acl/#findComment-1424457
Share on other sites

  • 1 month later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.