Questions tagged [kohana-3.3]

Kohana is an open source, object oriented MVC web framework built using PHP5 by a team of volunteers that aims to be swift, secure, and small.

Anything can be extended using the unique filesystem design, little or no configuration is necessary, error handling helps locate the source of errors quickly, and debugging and profiling provide insight into the application.

To help secure your applications, tools for input validation, signed cookies, form and HTML generators are all included. The database layer provides protection against SQL injection. Of course, all official code is carefully written and reviewed for security.

156 questions
0
votes
1 answer

How to update a record without loading an orm?

Is there a way to update a record in a table using an ORM model without any extra queries? I know that I can simply use DB object to do a raw query, but I would like to do it with an ORM object. I have the following code. $orm =…
Moon
  • 22,195
  • 68
  • 188
  • 269
0
votes
2 answers

Kohana : Kohana_HTTP_Exception [ 404 ]: The requested URL calendar was not found on this server

I'm learning kohana and I'm using ver:3.3.0. I'm getting this error: Kohana_HTTP_Exception [ 404 ]: The requested URL calendar was not found on this server. SYSPATH\classes\Kohana\Request\Client\Internal.php [ 79…
Paco
  • 131
  • 2
  • 5
0
votes
1 answer

Kohana 3.3 routes and internal requests

I'm a beginner to MVC and trying to figure this out. More of a hobbyist than anything else but I'm trying to learn! I'm trying to create an admin area that contains multiple areas within. Shop, Blog, Social, etc. The directory layout I'm using…
jim brown
  • 13
  • 3
0
votes
1 answer

Kohana Route Issue To Base URL

I am using Kohana 3.3 Goal I would like to have my application select the proper view file based on the language in the URL. So for example: mydomain.com/es/foobar would load the Spanish view file in my Foobar controller. This is working for…
thatidiotguy
  • 8,701
  • 13
  • 60
  • 105
0
votes
2 answers

getting controller route parameter

Using Kohana 3.3, I created a tabbed interface and I'm trying to detect which tab is active based on a route parameter. Testing with 2 urls which look like this: mysite.com/p/mycontroll and: mysite.com/p/Francis-Lewis/mycontroll My route looks like…
Francis Lewis
  • 8,872
  • 9
  • 55
  • 65
0
votes
2 answers

exception handling via controller in kohana

I am following the tutorial at http://kohanaframework.org/3.3/guide/kohana/tutorials/error-pages for Kohana 3.3 The following code is at classes/http/exception/404.php
sharmacal
  • 457
  • 1
  • 6
  • 25
0
votes
1 answer

Kohana 3.3 : required field

I'm using Kohana 3.3. I use ORM for validation form, by determining some rules. I would like to make a radio button required. I have three options, and no one can be checked in advance. I've searched on web, no doc. Someone has an idea ? Thanks
emilie zawadzki
  • 2,035
  • 1
  • 18
  • 25
0
votes
3 answers

Kohana 3.3 ORM - how to find all ancestors in a tree (self-referencing table)

How to find all the ancestors (not only direct parent) of a record with the following model: class Model_Category extends ORM { protected $_belongs_to = array( 'parent' => array('model' => 'Category', 'foreign_key' =>…
Petrunov
  • 754
  • 1
  • 8
  • 18
0
votes
3 answers

Kohana 3.3 RESTful API routing error

I am having problems setting up an RESTful API with Kohana 3.3. I have added the following module (branch 3.3/release/v2.0), https://github.com/michal-m/kohana-modules-restful, to my bootstrap. Kohana::modules(array( 'restful' =>…
xylar
  • 7,433
  • 17
  • 55
  • 100
0
votes
1 answer

Throw a custom 401 HTTP Exception in Kohana

When I throw a HTTP_Exception_401 in Kohana 3.3 I get the following error: Kohana_Exception [ 0 ]: A 'www-authenticate' header must be specified for a HTTP 401 Unauthorized Now the obvious problem here is that the www-authenticate header hasn't…
diggersworld
  • 12,770
  • 24
  • 84
  • 119
0
votes
1 answer

How to handle Custom error pages for 500 error in kohana 3.3

How to use custom error pages for 500 error in kohana 3.3. I have tried using the custom error pages for 404 error and its working. I have just refered kohana official site but i have no idea how to handle 500 error. It will be really helpful if…
Manigandan Arjunan
  • 2,260
  • 1
  • 25
  • 42
0
votes
2 answers

KCFinder dont show correctly

I'm searching all over for solution for my problem and cant find anything that work. The problem: I work with KOHANA framework and try to integrate KCFinder with my CKEditor. At first it didnt work because some routing problems. after going through…
Roey Haim
  • 73
  • 2
  • 9
0
votes
3 answers

kohana 3.3 get next value in array

i have an array that am calling from the database using kohana 3.3 i have gotten the data to the view and i can get it with print_r($variable). i want to create a movenext, movefirst,moveprevious and movelast buttons based on the data that is in the…
young pac
  • 73
  • 2
  • 9
0
votes
2 answers

Slow execution time for Kohana static ORM method

I have a Kohana 3.3 application, running on WAMP (PHP 5.4.3) which uses a static function to get a list of recent articles. When I load the page, the Application Execution time (via Kohana Profiler) is 6.7 seconds. When I load the same page without…
xylar
  • 7,433
  • 17
  • 55
  • 100
0
votes
1 answer

Instantiating Request in Controller in Kohana 3.3

While upgrading my own module to work with latest Kohana (3.3) I found malfunction in my scenario. I use template driven schema in my app (My Controllers extend Controller_Theme). But for AJAX calls I used in version 3.2 separate Controller which…
leosek
  • 16
  • 3
1 2 3
10
11