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

github submodules don't exist in zips :( #8

Closed
scottwyden opened this issue Jul 7, 2015 · 15 comments
Closed

github submodules don't exist in zips :( #8

scottwyden opened this issue Jul 7, 2015 · 15 comments

Comments

@scottwyden
Copy link

On a fresh instance on GoDaddy's new "Pro" Managed Host (test server) I get the following upon trying to activate:

Warning: require_once(/home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder//inc/cmb2/init.php): failed to open stream: No such file or directory in /home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder/wds-simple-page-builder.php on line 37

Fatal error: require_once(): Failed opening required '/home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder//inc/cmb2/init.php' (include_path='.:/usr/local/php5_4/lib/php') in /home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder/wds-simple-page-builder.php on line 37

Fatal error: require_once(): Failed opening required '/home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder//inc/cmb2/init.php' (include_path='.:/usr/local/php5_4/lib/php') in /home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder/wds-simple-page-builder.php on line 37

@jazzsequence
Copy link
Contributor

Hey @scottwyden
Did you clone the repo or did you download the zip file? If you cloned, you might not be getting the cmb2 submodule.

@scottwyden
Copy link
Author

I downloaded it from here, not a clone.

@jazzsequence
Copy link
Contributor

do you have a inc/cmb2 folder?

@jtsternberg
Copy link
Contributor

Instead of downloading (github doesn't include submodules when downloading), you should recursively clone this repo (git clone --recursive https://github.com/WebDevStudios/WDS-Simple-Page-Builder.git)

@jazzsequence
Copy link
Contributor

@jtsternberg really? it doesn't? I thought it did. :/

@jazzsequence
Copy link
Contributor

...that could be why it hasn't been picked up by the WP.org repo yet :'(

@scottwyden
Copy link
Author

inc/cmb2 folder does exist, but nothing is inside of it.

@jazzsequence
Copy link
Contributor

@scottwyden @jtsternberg is right. I just downloaded the archive and /inc/cmb2 is empty. You're missing a crucial component of the plugin because GitHub isn't including the submodule in the zip files. I'll need to manage the CMB2 stuff manually and not use a submodule.

@jazzsequence jazzsequence changed the title Fatal error on a fresh instance github submodules don't exist in zips :( Jul 7, 2015
@jazzsequence
Copy link
Contributor

@scottwyden try redownloading now

@jtsternberg
Copy link
Contributor

@jazzsequence for WDS Twitter Widget, I use a grunt task to compile a .zip file to be used in the repo (and still use submodules). https://github.com/WebDevStudios/WDS-Twitter-Widget

@scottwyden
Copy link
Author

Unfortunately I'm still getting an error.

Warning: require_once(/home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder//inc/cmb2/init.php): failed to open stream: No such file or directory in /home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder/wds-simple-page-builder.php on line 37

Fatal error: require_once(): Failed opening required '/home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder//inc/cmb2/init.php' (include_path='.:/usr/local/php5_4/lib/php') in /home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder/wds-simple-page-builder.php on line 37

Fatal error: require_once(): Failed opening required '/home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder//inc/cmb2/init.php' (include_path='.:/usr/local/php5_4/lib/php') in /home/content/p3pnexwpnas07_data03/82/2695782/html/wp-content/plugins/WDS-Simple-Page-Builder/wds-simple-page-builder.php on line 37

@jazzsequence
Copy link
Contributor

@scottwyden yeah, sorry, that didn't re-add the directory. just pushed it up and it should work now. :S

@scottwyden
Copy link
Author

:-) Trying

@scottwyden
Copy link
Author

All good now! Thanks guys.

@jazzsequence
Copy link
Contributor

woot! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants