Re: ACM front-end to ACL -- lots of php errors?

2006-07-19 Thread /BigSur

Hi Ryan,

Ryan J. Peterson wrote:
> The last ACM release has not been tested with the most recent releases
> of CakePHP.  We are working on getting out release 1.0 to work with the
> latest version and hope to have it done mid august. My best guess is
> that ACM is not compatible with your CakePHP version.

Thanks for the quick reply.

For the past couple of days I'd been advised by numerous folks (other
than yourself as author, of course!) -- including Cake devs -- that
it's known to work, that i should recheck my config, that i should
follow the install instructions, etc etc

Do you think you might state this info not-yet-ready info prominently
in the ACM INSTALL.txt?  If might save the next person a fair amount of
wasted effort.

Thanks again for the heads-up.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: ACM front-end to ACL -- lots of php errors?

2006-07-19 Thread Ryan J. Peterson

The last ACM release has not been tested with the most recent releases 
of CakePHP.  We are working on getting out release 1.0 to work with the 
latest version and hope to have it done mid august. My best guess is 
that ACM is not compatible with your CakePHP version.

~rpeterson

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



ACM front-end to ACL -- lots of php errors?

2006-07-19 Thread /BigSur

Hello,

I have installed:

 cake 1.1.x.x branch, svn Revision 3273
 apache 2.2 release
 mysql 5.0.22
 php 5.2 from cvs

My cake install itself, and my developing site, seem to be behaving as
expected.

I've init'd/installed ACL tables, and verified that they exist.

now, i am trying to install the ACM front-end to ACL.

after installing the ACM plugin, and per guidance from #irc,
config'ing:

app/plugins/acm/config.php

...
/* -- ACM AutoLoad Config Vars - */

 /* This sets AutoLoad on or off
  * using true or false. This is to
  * connect ACM to your existing Users/Groups
  */

$this->Session->write('ACM.AutoLoad',false);

 /* This defines the tables that hold
  * your existing Users/Groups.
  */
$this->Session->write('ACM.Roles','users');
$this->Session->write('ACM.Users','users');

 /* This defines the fields that hold
  * the Users/Groups unique alias.
  */
$this->Session->write('ACM.RoleAlias','group_id');
$this->Session->write('ACM.UserAlias','username');

/* this constant allows you to decide
 * if ACM can add Users & Groups additional
 * to those managed by AutoLoad, defaults
 * to true if AutoLoad is off.
 */
$this->Session->write('ACM.AllowAddAco',true);
...



on nav to http://vhost/acm/ i DO see the ACM home page as expected.

however, I do NOT see the button/menu referred to "clicking on AutoLoad
in ACM menu" in the INSTALL.txt.

also, clicking any OTHER links from the ACM home page results in a
number of browser errors:


Errors in browser

Warning: Invalid argument supplied for foreach() in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1140
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1147
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1149
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1152
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1157
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1160
Warning: Invalid argument supplied for foreach() in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1140
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1147
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1149
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1152
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1157
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1160
Warning: Invalid argument supplied for foreach() in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1140
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1147
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1149
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1152
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1157
Notice: Uninitialized string offset: 0 in
/Sites/cakephp/1.1.x.x/cake/libs/model/datasources/dbo_source.php on
line 1160
SQL Error in model Aro: 1054: Unknown column 'Aro.' in 'field list'
Warning: Invalid argument supplied for foreach() in
/Sites/cakeproject/plugins/acm/controllers/acm_controller.php on line
160
Cake Access Control Manager

* Home
* Users & Groups
* Managed Controllers
* Permissions

CakePHP : Rapid Development Framework




can someone help determine whether this is a problem in cake, in acm,
or in my config?

thank you.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---