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

VVV Subfolder Installation Issue #717

Closed
magbicaleman opened this Issue Sep 8, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@magbicaleman
Copy link
Contributor

magbicaleman commented Sep 8, 2015

In VVV the Wordpress installation is /wp. In the following file

/public_html/content/plugins/s2member/includes/classes/utils-s2o.inc.php

The wp_dirstatic function seems to want to reduce it's absolute path till it reaches /, while trying to load the /wp-settings, based on the plugins path, but if the plugin is in a separate folder structure, that is not in the subfolder then it results un the following error

ERROR: s2Member unable to locate WordPress directory.

Our plugins current absolute path is the following;

/public_html/content/plugins/s2member/s2member-o.php

As you can see above the condition above will never be true for our current WP_DIR which is.

/public_html/wp

This causes errors loading the js and css from the s2member-o.php file.

@jaswrks jaswrks added the bug label Sep 9, 2015

@jaswrks

This comment has been minimized.

Copy link
Contributor

jaswrks commented Sep 9, 2015

Thanks for reporting! It does look like a bug and we can certainly work to improve.

@jaswrks

This comment has been minimized.

Copy link
Contributor

jaswrks commented Oct 16, 2015

Next Release Changelog:

  • (s2Member/s2Member Pro) Bug Fix: This release resolves a minor issue for developers running Vagrant and VVV with symlink plugins. Props @magbicaleman ~ See this GitHub issue for further details.

@jaswrks jaswrks closed this Oct 16, 2015

@raamdev raamdev added this to the Next Release milestone Oct 16, 2015

@jaswrks

This comment has been minimized.

Copy link
Contributor

jaswrks commented Dec 10, 2015

Work from this issue was released in s2Member & s2Member Pro v151210.
See changelog: http://s2member.com/changelog/

Future comments on this issue will now be blocked. If you have any trouble please open a new issue and report it. A big thanks to all of our great supporters. Happy Holidays :-) ❄️

@wpsharks wpsharks locked and limited conversation to collaborators Dec 10, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.