I had similar problems and determined the issue to be with phpGACL
trying to create overly large index keys for that version of MySQL. To
view the error messages, try installing phpGACL directly.

I overcame the problem by editing the schema.xml. No problems in
production usage. For example:

        <!-- ACO Table -->
        <table name="aco">
                <field name="id" type="I">
                        <DEFAULT value="0"/>
                        <NOTNULL/>
                        <KEY/>
                </field>
                <field name="section_value" type="C" size="150">
                        <DEFAULT value="0"/>
                        <NOTNULL/>
                </field>
                <field name="value" type="C" size="150">
                        <NOTNULL/>
                </field>
                <field name="order_value" type="I">
                        <DEFAULT value="0"/>
                        <NOTNULL/>
                </field>
                <field name="name" type="C" size="255">
                        <NOTNULL/>
                </field>
                <field name="hidden" type="I">
                        <DEFAULT value="0"/>
                        <NOTNULL/>
                </field>
                
                <index name="section_value_value_aco">
                        <col>section_value</col>
                        <col>value</col>
                        <UNIQUE/>
                </index>
                <index name="hidden_aco">
                        <col>hidden</col>
                </index>
        </table>

I am using cake 1.1. So as MI states it is not compatible with 1.2, believe it.

Gary



On 5/17/07, tagawa <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I'm developing a new site using CakePHP 1.2, dAuth and hopefully
> phpGACL.  Having upload the CakePHP phpGACL plugin and phpGACL itself,
> clicking the 'Proceed with installation' button results in the error
> message "phpGACL could not be installed".  Looking at the code, this
> happens when schema.xml is parsed and executed but I'd like more
> details.  Is there a way to get the phpGACL plugin to print a log of
> what's going on or print error messages from phpGACL itself?
>
> Here's what I've checked:
> * The database settings are OK.
> * The error occurs with or without using table prefixes
> * schema.xml exists in app/vendors/phpgacl
> * I put my database details in gacl.ini.php (although I don't think
> this is necessary)
> * I am sober
>
> My settings are:
> CakePHP 1.2
> PHP 4.3
> MySQL 4.1
>
> As mentioned, I believe the problem is that I'm using CakePHP 1.2 in
> which case it would be worthwhile trying to make it compatible.
> Either that or it's something embarrassingly simple.
> Thanks in advance for any assistance.
>
>
> >
>

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

Reply via email to