Coder Social home page Coder Social logo

codeigniter-dwoo's People

Contributors

achrafsoltani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

codeigniter-dwoo's Issues

Undefined property: CI_Output::$parse_exec_vars

Getting this error with the latest stable version of CI - Can't find any reference to "parse_exec_vars" in the output library... ?

Severity: Notice
Message: Undefined property: CI_Output::$parse_exec_vars
Filename: libraries/MY_Parser.php
Line Number: 172

Missing quotations in MY_Parser?

I'm new to this library, but getting errors immediately on line 158 in MY_Parser.php:

Parse error: syntax error, unexpected '[', expecting ')' in /application/libraries/MY_Parser.php on line 158

The code appears as so:

$string = str_replace(array('{elapsed_time}', '{memory_usage}'), array('[elapsed_time]', [memory_usage]), $string);

Putting single quotes around [memory_usage] doesn't seem to do the trick, so I'm stuck in the starting blocks.

Lots of errors

This thing has lots of errors...

//class MY_Security_Policy extends Dwoo_Security_Policy {

// public function callMethod(Dwoo_Core $dwoo, $obj, $method, $args)
//{
//return call_user_func_array(array($obj, $method), $args);
//}

////public function isMethodAllowed()
//{
    //return TRUE;
//}

//}

What class is it extending? it doesn't exist. Im learning php but im trying to get it to work with ci 2.0.2 If i get it to work i will do a pull request. I think thats what it is :)

Cannot access protected property MY_Loader::$_ci_cached_vars

Hi,
I'm trying to use the Codeigniter Template library (Phil Sturgeon's one), infact I posted this error in the repo for that library, but it's a dwoo related error.

It happens that when I try to run the dwoo_test I get this error:

PHP Fatal error: Cannot access protected property MY_Loader::$_ci_cached_vars in /home/carlo/public_html/website/application/libraries/MY_Parser.php on line 146

On line 146 there's this:


I'm using the last CodeIgniter version downloaded from github.

Any ideas?

Cannot access protected property CI_Output::$parse_exec_vars

Hi Phil,

Just stumble upon this error with the latest CI update (2.0.1) it appears to be the change in proprieties scope of the Output class witch is now protected.

This bug appear to be in codeiginter, since the propriety $this->output->parse_exec_vars no longer works either.

Just want to confirm with you first.

MY_Parser.php

Fatal error: Class 'MY_Security_Policy' not found in**/application/libraries/MY_Parser.php on line 66

Dwoo_Exception

I get this when i try to parse {elapsed_time} inside welcome_message.php view file from a fresh CI installation. If I remove it, the page is rendered,

An Error Was Encountered
exception 'Dwoo_Exception' with message 'Plugin elapsed_time can not be found, maybe you forgot to bind it if it's a custom plugin ?

.. and then the stack trace..

maybe I need some custom configuration or add another file that have functions that load and execute '{function_name}'. Add a 'function_name' to $config['parser_allowed_php_functions'] not work.

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.