module_developer Posted May 28, 2013 Share Posted May 28, 2013 Hi, I have created a module and made full testing whether there is any error or not. I didn't got any error and after that I just uploaded my module to prestashop addons. But after some days I got an email from their side that After carefully reviewing your module "XXX modulename , we regret to inform you that we were unable to approve your submission for the following reasons... PHP errors: "No errors" Functional errors: "No errors" Installation errors: "No errors" Our comments: "Your module throws a "DbException" (cf attached file)" and in attached file they had sent an image file where they had made marked an error.The error was like this [PrestaShopDatabaseException] Table 'Test2.ps_country' doesn't exist Now I want to tell that table ps_country comes when you make install prestashop and this table stores all the details of the countries in it. I am using prestashop 1.5.4.1. Kindly tell me how to solve this issue? Any help and suggestions will be appreciable. Thanks.. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted May 28, 2013 Share Posted May 28, 2013 Hi, do you use the "_DB_PREFIX_" prefix for you DB-requests? Or all your query use "ps_" prefix for all tables. Regards Link to comment Share on other sites More sharing options...
module_developer Posted May 28, 2013 Author Share Posted May 28, 2013 (edited) http://www.prestashop.com/forums/index.php?/topic/250483-prestashop-module-error-from-the-development-site/page__view__findpost__p__1245019 @Alexander Simonchik thanks for the reply. Yes I have used ._DB_PREFIX_. in my code for DB request. Edited May 28, 2013 by module_developer (see edit history) Link to comment Share on other sites More sharing options...
module_developer Posted May 28, 2013 Author Share Posted May 28, 2013 Hi, do you use the "_DB_PREFIX_" prefix for you DB-requests? Or all your query use "ps_" prefix for all tables. Regards @Alexander Simonchik thanks for the reply. Yes I have used ._DB_PREFIX_. in my code for DB request. 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