Jump to content

[SOLVED] Problems with getting a plugin into PrestaShop


Rickard Lund
 Share

Recommended Posts

Hi everybody, I'm new here, so bear with my shortcomings.

I'm a intern/developer, writing a plugin for my company at the moment. I've set up the plugin specification as dictated by all the guides I've found.
I've also made sure that the plugin is following these instructions:

http://www.prestashop.com/bug_tracker/view/4088/

The problem is that when I try to upload my .zip-file with the form in the Back Office, it displays the "Success"-message, but the plugin is nowhere to be found, and nothing has been added to my modules folder.

I've been trying out a whole bunch of different things, and I've just run out of options.

The enviroment is on my localhost, on OSX 10.6.3 (Snow Leopard), Apache 2.2, MySQL 5+ and PHP 5.2. Are there any known conflicts in any of this? Could it be because of the autogenerated .DS_Store-files? (Shot in the dark, but hey, stranger things have happened). Anything ... really.

I'd be most grateful if anyone could please tell this noob wtf he's doing wrong.

Best regards

Share this post


Link to post
Share on other sites

Most likely, there is an error in the module. Check your PHP errorlog or edit config/config.inc.php and temporarily change 'dispay_errors' from 'no' to 'yes'. Post the error message here.

Share this post


Link to post
Share on other sites

Thank you for teaching me that! I was under the impression that debugging was somehow a dead case. :/
I found what was wrong. I had a _ instead of __ in front of the parent::__construct() call.

I owe you big time! :) Thanks for the assist!

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

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