I checked if had set setlocale(LC_ALL, 'nl_NL.utf-8') in my bootstrap and I had.

So I found out (with `system('locale -a')` returning `C POSIX`) that none of this 'set-locale'-functionality is installed.

I spend a lot of time debugging and searching the internet, so I am kind of pissed of. Should I blame my provider for not making setlocale() work, or is the problem with Zend Lucene and is its use of current locale encoding outdated?]]>Kohana 3.3http://forum.kohanaframework.org/discussion/9785/kohana-3-3
Sun, 02 Oct 2011 00:50:55 +0000fredkohana9785@/discussionsI Hope Kohana 3.3 will support namespace natively :D,
I've seen in the roadmap kohana3.3, have a lot feature request, and thats good,

I've been mentioning here and there that I was building a modern Kohana 3 CMS, and today I celebrate that it has reached a first Alpha state! \o/

The open source project can be found at Github on https://github.com/fabricasapiens/Wi3 .
Installation instructions are included, but if you want to see a live version, you can send me a private message.

I would much appreciate a 'watch' on the project...!

]]>The best IDE for PHP developmenthttp://forum.kohanaframework.org/discussion/186/the-best-ide-for-php-development
Mon, 24 Mar 2008 12:53:59 +0000Edemilson Lima186@/discussionsI would like to know which IDE you guys think is the best for PHP developing, what do you use and what commercial version you should use instead if you could pay for it.
By the way, I found the links below very interesting:

What do you think about there being a forum tab that combines all the English forum categories?
Currently it is not (to my knowledge) possible to see all discussions in the forum without also getting all the Russian forum posts. Am I being terribly ethnocentric? Does everyone just Google Translate everything?

I would like to share my latest project.
I couldn't find and buy an ElePHPant wich comes in the colors blue, pink or green.
So i asked a tailer if she could create one in the colors of PHP which is purple.
This is a world's first! What do u think ?
I think its awesome!

Since long time a go I've been thinking in the future of Open Classifieds (OC) http://open-classifieds.com/ and we need to move forward to grow more ;)

I think right now OC it is a great product and is helping a lot of people, more than 100K downloads and thousands of sites running this software are the best indicators.

The biggest problem as a development team we've been facing is the scalability of the code. This started as an small script with really limited functionality, that I used to learn PHP. Not best practices implemented and lot of technological debt that needs to be paid.

So as a resume, I can say that what we want to achieve with OC 2.0 is:

-Get same features as latest release
-Improve quality of code
-Have coding standards
-Do good code documentation
-Allow the project to evolve without big problems
-Create a configuration manager (the one we have right now is poor)
-Automatic upgrades
-Plugin system

For current users we will prepare as always an upgrade tool to make it super easy.

Project planning is going to be done using pivotal tracker. Is an easy way to handle stories and control which work is done.

If someone were to visit /gallery, the routes will reroute to the gallery controller.However, if someone visited /contact or /about, the routes will reroute to the pages controller. In the pages controller, I'll do something like call the DB for the page view.

So, my question is, what is the best way to implement this? I've tried 2 different methods:

The first is setting the routes regex and manually setting the pages that exists in the DB like:

However, I don't really like to do it manually. I have another idea of try-catch the Request instance but I'm not sure how to implement this.

Any ideas?]]>thank you ! (from Lille, Nord Pas-de-Calais, France)http://forum.kohanaframework.org/discussion/11699/thank-you-from-lille-nord-pas-de-calais-france
Mon, 15 Apr 2013 10:15:37 +0000hefeust11699@/discussionswell I started using Kohana three months earlier for a project of 'SVN repositories management' for teachers and students users.
my app's quite little, I have 3 controllers and a lot of AJAX/XHR talking with them.
Kohana had perfectly suited for my needs and goals
so greetings for the team and the (very responsive) community !

so... (in french) bonne chance a tous !

]]>what's the best place to post a job offering on this boardhttp://forum.kohanaframework.org/discussion/11577/what039s-the-best-place-to-post-a-job-offering-on-this-board
Sun, 03 Mar 2013 22:37:37 +0000deepwinter11577@/discussionswhat's the best place to post a job offering on this board? I don't want to post in the wrong spot. Looking for a developer with Kohana experience.
]]>Am I causing redmine to go down?http://forum.kohanaframework.org/discussion/11499/am-i-causing-redmine-to-go-down
Mon, 04 Feb 2013 03:03:54 +0000mauserrifle11499@/discussionsOk now it happened to me twice at the exact same moment. Not sure if it's coincidence or I am breaking your redmine installation :p

]]>PDF Generator for Kohanahttp://forum.kohanaframework.org/discussion/1865/pdf-generator-for-kohana
Wed, 14 Jan 2009 11:04:09 +0000bennythemink1865@/discussionsI thought I'd share this with ye. I was handed some PHP classes for creating PDF docs this morning and was charged with integrating them into our Kohana system. I don't see any point in other ppl having to repeat work so click the link above to download. Simply unzip it into the vendors folder of your kohana system and place the template PDF doc somewhere relative to your index.php file.

It works fine for us but I have not tested all its features or how its use might affect performance so please dont just drop it into a production environment without checking it out first.

anyway enjoy,benny :)]]>Kohana vs Yiihttp://forum.kohanaframework.org/discussion/8807/kohana-vs-yii
Fri, 22 Apr 2011 06:20:00 +0000Kemo8807@/discussionsThe company I'm currently working for uses Yii framework for a year now. As a Kohana evangelist I felt obligated to at least have the PHP team (quite a few developers) look at it so we can get to using Kohana in the future. My problem is I don't really have enough experience with Yii to compare it directly to Kohana and the next friday is my deadline for the "Kohana vs. Yii" presentation.

I need everyone who used Yii here to give me info on exact topics you'd point out as advantages / flaws. Mine current arguments are:

No pattern abuse / misuse (e.g. having the Event / Behaviour patterns in Yii opposed to Kohana where nothing 'hacky' like that is used)

No convention abuse - Yii has quite a few convention flaws, e.g. using eval() "natively"

Actual hierarchy - Kohana has class naming / file system placement conventions strictly defined opposed to Yii where ... classes can be all over the place

Modularity - the ease of adding modules and overriding / extending framework's classes inside of them

HMVC - being "what PHP always missed", having a useful pattern like this and respecting the RFC 2616

Know what the framework is doing by reading it's clean, well documented code (opposed to Yii where the coding convention itself isn't readable, not to mention having the whole method commented before it's definition only)

You want to program and not write arrays

I'll add new things here

I need you to provide me with as many examples as possible. This is a really great development team I'm talking about so I'd love if they could actually "start looking" :)

I'll make a slideshow and put it on slideshare for all future references.

It's just save it in the memory, I want save it to the config.php file, how can i do it ?thank you very much ;)]]>Request view after fetching posthttp://forum.kohanaframework.org/discussion/11314/request-view-after-fetching-post
Wed, 28 Nov 2012 11:06:43 +0000pt011314@/discussionsWithin the same controller I am passing the post data:

I wrote an application about two years ago (I did it in Kohana 3.2/develop branch though). My idea started just by exploring the 3.2 changes and see how I liked them. At the time, I just loved Smarty templates (not a big fan today, as i developed towards using just pure php). It also had really nice admin backend, but when the project was like 80% finished, I just gave up on it (you guys know how it is ... )

Anyways, I ported the code to 3.3/master and rewrote some things, got rid of smarty, followed coding guide etc. and would like to share my project for any of those who wants to see how finished Kohana 3.3 product may look like.

]]>3 ways relationship through ORM?http://forum.kohanaframework.org/discussion/11245/3-ways-relationship-through-orm
Wed, 07 Nov 2012 04:44:56 +0000pt011245@/discussionsIs that possible? I am using 'through' with 'far_key' and 'foreign_key' but every time in my pivot table (users_items_descriptions) I got records doubled:

user_id, item_id, description_id - (1, 27, 0) (0, 27, 50), on first row description_id is not stored, on the second user_id.

I am thinking about using kohana to start an opensource project and would like to hear from any seasoned kohana users about it´s feasability.

General:It is a public participation platform which will be used to gather information ie reports from either anonymous or registered users.

so the first thing the application needs is the authentification modules, but also the ability to allow non-registered users to send their reports.

reports from users/anon will be saved in a database.

registered users will need a backend area to see what they have written.

when a report has been written, it will have either the status of "draft" or "sent". A report that has a "draft" status is basically just a report which the user can read and edit. A "sent" report cannot be edited, but can be seen by the user who wrote it.

(this is the hard bit I think!) Reports are made with reference to either a pdf document with chapter title being the reference point of the report - OR/AND as a reference to a Map which will be coded using the openlayers library. I would imagine this as a view which has two tabs..."text" and "map". the "text tab would show the pdf and the chapters. A users/anon user would be able to use a drop down box to pick a chapter. The chapter would then be displayed in the pdf, and beside the pdf display would be a form which would be used to write a comment. The chapter, username, time, and comment would all then be saved into the database. In the "Map" tab the map would be displayed and using the openlayers drawing tools, the users would be able to sketch geometry into the map and write a comment regarding the sketch.

Besides the anon users and registered users, there would also be an admin user role/s who woul be able to see,edit ,delete, comment privately to "sent" reports.

So all in all a platform for public participation using pdf and maps as a reference for reporting.

Can anyone tell me whether this kind of application is feasable using kohana 3.3? or earlier versions? Are the modules/bundles/ etc available to implement pdf reading and bookmark reading from pdfs?

...and am using this to create a simple template but I am getting "Unable to find a route to match the URI: template.php" Kohnan is expecting a file called template.php to be in classes/Controller I assume..but the tutorial says I don´t need it!?!?!

I am passing session between controllers, when the final controller is reached I just destroy the session, but the same time I use the Auth method to authenticate the users. As you may suspect, when the session is destroyed, the user's session is destroyed too.

How can I destroy selected session and keep the user logged in? I tried to use the session names, but I do not know if that's the right thing in my case.

It is built on kohana, and has been the biggest project i built using this framework so far. I have to say, apart from the external request status isolation (that will be fixed in 3.3 afaik), kohana was the perfect building ground for this (relative to my experience). We have given emphasis to the multiplayer aspect and tried to make the experience as unobtrusive as possible. Note that it's a work in progress or so to speak. Any feedback at all would be more than welcome!

Thanks in advance!

]]>Route for two actions within the same controllerhttp://forum.kohanaframework.org/discussion/11151/route-for-two-actions-within-the-same-controller
Sat, 06 Oct 2012 15:57:41 +0000pt011151@/discussionsI am trying to set a route for 2 different actions within the same controller, but mu goal is to have the same url (not altered with the action name). eg http://localhost/record

Is there a clear way how to do it? I was playing around with params and actions, while setting up the route, but I cannot figure it out.

Thanks

]]>Populate a form based on data from anotherhttp://forum.kohanaframework.org/discussion/11120/populate-a-form-based-on-data-from-another
Wed, 26 Sep 2012 05:47:59 +0000pt011120@/discussionsWhat would be the best practice for Kohana?

I used to be very active in the KohanaPHP community and I know a fair amount of you are excellent PHP programmers so I thought I would throw this opportunity out there. Unfortunately you wouldn't be doing any development in Kohana, only for our company's WordPress plugins - you would get to work closely with WPEngine (Jason Cohen is an investor in our company) as they are featuring our plugins to their customers. Our primary web application is built on-top of nginx, uWSGI, Python, and the Pyramid framework (alternatively, we are looking for a full-time Python programmer in Austin, TX; if you can do both excellently then we would be very interested).

The Opportunity

Chance to work with a small, funded, and growing startup on interesting products.

Compensation is competitive provided your skill set and experience are advanced and professional (ie, I'm willing to - and can - pay well for high-quality programming).

About Us

Whoosh Traffic (http://whooshtraffic.com) is a funded company that is close to profitability with four solid products, many paying customers, and about 2% growth per-day. We offer easy to use tools to business owners and marketing heads to track the ROI and progress of their SEO campaigns. Whoosh Traffic is located in Austin, TX at the Capital Factory offices in downtown Austin.

About Me

I'm Parnell Springmeyer and the CTO/Co-founder of Whoosh Traffic. I've been with KohanaPHP since the Code Igniter -> Blue Flame -> Kohana days; I contributed code to Kohana and also produced many community modules. I'm an Erlang, Haskell, and Python programmer these days and use Erlang quite a bit at Whoosh Traffic for our major system services and API's.

If this interests you and you feel you meet the (very general) criteria above, I would like to talk to you further: jobs@whooshtraffic.com

]]>ORM->orderby(rand())http://forum.kohanaframework.org/discussion/1953/orm-orderbyrand
Tue, 27 Jan 2009 07:46:24 +0000ericsimard1953@/discussions
SELECT * FROM tbl_name ORDER BY RAND() LIMIT 1
how can i do that with ORM???

ORM::factory('...')->orberby(rand())->limit(1)->find() // does not work]]>Develop Kohana community ?http://forum.kohanaframework.org/discussion/10978/develop-kohana-community-
Thu, 02 Aug 2012 16:00:36 +0000smpleader10978@/discussionsKohana is great framework !
But i find Kohana community lack of activities. Kohana community is not large as its fame.
Most of my customers required solution from Codeigniter rather than Kohana. And forums object to Codeigniter is more .
The market share of Kohana is still small ?
Most of my colleagues think Kohana is greater, and I know this is true,
Should we do something ? Openday, events, or anyway to develop Kohana community .
Hope someone join and discuss.
Thanks for reading.
]]>