Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get plug in working on windows. Works fine on mac. #49

Closed
sunscreem opened this issue Sep 12, 2019 · 4 comments
Closed

Cannot get plug in working on windows. Works fine on mac. #49

sunscreem opened this issue Sep 12, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@sunscreem
Copy link

sunscreem commented Sep 12, 2019

Description

I've spent the entire day trying to understand why, when a colleague installs this plug in, the migrations all run correctly but do not for me.

The only difference (same codebase, same database) is I'm on windows (Laravel Homestead) and he's on Mac (using Laravel Valet).

We are both on the same versions of mysql & php.

The problem seems to be that the plug in just refuses to create the field_subscriptionPlan_ * fields.

image

That screen grab is from my friends matrixcontent_enupalmultipleplans table.

This screen grab is from mine.

image

I can't work out in the source code why this isn't working.

I've checked the error logs, I've scrutinized the mysql queries, I've dived into the source as much as I can and I can't work it out.

Additional info

  • Craft version: 3.2.9
  • PHP version: PHP 7.3.8-1+ubuntu18.04.1+deb.sury.org+1 (cli
  • Database driver & version: 8.0.17 - MySQL Community Server - GPL
  • Plugin version: 2.0.6

This is related to #37 - which gives you an idea of how long and how frustrating I've found this problem. ANY help appreciated.

@andrelopez andrelopez self-assigned this Sep 20, 2019
@andrelopez andrelopez added the bug Something isn't working label Sep 20, 2019
@andrelopez
Copy link
Member

Hi @sunscreem Could you please confirm if you have enabled the useProjectConfigFile in the config/general.php file? I believe that it could be a possible bug related to that setting.

@sunscreem
Copy link
Author

Hey. Yeah - thats enabled.

@andrelopez
Copy link
Member

I have reported a bug on Craft CMS here craftcms/cms#6161

@andrelopez
Copy link
Member

Hi, we just release Stripe Payments v2.7.0 with a fix to this issue. Please let us know if that works.

Please follow the next instructions:

  • From your primary environment, update Stripe Payments to v2.7.0
  • remove the config/project.yaml (we'll rebuild it on next steps)
  • Uninstall the plugin
  • Install the plugin
  • run php craft project-config/rebuild

The project config file should be fixed. Please let us know if it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants