• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
(03-17-2017, 02: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, 10:37 AM)skunkbad Wrote:
(03-17-2017, 02: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, 12:05 PM)nine Wrote:
(03-17-2017, 10:37 AM)skunkbad Wrote:
(03-17-2017, 02: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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.