Sunrise Solution Posted November 17, 2011 Share Posted November 17, 2011 Help me ,Please ! I'm writing a module but it does its error : The following module(s) couldn't be loaded: 1. sukien (parse error in /modules/sukien/sukien.php) 2. sukien (class missing in /modules/sukien/sukien.php) This is file config.xml : <?xml version="1.0" encoding="UTF-8" ?> <module> <name>sukien</name> <displayName><![CDATA[Module Su kien]]></displayName> <version><![CDATA[1]]></version> <description><![CDATA[Thong bao su kien sap dien ra]]></description> <author><![CDATA[Hungpx]]></author> <tab><![CDATA[advertising_marketing]]></tab> <is_configurable>1</is_configurable> <need_instance>0</need_instance> <limited_countries></limited_countries> </module> And This is function __contruct() for file modules: function __construct() { $this->name = 'sukien'; $this->tab = 'advertising_marketing'; $this->version = 1.0; $this->author = 'Hungpx'; $this->need_instance = 0; parent::__construct(); $this->displayName = $this->l('Module Su kien'); $this->description = $this->l('Thong bao su kien sap dien ra'); } Name of moules is "sukien". I put the class name following modules class Sukien extends Module If I copy the name "sukien" in _conntruct function () and paste the name of the config.xml file has no errors, but about 5 to 10 minutes after the error occurred, even though in that time I did not revised code. Who can help me? Thank you very much Link to comment Share on other sites More sharing options...
Nuvish Posted January 10, 2012 Share Posted January 10, 2012 Any solution to this? Im getting the same error. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now