Napster2k3 Posted May 12, 2012 Share Posted May 12, 2012 Hey, I just started coding a module on prestashop, It's my first one I need you to help me to find out the problem ^^ Problem: When I clik install on my module, it does not work and get the following error: PHP Codes: Modules Paths: Link to comment Share on other sites More sharing options...
MEG Venture Posted May 12, 2012 Share Posted May 12, 2012 Try this one for the install() function if (!parent::install()) return false; return true; Link to comment Share on other sites More sharing options...
Napster2k3 Posted May 12, 2012 Author Share Posted May 12, 2012 == FALSE or '!' indicator is the same, and does not change anything. Thanks anyway for your reply, It still does not work.. Napster Link to comment Share on other sites More sharing options...
MEG Venture Posted May 12, 2012 Share Posted May 12, 2012 OK, no problem, sometimes those kind of syntax make sense I couldn't see the config.xml and translation files like en.php You can try to add them. Link to comment Share on other sites More sharing options...
MEG Venture Posted May 12, 2012 Share Posted May 12, 2012 BTW, the name of the module should be the same with the name of the module folder and the name of the main php file. I mean you should write $this->name = 'autodeliver'; Also for the uninstalling command from db instead of mymodule you shpuld write autodeliver. 2 Link to comment Share on other sites More sharing options...
Napster2k3 Posted May 13, 2012 Author Share Posted May 13, 2012 BTW, the name of the module should be the same with the name of the module folder and the name of the main php file. I mean you should write $this->name = 'autodeliver'; Also for the uninstalling command from db instead of mymodule you shpuld write autodeliver. BTW, the name of the module should be the same with the name of the module folder and the name of the main php file. I mean you should write $this->name = 'autodeliver'; Also for the uninstalling command from db instead of mymodule you shpuld write autodeliver. You made my day, i'm so stupid Thanks you so much Napster 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