Jump to content

Create Module for PS-1.6.0.8


unbreker
 Share

Recommended Posts

Hi to all,

I'm new with prestashop, apologize me if I open a new topic but, after googled for 3 days, I've not found a solution for the problem below.
I need to create a module that interacts with the database of PS, for reasons that are irrilevant for this context.
I followed these guides,
 
Creating a first module
creare-un-modulo-prestashop
creazione-di-un-modulo-prestashop

but without succes.

 

This is the screenshot of what I see when i reload the backoffice/module page

 

294408g.png

 

Can someone help me?

Share this post


Link to post
Share on other sites

The error mentions that the class csvimport is missing.

 

 

- Double-Check if the module file csvimport.php is located in folder /modules/csvimport/    (all lowercase!)

 

edit the file and check if at the top after any comment), you have these lines:

 

class CSVImport extends Module
{
 
public function __construct()
{
    $this->name = 'csvimport';     // <-- lower case
 
 
 
 
My 2 cents,
pascal

Share this post


Link to post
Share on other sites

  • 2 weeks later...

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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More