Well, I created a simple module for a yachting site that has yacht specifications and images that are all editable from the admin section. The thing is that I haven't coded it following the pnAPI cause I don't have the luxury of spending time to read the pnAPI guide...
When I finished the module which had the name Boats and it worked fine, the customer told me he wanted to be called Yachts. I renamed it and everything went smooth except from the fact that at the bottom of the template in the admin section of Yachts it displays this error: error : admin_execute(modules/Yachts/admin.php,Yachts_admin_main). Admin section of Yachts works fine but I don't want for the customer to see this message when he's adding/editing/deleting yachts.
I've read somewhere that by re-installing it will be fixed. I did that but nothing happened. Anyone knows how this can be fixed?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Admin_execute problem
-
- Rank: Helper
- Registered: Jan 29, 2004
- Last visit: Oct 21, 2009
- Posts: 852
That problem seems to occurr when you rename the directory the module is in and you don't change the code accordingly.
One option is to roll back to the situation you had (when it was called boats). Then goto Administration -> Modules click edit at the entry for Boats and rename to Yachts. That way all references to the module will look like Yachts.
Unless you make a download of the code available there's not much more I can do for you :?
HTH
- Moderated by:
- Support
