Questions tagged [kohana]

HMVC PHP5 framework that provides a set of components for building web applications. Be sure to mention specific version when asking.

Due to the differences in the codebase between and , as well as each minor version, please be specific in detailing which version of Kohana you are using when asking your question.

Kohana is an elegant framework that provides a rich set of components for building web applications.

It requires very little configuration, fully supports and , and provides many of the tools that a developer needs within a highly flexible system. The integrated class auto-loading, cascading filesystem, highly consistent , and easy integration with vendor libraries make it viable for any project, large or small. The support of has been started with

Popular Questions

Resources

See also

2221 questions
0
votes
1 answer

Using this in an array is causing unexpected T_Variable

I'm using Kohana 3.3 and trying to write a custom validation rule to ensure that users username and e-mail address are unique. I'm following the instructions from an SO question here, and the Kohana documentation here, but whenever I try to add in…
Styphon
  • 10,304
  • 9
  • 52
  • 86
0
votes
1 answer

Kostache: \n or enter key does not go to next line

I am using Kostache, Kohana and CKEditor for my website. In the database some of the tables are readonly, the content is coming from some other site. My issue is that, I need to show a new line wherever enter is given in the content. In current…
Harshala
  • 21
  • 7
0
votes
1 answer

Kohana Framework: way to load config using absolute file path

How to load config from a specific folder, for example: DOCROOT."assets/config/pre-load.php" Defaults method will search in (APPPATH|MODPATH|SYSPATH)."/config/".DOCROOT."assets/config/pre-load", but I need to go out from…
LINKeRxUA
  • 559
  • 6
  • 26
0
votes
1 answer

Kohana framework-cascade file system. How to add folder to this cascade chain?

How ussualy KO3 works: 1. Get files from "system" 2. Replace some by each used "module" 3. And finally - replace by "application" What I must todo to add in these chain one more folder folder? How to extend this cascade ? For example I want to load…
LINKeRxUA
  • 559
  • 6
  • 26
0
votes
4 answers

Suggestions for performance improvement surrounding sending email notifications?

It takes around a couple of seconds for my app to execute the code to send an email right now on a test server with nothing much else running. Not sure if this is typical/expected. I'm also using the php framework Kohana's email helper and not php's…
jhchen
  • 14,355
  • 14
  • 63
  • 91
0
votes
1 answer

Way to explain all mysql select queries "Kohana Framework 3" model

Using Kohana framework v3 I have created model with N methods using query builder. For example N-10% - use DB::select(). Is there any integrated functionality to do explain select for each method which use DB::select()? I think to do this in this…
LINKeRxUA
  • 559
  • 6
  • 26
0
votes
1 answer

Kohana Route setup for different actions

I have route like this (Kohana 3.3) Route::set('project', 'project(/(/(/)))') now is possible querys like this localhost/kohana/project/edit/16 localhost/kohana/project/list/ I want to use pagination on action list - so i need…
YanAlex
  • 99
  • 1
  • 10
0
votes
1 answer

How to specify Kohana PHP Partial view CSS and JS dependencies

I am learning to make use of "Views within views" in Kohana PHP framework in order to write more modular code. The following code allows me to pass data dependencies to the partial view and then I can render them in a loop. foreach ($datas as $data)…
allenylzhou
  • 1,431
  • 4
  • 19
  • 36
0
votes
2 answers

Select rows with highest value in a specified column and not unique values in other column should be distinct

I have a table activities: id last_active login ip 1 1000 user1 192.168.10.10 2 2000 user2 192.168.10.20 3 3000 user3 192.168.10.30 4 4000 user1 192.168.10.10 5 5000 user2 192.168.10.20 6 …
piterek
  • 47
  • 1
  • 6
0
votes
0 answers

Doctrine 2. Cannot create schema

> php doctrine-cli.php orm:schema-tool:create ATTENTION: This operation should not be executed in a production environment. Creating database schema... [Doctrine\ORM\Tools\ToolsException] Schema-Tool failed with Error 'could not find driver'…
Factory Girl
  • 910
  • 4
  • 18
  • 29
0
votes
1 answer

Find what causes a re-direct when a button is clicked

Is there a way of finding what is causing a re-direct when a particular link is clicked. I have a kohana site with thousands of files and it would be near impossible to find where the code that makes the re-direct. The link is:…
0
votes
1 answer

admin module in kohana 3.3.x doesn't route correctly

i have problem with kohana 3.3.x modules. i am trying to create a module called admin in my kohana project. i followed kohana documents & some samples about it to create one but it seems that something goes wrong :( this is my module structure : -…
0
votes
1 answer

Kohana Session Table

Currently i am hosting a website with ~10k unique visitors a day and ~6 clicks per user. So round about 60k pageviews a day. I use Kohana 3.2 and save the session datas from every user in the "sessions" table. Every page request execute a timestamp…
Tyralcori
  • 1,079
  • 13
  • 33
0
votes
4 answers

Remove a drop down item if it is selected

I have multiple instances of select drop downs on a form, eight to be exact. If I select a number on the first select drop down I want to hide the selected number from the second select drop down up to eighth. For the purpose of this I will only…
user1839477
  • 45
  • 1
  • 8
0
votes
1 answer

How to structure a Kohana MVC application with dynamically added fields and provide validation and feedback

I've got a bit of a problem. I have a Kohana application that has dynamically added fields. The fields that are added are called DISA numbers. In the model I look these up and the result is returned as an array. I encode the array into a JSON string…
hookenz
  • 36,432
  • 45
  • 177
  • 286
1 2 3
99
100