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

Using Bedrock, Redux cannot find it's options URL #1075

Closed
BrandonShutter opened this issue Apr 16, 2014 · 6 comments
Closed

Using Bedrock, Redux cannot find it's options URL #1075

BrandonShutter opened this issue Apr 16, 2014 · 6 comments

Comments

@BrandonShutter
Copy link

Hey. Using https://github.com/roots/bedrock your framework is dropping the ball.

The exact error I'm getting is running a local wamp stack - and I believe I have figured out the error, but not the fix.

On line 4-6 of redux/options/defaults.php you have the following code:

// Windows-proof constants: replace backward by forward slashes - thanks to: https://github.com/peterbouwmeester $fslashed_dir = trailingslashit(str_replace('\\','/', dirname(__FILE__))); $fslashed_abs = trailingslashit(str_replace('\\','/', ABSPATH));

This is causing the a 403 error in console trying to find the files needed for admin styling and interaction.

http://shutter.dev/wp/C:/www/shutter/web/app/themes/lens/wpgrade-core/vendor/redux2/options/fields/checkbox_hide_below/field_checkbox_hide_below.js

That path should be

http://shutter.dev/web/app/themes/lens/wpgrade-core/vendor/redux2/options/fields/checkbox_hide_below/field_checkbox_hide_below.js

Note the missing /wp/C:/www/shutter - which shouldn't be needed or called at all.

My web directory lives in C:/www/shutter/web

@kprovance
Copy link
Member

@dovy
Copy link
Member

dovy commented Apr 16, 2014

You have an extremely old version of Redux. Please try a new one. ;)

@kprovance
Copy link
Member

After a little research, it appears the version of Redux you are using is in fact, ancient. Please upgrade to the latest version from our repo.

@BrandonShutter
Copy link
Author

Thanks, this was included in a theme that I just purchased. I figured it might have been the framework's fault, not the themes.

I'll contact the theme author. You guys should possibly include some sort of "framework update available" notification for lazy theme authors :P

@dovy
Copy link
Member

dovy commented Apr 17, 2014

Here's what you can do. Just install Redux Framework as a plugin from this repo. That will solve the issue as Redux the plugin will override the embedded theme Redux. ;)

@nhanledev
Copy link

I also encountered this problem in the latest release of Redux Framework: 3.6.11

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

4 participants