Welcome Guest, Not a member yet? Register   Sign In
Error in parser class

Hi! First of all, sorry about my english.

_I´ve got an error when trying to load libraries in config/autoload.php

Quote:Fatal error: Cannot redeclare class ci_parser in /home/ninjaweb/domains/jmlweb.es/public_html/demo/jml/system/libraries/Parser.php on line 27

If I load the libraries in the controller, I don´t get that error.

Here is my code:

CONTROLLER (portada.php)


class Portada extends Controller {

    function __construct()
    function index()
        $data = array(
            'url_base' => site_url()
        $this->parser->parse('portada', $data);

I´ve copy all the application in my localhost WAMP.

I don´t get that error.

Theme © iAndrew 2016 - Forum software by © MyBB