On 1/6/07, luis_y27 <[EMAIL PROTECTED]> wrote:
Hello, I've been trying unsuccessfully to set up ACL for Cake. I tried doing it as explained in the manual, initializing the database with php acl.php initdb works, the three tables are created then, I tried to run the models/controller to create some groups/user as explained in the cake manual. But I get the following error No Database table for model Aro (expected "aros"), create it first. The table does exists so I have no idea how to fix this. I've also tried to create users through the command line by running the following command php acl.php create aro 0 null Users this however throws other errors PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/php_mysql.dll' - /usr/lib/php4/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Fatal error: Cannot instantiate non-existent class: dispatcher in /var/www/html/CallRating/cake/libs/error.php on line 51
It looks like your PHP installation is misconfigured. What OS are you running this on? Judging from your error message above, it looks like your running a Unix-like OS. If you are running Linux, then the correct loadable library should be mysql.so and not php_mysql.dll. Find your php.ini and look for the line that says: extension=php_mysql.dll or extension=/usr/lib/php4/php_mysql.dll then change it to say mysql.so instead of php_mysql.dll. If you are running PHP as an Apache module, then you will need to restart Apache. -- _nimrod_a_abing_ [?] http://abing.gotdns.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
