Jump to content

My Custom module installed but not work


Beh

Recommended Posts

Hello 

I wrote a custom module and installed it in PrestaShop. The installation was successful, but it seems that my module install() method was not called at all and its database tables were not created. What is the problem?
My module is also detected as unreliable but the module is installed.

My PS version is 1.7.6.7

Link to comment
Share on other sites

I would say:

  1. set up a TAIL -F on your webserver logs so you can see any PHP errors
  2. Go into the Module Manager and Reset your module - this will rerun the install() method

Of course it is best to do this on your development copy first until all problems are resolved, before uploading to your production shop.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...