CodeIgniter Forums
CI + openId - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: CI + openId (/thread-11576.html)



CI + openId - El Forum - 09-14-2008

[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.


CI + openId - El Forum - 09-14-2008

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


CI + openId - El Forum - 09-14-2008

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

thx