EasyOpenID Library |
[eluser]UberError[/eluser]
Tried getting it working on CI 1.7.2 today. Copied files to correct dirs... Code: class Siteauth extends Controller results in Quote:A PHP Error was encountered Gunna look more into it tomorrow.
[eluser]kbjr[/eluser]
[quote author="UberError" date="1287044030"]Tried getting it working on CI 1.7.2 today. Copied files to correct dirs... Code: class Siteauth extends Controller results in Quote:A PHP Error was encountered Gunna look more into it tomorrow.[/quote] All testing and development of this library was done in CI 1.7.2 and I have never seen this error before. What else have you done with this application? This looks like something that is wrong elsewhere in your application, not in the library. Does it work for you in a fresh copy of CI?
[eluser]quasiperfect[/eluser]
use LightOpenID is smaller faster easyer and it works great with ci1.7 and 2
[eluser]UberError[/eluser]
I found the issue. I had a line break (face-palm) in a languages file.
[eluser]kbjr[/eluser]
[quote author="UberError" date="1287554903"]I found the issue. I had a line break (face-palm) in a languages file.[/quote] haha, don't you love those
[eluser]UberError[/eluser]
Sure do. Right now I have it working so that the site redirects properly, however, upon returning to my site, CI does not like the querystring value (The URI you submitted has disallowed characters.). I'm assuming relating to the uri_protocol in CI's config.php... not sure what to change it to though, right now I just have it set to AUTO. I also noticed on your github that facebook and twitter were finished. An updated an example on the site for these would be worlds of help.
[eluser]kbjr[/eluser]
yes, i was going to add a note about that in the docs, i guess i just forgot to the needed config settings are: Code: $config['uri_protocol'] = "PATH_INFO";
[eluser]UberError[/eluser]
Tried that earlier as well but it makes me use www.mydomain.com/index.php/mycontroller/function instead of www.mydomain.com/mycontroller/function I dont think its my .htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L] </IfModule> <IfModule !mod_rewrite.c> ErrorDocument 404 /index.php </IfModule>
[eluser]kbjr[/eluser]
i've never had any trouble with my file paths. the .htaccess that i use looks like this: Code: #
[eluser]UberError[/eluser]
My suggestion... In application\config\config.php: Code: $config['enable_query_strings'] = FALSE; ... because Quote:... some of the helpers won't work as expected when Then in your controller class, use this in the constructor: Code: parse_str($_SERVER['QUERY_STRING'],$_GET); |
Welcome Guest, Not a member yet? Register Sign In |