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
0 answers

Kohana-3.3 routing

I have problem with routing. My route looks like this: Route::set('restapi', 'restapi/(/)/(.)', array( 'version' => 'v1', 'format' => '(json|xml|csv|html)', )) ->defaults(array( …
R0ck99
  • 113
  • 1
  • 1
  • 7
0
votes
0 answers

Call to a member function _kohana_load_view() on a non-object in kohana

My same code is working in other online domain and localhost but on other on line domain its giving error in kohana. I think its related to file permissions but im getting it. Fatal error: Call to a member function _kohana_load_view() on a…
smarttechy
  • 852
  • 1
  • 9
  • 23
0
votes
2 answers

Routing in Kohana without showing controller name

I want to create a routing in Kohana Framework Version 3.3.1. I want URL like http://www.test.com/male/London and internally they will act like below URL- http://www.test.com/list/search/London I want to hide the controller and action name from the…
0
votes
1 answer

How to re-throw exception caught from HMVC in kohana framework?

I understand how to re-throw exception, Handling them on internal MVC requests, but how to handle that - which was caught as instance of HTTP Response from another server? Ok, I guess when ($response->status() < 300), But how to throw this response…
LINKeRxUA
  • 559
  • 6
  • 26
0
votes
2 answers

Kohana 3.3 view foreach not outputting array

I'm studying Kohana 3.3 using very simple and basic examples from Internet. My controller : class Controller_Index extends Controller_Template { public $template='v_index'; public function action_index() { $this->template->title='Online…
Ksenia
  • 163
  • 2
  • 17
0
votes
0 answers

Kohana3 Function name must be a string exception in Route class

I have the following code in Welcome_Controller action_index method: $route = new Route('((/(/)))'); $body = $route->uri(array( 'controller' => 'welcome', 'action' => 'index', 'id' => '10' )); echo…
0
votes
1 answer

Kohana project doesn't work after moving to different server

Recently I had to work with Kohana 3.3.1 Framework project (which works). I moved it to my computers localhost, and it doesn't work there. I have set up the mysqli server, tried it on apache and nginx and both give me the same error ErrorException […
Dawgora
  • 23
  • 1
  • 8
0
votes
1 answer

call_user_func_array() expects parameter 1 to be a valid callback, no array or string given Kohana 3.3.4

Hey guys i have read and studied the kohana orm and auth modules. so i want to implement am admin section to my website. i get the error above and i have googled but can't seem to find the answer. am using Kohana 3.3.4 so a created a controller…
Mbengchan
  • 166
  • 3
  • 17
0
votes
1 answer

How to redirect the URL/public/language to URL/public

we are using kohana 3.2 (PHP). Now our website have more language. we will pass the URL/language/public/. This path must be redirect to URL/public/. can you advise us. en/public/white/css/en_style.css changed to /public/white/css/en_style.css
arulraj
  • 105
  • 2
  • 12
0
votes
1 answer

How to changes the Route::set in kohana 3.2

we have used kohana 3.2. We need to changed the url xyz.com/ar measn the site working arabic lanugag and xyz.com/en means the site working in english language. Now the default 3 param is id. I need to changes this. Route::set('custom',…
arulraj
  • 105
  • 2
  • 12
0
votes
1 answer

Creating a request within a request in kohana 3.3.1

I have creates created a message controller separately from user profile becuase messages may be present in more than one location and am trying to adhere to the DRY! rule. these is my message controller
Mbengchan
  • 166
  • 3
  • 17
0
votes
1 answer

How to count_all() in Kohana 3.3 with Mysqli drivers

I am trying to use the count_all() method in kohana 3.3 to count all the rows of a table where the id equals a user_id. Here is my controller public function action_get_messages() { $user_id = $this->request->param('id'); …
Mbengchan
  • 166
  • 3
  • 17
0
votes
1 answer

Kohana not work. Not fount classes. Nginx + php-fpm. Digatal Ocean

Ubuntu 14.04 + nginx + php-fpm (php 5.5.9) Kohana 3.3.4 Url: http://188.166.65.233/ ErrorException [ Fatal Error ]: Class 'HTTP_Exception' not found Not finding the model classes, controllers ... nothing The error is caused by the fact that Kohana…
0
votes
0 answers

Kohana 'wildcard' ORM model

Currently my app creates tables for each customer in which they can store their own contacts. This is created on the fly for each customer as they are created themselves. eg: Customer 1 get a new table created called contacts_1 I have an ORM model…
GoldieNZ
  • 53
  • 7
0
votes
2 answers

How do subquery in ORM?

There are tables: orders: id author_id consumer_id supplier_id manager_id status_id created orders_archive id, order_id, user_id, created That is, there are orders, any user can mark the order archive (customer, manager ..) We need to get all…
entermix
  • 43
  • 1
  • 9