Unknown Error

60 views
Skip to first unread message

Neil Worley

unread,
Feb 6, 2013, 6:29:30 AM2/6/13
to yii-...@googlegroups.com
Hi,

I amusing XAMPP on a windows 7 box.

i have installed this extension as it sounds real promising.

However, I get the following error:

include(CachedDbAuthManager.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory

My config looks like:

    'modules'=>array(
        // uncomment the following to enable the Gii tool

                'auth'=>array(
                    'strictMode' => true, // when enabled authorization items cannot be assigned children of the same type.
                    'userClass' => 'User', // the name of the user model class.
                    'userIdColumn' => 'UserId', // the name of the user id column.
                    'userNameColumn' => 'username', // the name of the user name column.
                    'appLayout' => 'application.views.layouts.main', // the layout used by the module.
                    'viewDir' => null, // the path to view files to use with this module.
                ),
    'components'=>array(
            'authManager' => array(
                'class' => 'CachedDbAuthManager',
                'behaviors' => array(
                    'auth' => array(
                        'class' => 'auth.components.AuthBehavior',
                        'admins'=>array('admin', 'foo', 'bar'), // users with full access
                    ),
                ),
            ),

When I try to access my site I get the above error.

Have I done something wrong? I hope so

Neil


Christoffer Niska

unread,
Feb 6, 2013, 7:35:23 AM2/6/13
to Neil Worley, yii-...@googlegroups.com
Try adding the complete path to the auth manager which with 'auth.components.CachedDbAuthManager'.

-- 
Christoffer Niska
CTO
Nord Software
+358 500 980 565
Runeberginkatu 43 B 12
00100 Helsinki, Finland
-----------------------------------------------------------------------
The information contained in this message, its responses or attachments
are confidential. The message is intended solely for the adressee(s).
If you are not the intended recipient, you are hereby notified that any
use, dissemination, or reproduction is strictly prohibited. If you are
not the intended recipient, please contact the sender by return e-mail
and destroy all copies of the original message. Unlawful use of this
email may be prosecuted.
----------------------------------------------------------------------- 




Neil


--
You received this message because you are subscribed to the Google Groups "yii-auth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yii-auth+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Neil Worley

unread,
Feb 6, 2013, 2:51:22 PM2/6/13
to yii-...@googlegroups.com, Neil Worley
Hi,

Thanks that solved the problem.

Now to setup the authorisations etc.

Again a big thanks and for the prompt reply.

Neil
Reply all
Reply to author
Forward
0 new messages