Jump to content

Starting to code a modul and error already happens


Napster2k3

Recommended Posts

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:

 

b490401786f42ed6134b0d138fa32126.png?1336854810

 

PHP Codes:

 

d513044ad21beee72b05606abc409b97.png?1336854677

 

Modules Paths:

 

419414f125555f0fefd96158794b1499.png?1336854974

Link to comment
Share on other sites

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.

  • Like 2
Link to comment
Share on other sites

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

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...