This is more of an open question than a direct one...
anyone out there having issues with kohana and the jquery wisywig plugin? mainly this one: http://code.google.com/p/jwysiwyg/
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 and use JQuery to populate them
The View knows the length of the array and so creates as many…
Hi!
I have a following Kohana setup:
All my files are placed under 'public_html/koh'
My js files are placed under 'public_html/koh/media/js/'
I use html::script helper to include those javascript files which generates me following html code:
In my js I access one of controllers like 'json/getsomething' (which is…
I'm trying to query a pivot table with Kohana's ORM and I'm wondering if there is a built in function I'm missing. Currently I only have 2 models setup for the tables "categories" and "products". There is a pivot table "categories_products", but I don't need a model for it when inserting data with this:
$product =…
I'm using Kohana 2. I would like to catch a database exception to prevent an error page when no connection to the server can be established.
The error displayed is
system/libraries/drivers/Database/Mysql.php [61]:
mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at
'reading initial…
I'm familiarizing myself with Kohana. I've been reading up on the Input library, which automatically pre-filters GET and POST data for me, and the Validation libary, which helps with form validation.
Should I use both together? The examples given in the Validation library documentation use the unfiltered…
Hi,
Can anyone help me with Kohana ORM. I can take out name and value. I can give them new values and I try to save them back to base, but in phpmyadmin i can see still old values for these option attributes. What is wrong with this code (it works and echos right value but i can't see it in db):
$option =…
When accessing
http://www.nowplayingnashville.com/event2/detail/440698386/Whatever
the controller shows normally.
But when omitting the last parameter (event's title, which can be any string),
http://www.nowplayingnashville.com/event2/detail/440698386/
It shows blank.
I added a default value and tried to…
Hi,
I'm attempting to set some custom routes in Kohana v2. What I'm looking for is some method that allow the system to :
follow a pre-defined name to it's related root;
redirect the non-matched url's into another controller;
To give you a more clear view over the problem, I want the first url…
Hi all,
I have recently started to use Kohana and I know inheritance is in infancy stages at the moment. The work around is using a $_has_one annotation on the child class model. In may case i have "page" as the parent of "article". I have something like,
protected $_has_one =…
Hi I have setup multiple application in Kohana v3, it works normally without enabling .htaccess (to remove index.php or admin.php)
my setup
+ system/
+ modules/
+ applications/
+ public/
+ bootstrap.php
+ ...
+ admin/
+ bootstrap.php
+ ...
+ index.php…
I am new to kohana and am developing a simple application that is using the useradmin module from http://blog.mixu.net. I am having, what I think, an understanding problem. At present the action_index redirects to user/profile when a non admin user logs in. I want to go to…
.I'm trying to set up a multi language website with kohana v3, following this tutorial: http://kerkness.ca/wiki/doku.php?id=example_of_a_multi-language_website
Routing to a controller or action within i.e. website/controller/action seems to work as the url is properly…
I am trying to post some data to a controller in Kohana 3 using the jQuery AJAX method. I seem to have an issue with the data not getting to where I want it to be. I want the data to go to the /application/classes/controller/stock.php file where the file will process…
I've setup my dev Kohana server to use an encrypted database as the default Session type. I'm also using this in combination with Auth to implement user authentication.
Right now my user's are able to authenticate correctly and the authentication keys are being…
My Kohana app runs perfectly on my local machine.
When I deployed my app to a server (and adjust the config files appropriately), I can no longer log into the app.
I've traced through the app login routine on both my local version and the server version and…
I'm using Kohana 3 and have a /doctrine/Entites folder with my entities inside. When executing the code
$product = Doctrine::em()->find('Entities\Product', 1);
in my controller, I get the error
class_parents(): Class Entities\Product does not exist…
Hi, I was using KohanaPHP ORM but I can't use it with my database table structure. So, I need a framework or library ORM to use with it.
With Kohana I need to follow a naming convention. I can't use a field name (foreign key) like 'idUnidadeMedida'.
Are…
I find examples and tutorials about models and about validation. And I places that say the validation (or most of it at least) should be in the model, which I agree with. But I can't any examples or tutorials that show how that should be done.
Could…
I attempted to use public function __construct(){} but got the error ErrorException [ Strict ]: Creating default object from empty value.
The reason behind this is that I use a controller that is protected for logged in users only, I don't want to…
I'm trying to create a custom route like:search/result/city/p1/state/p2/zip/p3/min/p4/max/p5/bed/p6/bath/p7/cats/p8/dogs/p9/parking/p10 Where search is the controller and result the action p1-p10 are variables.
I have log in functionality that will check for a session, if it not there the user will be redirected via Request::instance()-redirect('managers/error/1');
In the error action in the managers controller I can't get the value 1 which represents a…
hey, i want to format a date in mysql using
DATE_FORMAT(tblnews.datead, '%M %e, %Y, %l:%i%p')
i cant seem to get the quotes right , so i keep getting errors. how would you put this in a query?
I'm attempting to use a Model but I get a fatal error so I assume it doesn't autoload properly.
ErrorException [ Fatal Error ]: Class 'Properties_Model' not found
The offending controller line:
$properties = new Properties_Model;
The model:…
Hi,
I am trying to implement single sign on between an existing Drupal site a Kohana 3 based webapp. Ideally I would like to load Drupal's session information into $GLOBALS using the bootstap:
require_once('../includes/bootstrap.inc');…