Welcome Guest, Not a member yet? Register   Sign In
Communauty_auth 404 not found
#1

Hi,

i've installed community_auth as third party. It seems its working, i was able to create an admin account adn it's registering correctly on my user table.
in the documentation : you have to mention to enable hooks in config file. thats missing.

my problem is that i have a 404 not found when i go to /examples
here is my .htaccess file :
<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f 

RewriteCond %{REQUEST_FILENAME} !-d 

RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

Can you help, thank you ?
nine
Reply
#2

(This post was last modified: 03-17-2017, 09:37 AM by skunkbad.)

(03-17-2017, 01:58 AM)nine Wrote: Hi,

i've installed community_auth as third party. It seems its working, i was able to create an admin account adn it's registering correctly on my user table.
in the documentation : you have to mention to enable hooks in config file. thats missing.

my problem is that i have a 404 not found when i go to /examples
here is my .htaccess file :
<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f 

RewriteCond %{REQUEST_FILENAME} !-d 

RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

Can you help, thank you ?
nine


What kind of server is this?

Is mod rewrite enabled?

Is AllowOverride set to "all"?

Do any other rewrite rules work?

In your config/config.php file, have you set the "Index File" or "index_page" to an empty string?

All of these things are server or CI related, and have nothing to do with Community Auth.
Reply
#3

(03-17-2017, 09:37 AM)skunkbad Wrote:
(03-17-2017, 01:58 AM)nine Wrote: Hi,

i've installed community_auth as third party. It seems its working, i was able to create an admin account adn it's registering correctly on my user table.
in the documentation : you have to mention to enable hooks in config file. thats missing.

my problem is that i have a 404 not found when i go to /examples
here is my .htaccess file :
<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f 

RewriteCond %{REQUEST_FILENAME} !-d 

RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

Can you help, thank you ?
nine


What kind of server is this?

Is mod rewrite enabled?

Is AllowOverride set to "all"?

Do any other rewrite rules work?

In your config/config.php file, have you set the "Index File" or "index_page" to an empty string?

All of these things are server or CI related, and have nothing to do with Community Auth.


Thanks you for your response . Its a silly problem. I'm writing "exemple" (french) instead of "example" . So, Sorry :-(

another point, In the documentation  : it is not mentionned to enable hooks in file config and its needed :
$config['enable_hooks'] = FALSE; //default

nine
Reply
#4

(03-17-2017, 11:05 AM)nine Wrote:
(03-17-2017, 09:37 AM)skunkbad Wrote:
(03-17-2017, 01:58 AM)nine Wrote: Hi,

i've installed community_auth as third party. It seems its working, i was able to create an admin account adn it's registering correctly on my user table.
in the documentation : you have to mention to enable hooks in config file. thats missing.

my problem is that i have a 404 not found when i go to /examples
here is my .htaccess file :
<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f 

RewriteCond %{REQUEST_FILENAME} !-d 

RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

Can you help, thank you ?
nine


What kind of server is this?

Is mod rewrite enabled?

Is AllowOverride set to "all"?

Do any other rewrite rules work?

In your config/config.php file, have you set the "Index File" or "index_page" to an empty string?

All of these things are server or CI related, and have nothing to do with Community Auth.


Thanks you for your response . Its a silly problem. I'm writing "exemple" (french) instead of "example" . So, Sorry :-(

another point, In the documentation  : it is not mentionned to enable hooks in file config and its needed :
$config['enable_hooks'] = FALSE; //default

nine

That's not true. Step 13:


Code:
[b]13[/b] Enable hooks and make sure ....


I don't hold your hand through all of this, assuming you know how to use CodeIgniter. Enabling hooks is one of the basics.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB