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
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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
-
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
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
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
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
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
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
@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
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
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
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
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
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
32 matches
Mail list logo