CodeIgniter Forums

Full Version: CI + openId
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]nws123[/eluser]
Hello,

I get code from here

and i have this error :

Fatal error: Cannot redeclare class Openid in ...\libraries\Openid.php on line 7
Code:
1.<?php
2.
3.if (!defined('BASEPATH'))
4.    exit('No direct script access allowed');
5.
6.class Openid
7.{
8.    var $storePath = 'tmp';

Any help please.

El Forum

[eluser]Pascal Kriete[/eluser]
Is the controller you're using called Openid by any chance? That would explain the error.

El Forum

[eluser]nws123[/eluser]
I have renamed controller and error рas disappeared

thx