I'm getting a
ErrorException [ 2 ]: fopen(Unknown) [function.fopen]: failed to open stream: No such file or directory ~ SYSPATH/classes/kohana/core.php [ 1213 ]
after I finish the 'install'. It's the same problem as featured here , but I still don't find a solution to it. Anyone with experience with this ?
...
When I use the form::open in Kohana 3, I get this
<form action="/my-site/index.php/bla" method="post" accept-charset="utf-8">
Nowhere on my site do I rely on the index.php being there. I think it looks ugly. Is there an easy way to remove the index.php from it.
Obviously I know I could do a str_replace(), but I thought there may be...
Kohana's Validation library has a pre_filter() method which lets you apply any PHP function to fields to be validated, as trim(), etc.
I tried to use a static method as a filter, but won't work:
$validation->pre_filter( 'field_name', 'class::method' )
What that does is create two filters, one with class and antoher one with method.
A...
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 examples
Route::set('products', 'products/(type)', array('type' => '.+'))
->defaults(array(
'controller' => 'articles',
'action' => '...
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/
...
How do I go about integrating Simpletest with Kohana 3? I have checked out this answer but I like to use the autorun.php functionality from SimpleTest.
...
I've put the Zend library folder into classes folder of my app and renamed all files and folders to lowercase ( using Ant Renamer ).
When I call Zend_Feed, instead of loading /classes/zend/feed.php, kohana loads Zend from my servers share\ZendFramework\library\Zend\ (Zend Server), so I get a Cannot redeclare class Zend_Uri_Http error.
...
Hi, I am newbie to Kohana (v3 used).
When I run the Hello World example.
If I link to another css file, the css doesn't work.
Original example works well.
Let's go and make the view file application/views/site.php for our message:
<html>
<head>
<title>We've got a message for you!</title>
<style type="text/css">
...
Trying to deploy a Kohana based project in CentOS 5. Installed PHP 5.3.1 but still getting the following error.
Warning: preg_match() [function.preg-match]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /usr/local/apache2/htdocs/icarus/system/core/utf8.php on line 30
Fatal error: PCRE ha...
Hello,
I was looking on many template libraries, som I have fair mess in general idea what is out there ready to download/use and what I want to use, so maybe you could help me with this.
I'm currently learning CodeIgniter, thinking about moving to Kohana later. I would like to include controllers/modules(/module function maybe?) based...
I'm trying to "faux-fork" a process (an email being sent via SMTP) in my web application, and the application is built on Kohana.
$command = 'test/email';
exec('php index.php '.$command.' > /dev/null/ &', $errors, $response);
I'm getting an error --
Notice: Undefined index: SERVER_NAME
When I look into Kohana's index.php f...
so here's the problem
I have 3 types for a hotel
premium
featured
basic
I am trying to display a list of hotels and sort them so that featured hotels are the first shown
what mysql query would accomplish this?
EDIT
here's the table, with some fields stripped
ID | hotel_name | type
=======================
1 | Aria Hotel | basic
...
Hi my dev environment like this,
Winxp pro;
Kohana v3.03;
XAMPP Windows 1.7.3;
I followed the wiki guide to remove index.php file
http://kerkness.ca/wiki/doku.php?id=removing_the_index.php
But when i try to rename example.htaccess to .htaccess . Windows alert "you must type a file name"... Is there any solution about it?
Appreciate...
Using the Kohana framework, how would you validate a date of birth given 3 separate drop downs? If an error occurs, only one error should show.
...
I noticed today that the auto login for the Auth module in Kohana does not work. I snooped around a little and I think I found the problem.
The authautologin token is saved in a cookie and the database just fine whenever I login with "remember me" enabled. However, everytime I logout, the cooie gets destroyed.
Looking in the Auth libr...
I'm building a Kohaha application to manage sip lines in asterisk.
I'm wanting to use ORM but I'm wondering how do relate certain tables that are already well established.
e.g. the table sip_lines looks like this.
+--------------------+------------------+------+-----+-------------------+-----------------------------+
| Field ...
I just started using Kohana a couple days ago, and I have a few questions that I cant seem to find an answer to anywhere.
Using ORM, how can you package information before you send it off? If I have a user model, and each user has a username, email, date of birth, etc... how can I package information (like add the users age as a propert...
Using the ORM, I want to be able to load all articles that posted, in which a user has made a comment.
comments table
comment_id
user_id
article_id
etc....
Using ORM, I can access all articles posted by a user, but how would I be able to access all articles in which the user has commented on?
Thanks
Edit:
Another problem is, if a...
Hi guys,
I've been looking at the Kohana docs , for a project I'm planning to make that needs an user-system. I noticed the Auth module but when I tried to figure how to use it the docs were little to no help , so I searched the internet - but everything I found was either outdated or didn't answer my questions, so I was hoping you coul...
I've tried these
request::is_ajax()
Request::instance()->is_ajax
To no avail. I've noticed in the request class there is a public property $is_ajax but I can't seem to be able to access the property.
What am I doing wrong?
UPDATE
I ended up getting it to work with Request::$is_ajax
...