Re: illegal offset type in components/acl.php

2009-02-09 Thread fain182
On Sun, Feb 8, 2009 at 10:52 AM, fain182 fain...@gmail.com wrote: I am trying to use IniAcl, but after a lot of attempts, it gives me always the same error... in cake/libs/controller/components/acl.php at line 490: if (isset($aclConfig[$aro]['deny'])) { but $aro is an array, so

illegal offset type in components/acl.php

2009-02-08 Thread fain182
I am trying to use IniAcl, but after a lot of attempts, it gives me always the same error... in cake/libs/controller/components/acl.php at line 490: if (isset($aclConfig[$aro]['deny'])) { but $aro is an array, so it gives error: Warning (2): Illegal offset type [COREcake/libs/controller

Re: acl.php : Call to undefined function uses()

2008-03-27 Thread jamest_amr
Works perfectly, thanks Stonez. Looks like the IMB tutorial is wrong. --~--~-~--~~~---~--~~ 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

Re: acl.php : Call to undefined function uses()

2008-03-27 Thread John David Anderson
On Mar 27, 2008, at 2:52 PM, jamest_amr wrote: Works perfectly, thanks Stonez. Looks like the IMB tutorial is wrong. That accursed International Maritime Bureau is always posting outdated CakePHP tutes. :( -- John --~--~-~--~~~---~--~~ You received this

Re: acl.php : Call to undefined function uses()

2008-03-26 Thread stonez
Try: cake acl create aro 0 null Users it's not acl.php. it's acl Stonez --~--~-~--~~~---~--~~ 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

Re: acl.php : Call to undefined function uses()

2008-03-26 Thread stonez
I forgot to mention, you have to change this code below, before you issue the command: cake acl create aro 0 null Dealers \cake\cake\libs\model\datasources\db_source.php in line 29 change uses('set') into uses('set','string') --~--~-~--~~~---~--~~ You received

acl.php : Call to undefined function uses()

2008-03-09 Thread stefanod
hello everybody, I am following instructions of Cook up Web sites fast with CakePHP, Part 2 (IBM tutorial), but when I try to define groups I get the following error: Fatal error: Call to undefined function uses() in C:\www\cake_1_2\cake \console\l ibs\acl.php on line 29. I am using CakePHP

acl.php fatal error

2007-05-30 Thread KoD
Hi, when I run php acl.php initdb php return the error: PHP Fatal error: Allowed memory size of 1342177228 bytes exhausted (tried to allocate 786432 bytes) in C:\web\cake\libs\session.php on line 597 Someone know why? --~--~-~--~~~---~--~~ You received

Re: acl.php fatal error

2007-05-30 Thread KoD
Ok, I solve it. I use the SQL query in the acl.sql file. On 30 Mag, 12:20, KoD [EMAIL PROTECTED] wrote: Hi, when I run php acl.php initdb php return the error: PHP Fatal error: Allowed memory size of 1342177228 bytes exhausted (tried to allocate 786432 bytes) in C:\web\cake\libs\session.php

ACL check functionality in cake/scripts/acl.php

2007-05-08 Thread [EMAIL PROTECTED]
As I was exploring the use of ACL I needed a way to check the permissions of various AROs to ACOs from the command line. I modified the acl.php script in cake/scripts/ to provide this using this syntax: php cake/scripts/acl.php check aro aco A few questions: -Is this functionality already

Re: problems with alternative installation and acl.php

2007-04-17 Thread Wi1d
Anyone got a clue with this problem? I'm having the same problem on Gentoo Linux: php acl.php initdb -core /usr/local/src/cake -root /home/myHome/ cake_projects/ -app tor Warning: require(cake/basics.php): failed to open stream: No such file or directory in /usr/local/src/cake/cake/scripts

acl.php initdb doesn't work in 1.1.14.4797

2007-04-11 Thread Damien
Hi, I'm just getting to grips with CakePHP but definitely like what I see. I'm currently following the IBM tutorial series here - http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html I'm trying to use the php acl.php initdb command to create the ACL tables in my database, but when

Re: acl.php initdb doesn't work in 1.1.14.4797

2007-04-11 Thread Damien
acl.php initdb command to create the ACL tables in my database, but when I execute this command I get no output - just returned to the command prompt. Interestingly, if I use the php acl.php help command that does give me output - anything else (including commands that aren't defined) don't give

Re: acl.php initdb doesn't work in 1.1.14.4797

2007-04-11 Thread Damien
acl.php initdb command to create the ACL tables in my database, but when I execute this command I get no output - just returned to the command prompt. Interestingly, if I use the php acl.php help command that does give me output - anything else (including commands that aren't defined) don't give

acl.php 1.1.14 release

2007-04-10 Thread Michael Tuzi
I was having problems running acl.php, so I set it up and stepped through it yesterday. It was running without providing any results or errors and I tracked the problem to the one discovered the day before here: https://trac.cakephp.org/ticket/2370 Which fixed the problem. 2z

acl.php not working (generic cake core install + an app somewhere else on the server)

2007-04-10 Thread [EMAIL PROTECTED]
Hello all, i'm trying to get the acl in 1.1.x.x script to work and it really is a pain. Is it broken? I have a cake core install somewhere on the server and my app is somewhere else. So I did : path/to/core : php.exe acl.php -app /path/to/app like I do in bake but I get warnings about

Re: problems with alternative installation and acl.php

2007-03-25 Thread Stacey
still trying to work this out. i've played a bit, and it seems that the 'CONFIG' path is not being set properly. even though i can pass parameters along with the acl.php, it only uses them in certain conditions. but, it is not doing anything with the 'CONFIG' path after is has initially been set

Re: is acl.php not working?

2007-03-19 Thread rtconner
Yeah, I ended up having to download 1.1 and run the script off that version, and then just use 1.2 for my site. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: is acl.php not working?

2007-03-18 Thread Jon M.
Having the same problem. Looked everything over don't know what the problem could be. - Jon On Mar 15, 3:24 pm, rtconner [EMAIL PROTECTED] wrote: I cannot getacl.php to work in 1.2. I've tried the latest stable build and the latest nightly build. Both give me the same error --phpacl.php

is acl.php not working?

2007-03-15 Thread rtconner
I cannot get acl.php to work in 1.2. I've tried the latest stable build and the latest nightly build. Both give me the same error -- php acl.php PHP Fatal error: Class 'Dispatcher' not found in [path]\cake\libs \error.php on line 58 Fatal error: Class 'Dispatcher' not found in [path]\cake

Re: Access control lists :: Creating groups using acl.php script

2007-02-25 Thread josoroma
- All that ARO set-up was possible using: - php acl.php create aro 0 0 Frontend php acl.php create aro 0 0 Backend php acl.php create aro 0 Backend Moderators php acl.php

Access control lists :: Creating groups using acl.php script

2007-02-23 Thread josoroma
I was wondering how to create parent groups or child groups using acl.php script, for example, i just used php acl.php initdb and every table was created well. Then i used: php acl.php create aro 0 null Users php acl.php create aro 0 null Members and those groups were created without problem

Re: Using acl.php to create the database with shared domains

2007-02-17 Thread 4e4en
In which file? --~--~-~--~~~---~--~~ 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

Using acl.php to create the database with shared domains

2007-02-16 Thread nateklaiber
need for stats/dbadmin/scripts - along with the Cake core folder. Now, I would like to implement ACL, but running 'php acl.php initdb' will throw errors because it can't find the proper files with the changed directory structure. Should I backup the original and then edit the script to fit my needs

acl.php

2007-01-27 Thread lukemack
hi, i'm trying to run acl.php from the command line on linux: php acl.php initdb but get the following error: Fatal error: Call to undefined function mysql_connect() in /var/www/ cake/libs/model/dbo/dbo_mysql.php on line 102 someone mentioned that php cli might not be configured with mysql

Re: acl.php

2007-01-27 Thread Fuzzek
Have the same problem, when using solution from bakery (http:// bakery.cakephp.org/articles/view/176). Everything goes fine until I have to get something out from db. Anyone? Running on cake 1.1.12.4205 Thanks in advance --~--~-~--~~~---~--~~ You received

Re: acl.php

2006-12-16 Thread Falagar
@Daniel That has not fixed the problem for me. I have now gotten the fix for the errors, the initdb call does not work yet though. If I execute php acl.php initdb or php-cgi acl.php initdb with a valid database connection in app no tables are created. So I just executed the queries manually

php acl.php initdb failed

2006-12-15 Thread wong
Hi, I am a cakephp newbie. The latest cakephp, windows xp, When I run php acl.php initdb, the system response is: Fatal error: Class 'Configure' not found in C:\apache\Apache2\htdocs\cake\cake\libs\model\datasources\dbo_source.php on line 84 Can you help me out

Re: php acl.php initdb failed

2006-12-15 Thread Falagar
This is a known bug that has been fixed in the trunk. Either get the cake build from the trunk or fix it manually: in cake\scripts\acl.php line 93 change: uses ('object', 'neat_array', 'session', 'security', 'inflector', 'model'.DS.'connection_manager', to uses ('object', 'configure

Re: acl.php

2006-12-15 Thread Joe
I'm having exactly the same problem -- I'm running 1.1.11.4064, and I have the fixes in from trunk for acl.php and error.php to stop those errors. My installation is set up so that multiple apps share a single cake folder, and I wonder if that's the problem. I'm wondering if acl.php doesn't

Re: acl.php

2006-12-12 Thread Daniel Kvasnicka jr.
successfully baked stuff with bake.php. When running php acl.php initdb -app blabla from /cake/scripts the following error occurs: Fatal error: Class 'Configure' not found in C:\www\xampp\htdocs\cake\cake\libs\m odel\datasources\dbo_source.php on line 84 I added the following lines

acl.php

2006-12-05 Thread Falagar
Hi, I tried to use the ACL example from the manual and ran into problems. I have 1.1.11.4064 installed, the database connection is set up and I have successfully baked stuff with bake.php. When running php acl.php initdb -app blabla from /cake/scripts the following error occurs: Fatal error