Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6676359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:58:42+00:00 2026-05-26T03:58:42+00:00

I am developing a web app using Kohana 3.2 with the following modules loaded:

  • 0

I am developing a web app using Kohana 3.2 with the following modules loaded:

  • useradmin
  • auth
  • database
  • orm
  • pagination
  • oauth
  • kohana-email

On my development machine (Mac OS X Lion with Apache) everything its fine.

On my web server running ubuntu 10.04 with nginx 1.1.0 the config files are not loaded.

This comes to effect when i try to login. Kohana gives me the following error:

A valid hash key must be set in your auth config.

If I have a look at Kohana::$config, it is empty. Which gives me the conclusion that the my configurations are not loaded.

Does anyone have an idea what can cause such a behavior.

My directory looks like this

application/
├── bootstrap.php
├── cache
├── classes
│   ├── controller
│   │   ├── …
│   └── model
├── config
│   ├── auth.php
│   ├── database.php
│   └── pagination.php
├── i18n
│   └── …
├── logs
│   └── …
├── messages
└── views
    └── template
        └── default.php

EDIT: For I suppose the error must be in my server environment, here is my nginx configuration.

server {
listen 80;

    root /srv/www/;
    index index.php;

    location / {
            try_files $uri /index.php?$query_string;
    }

    location /index.php {
            fastcgi_param KOHANA_ENV development;
            fastcgi_pass unix:/var/run/php-fastcgi/php-fastcgi.socket;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root/index.php;
            include /etc/nginx/fastcgi_params;
    }

}

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:58:42+00:00Added an answer on May 26, 2026 at 3:58 am

    The syntax has been changed a little in 3.2

    Kohana::$config will stay empty until you actually load the config file into it, with:

    Kohana::$config->load('auth')
    

    This has been addressed in the user guide in the migration from 3.1.x section.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a Python web app using sqlalchemy to communicate with mysql database.
I'm developing a PHP web app using a MySQL database. I'm wondering what is
I am developing a web app using servlets and jsps. I have a question
I am developing a web app (using rails) that I will be launching within
I'm developing a web app and currently using sql server 2008 for it. But,
I'm developing a website. I'm using a single-page web-app style, so all of the
I am developing a forms app (not web) for Windows Mobile, using .NET CF
I am developing a web app using Codeigniter and MongoDB. I need to create
I'm developing a web app using the play! framework and morphia/mongodb. I'm trying to
I'm developing a web app for android using jquery_mobile. Is there any equivalent way

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.