kohana Questions
3
Solved
I am developing a site using kohana 2.3 and am having trouble with a specific ORM query. Essentially what I am doing is the following query
SELECT *
FROM 'records'
WHERE ('ServRepSupervisor' = n...
3
Solved
I have a controller called articles, which creates the articles model which gets the relevant data from the database.
I want to, if the method I call returns false, to trigger a 404 error. This is...
Phalansterian asked 5/5, 2009 at 23:55
2
Solved
I am making a cURL request via Kohana 3.2 but I get the following error when it tries to access CURLOPT_POST constant:
Use of undefined constant CURLOPT_POST - assumed 'CURLOPT_POST'
From Kohana...
3
Solved
Requiring authentication in GET and
POST parameters, not only cookies;
Checking the HTTP Referer header;
saw this post on wikipedia and was wondering how I can apply them
ok...I am using the Ko...
4
Solved
Here is the request and response headers
http://www.example.com/get/pdf
GET /~get/pdf HTTP/1.1
Host: www.example.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3)...
Anaesthesia asked 29/4, 2010 at 2:27
3
Solved
i'm getting this error when i try to use memcache using kohana. all i did was changed the hostname in the configuration file and used $cache = Cache::instance('memcache');.
i can telnet my memcach...
7
Solved
While working on a project, I've been making some changes and browsing around existing framework API docs for insight.
While perusing the Kohana docs, I noticed that the getters/setters of a...
Burka asked 13/7, 2011 at 6:13
2
Solved
Background:
I currently have a web application based on MVC Kohana PHP framework, that allows users to sell ebooks to their customers.
The code behind the webapp is all wired together and everyth...
Wixted asked 7/4, 2015 at 15:11
5
Solved
Is it possible with Kohana v3 Query Builder to use the IS NOT NULL operator?
The where($column, $op, $value) method requires all three parameters and even if I specify
->where('col', 'IS NOT N...
4
Solved
I just asked a question ( Templates In Kohana 3.1 ) about templates and now I know that I should use Kostache. It's a module for the Mustache template language.
Anyway, I just enabled Kostache mod...
9
Solved
I'm a reasonably intelligent guy and have been involved in a lot of stuff like HTML, PHP, Java, C#, C, C++, assembly, and so on and so forth. All in all I think that there's very little I don't hav...
2
Solved
I am using Kohana 3.3 and I read in this forum post.
It says that to prevent stack traces from being shown to the end users, I need to override Kohana_Exception::_handler() to do something differe...
3
Solved
I'm exploring a few PHP frameworks and the current front runner is Kohana.
Having a Rails background I've become used to what the rails community calls "RESTful" routes. So a "GET /posts" displays...
2
Solved
I'm trying to check the progress of files uploaded. I'm using the Kohana framework which has a Session class, but for the upload progress I'm using native PHP sessions. I'm calling session_start() ...
Centrist asked 12/10, 2013 at 16:35
3
Solved
After uploading my Kohana project to my Godaddy server, I noticed my standard .htaccess file wasn't working sufficiently to provide the clean URLs. After some guidance, I ended up with the followin...
Referendum asked 12/8, 2009 at 18:45
3
Solved
I am giving Kohana a try and I was trying to use the ORM + PDO + MySQL database, and I don't seem to find an answer in google or SO.
I have both the database and ORM modules enabled, and I have se...
Bewilder asked 6/9, 2011 at 3:53
4
Solved
In bootstrap.php, where you set routes, I'm having a hard time getting them to work. I read some documentation a while ago that I can't seem to find again that explains them. Here is one of my exam...
Valer asked 19/1, 2010 at 2:52
1
Solved
I would like to use Composer to include the php readability git project. This is my composer.json file:
{
"repositories": [
{
"type": "package",
"package": {
"name": "php-readability/php-read...
Smoking asked 18/3, 2013 at 22:38
6
Solved
I've seen the following a few times lately:
function foo(array $arg = NULL) { ... }
My question being why make the default of $arg NULL when it will be just cast into an array? Why not do:
fu...
4
Solved
I started using the MVC pattern a half year ago, and I still have some misunderstandings.
Now I want to implement a role based access control in my application. However, my question is not about R...
Catmint asked 22/12, 2011 at 7:48
2
Solved
I'm trying to get the Session Upload Progress feature ( http://php.net/manual/en/session.upload-progress.php ) to work in Kohana. I have managed to get it working locally without Kohana using the f...
6
Solved
A site I built with Kohana was slammed with an enormous amount of traffic yesterday, causing me to take a step back and evaluate some of the design. I'm curious what are some standard techniques fo...
Dyne asked 11/8, 2009 at 12:48
3
Solved
could you help me with following questions.
How do i get the:
absolute/relative current url
http://www.example.com/subdir/controller/action
/subdir/controller/action
absolute/relative applicat...
4
Solved
I have been using the CodeIgniter system for a while now - but it has it's short comings. I am grateful for what it taught me, but now I need a library for a new non-codeigniter project and s...
Emmott asked 11/7, 2009 at 17:45
1
Solved
I am using kohana 3.2, and i would like to acces client ip from request class, in documentation i can see public static string $client_ip which should contain client ip, now if i try to access it i...
Reparative asked 19/7, 2012 at 16:26
1 Next >
© 2022 - 2024 — McMap. All rights reserved.