Search Results

Search found 8 results on 1 pages for 'kohanaphp'.

Page 1/1 | 1 

  • KohanaPHP redirection loop

    - by sorrko
    Hello, I got problem. I'm builing an app with KohanaPHP framework and I got rediretion endless loop. Here's the code I put in constructor oh my main controller: if(empty($this->user->real_name)) { url::redirect('/'); } Any ideas how to solve that issue?

    Read the article

  • Kohana3 - ErrorException [ Notice ]: Undefined index: id - Error calling Auth::instance()

    - by ahmet2106
    Hello everybody, I've now a Problem with the newest Version of KohanaPHP (kohanaphp.com). After I've registered me and logged in into my test page, some minutes later, there is now the error: ErrorException [ Notice ]: Undefined index: id MODPATH/orm/classes/kohana/orm.php [ 1316 ] 1311 * 1312 * @return mixed primary key 1313 */ 1314 public function pk() 1315 { 1316 return $this->_object[$this->_primary_key]; 1317 } 1318 1319 /** 1320 * Returns whether or not primary key is empty 1321 * I've searched a lot in Google, but i never found an answer, the Problem now is, that I cant reloggin to get a new instance, because I've to call Auth::instance()-login() again, and Auth::instance() is not callable. Whats todo now, how can I fix it, is there already a new Version of ORM or Auth Module? Thanks everybody Ahmet

    Read the article

  • Understanding Smarty and MVC Frameworks

    - by Korrupzion
    Hello there, I just created this thread to discuss with people who have adopted the smarty system, and how many time it took to you to understand it, because i just can't get the idea, instead of making every easier as everybody says i think it just make more complex to code. More than a problem with only smarty is with the whole MVC model, with CakePHP or KohanaPHP i experience the same problems, u need to do 3x lines of code and files for something that u can do with a few lines of simple php. Maybe u can tell how did u learned to code using MVC model :)

    Read the article

  • How to quickly learn Python and Ruby frameworks coming from a PHP background.

    - by mdm414
    I've been using CakaPHP and Kohanaphp but now I want to try out other frameworks from a more sophisticated OOP language for my next projects. How can I learn the following frameworks quickly so I can immediately pick what to use: Pylons Sinatra Ramaze Tutorials and examples from online resources would really be great. For php developers who've already underwent this learning experience, please share yours. Thanks

    Read the article

  • How to install custom modules in Kohana 3 framework

    - by BPS
    I'm learning framework KohanaPhp 3 and I have a problem with adding a module called kolanos-Kohana-captcha. What I've done so far is: I copied the directory kolanos-kohana-captcha into modules directory Copied kolanos-kohana-captcha/config/captcha.php to file application/config/captcha.php Edited the file and added Bootstrap.php Kohana::modules(array (... 'captcha' = MODPATH."kolanos-kohana-captcha ', )); But it does not work: (Whenever I want to use class Captcha kohana shows the error "class not found." I'm doing something wrong? Is this a problem with the module? There are some other modules to handle the captcha in Kohana 3+?

    Read the article

  • Kohana v3 ACL A2 with database support

    - by Asif
    Hi, I am using Kohana V 3.0.3. I was looking for ACL library and found from http://dev.kohanaphp.com/projects A2 Kohana's ACL module. Apparently it's found that, it manages Roles,Resources and Rules using config file and authenticate object basis. I want it to be dynamic, like Resources and Rules should be loaded from database dynamically if valid user logs in. Auth part is done now looking for ACL part. Is it possible to use same A2 module with database or need to rewrite own logic?

    Read the article

1