-
Notifications
You must be signed in to change notification settings - Fork 155
Invalid include path when using symlink strategy #141
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
Comments
thats a known problem with symlink and the magento core packages, a few core parts like this work with a path relative to the current file location. |
Is there a fix for this? I am still getting problems with composer and magento 1 resulting in the following warning: |
We usually recommend against symlinking core packages and build configs to make it possible to set this by package. Is this happening because of a core package or some other? |
Yes, its related to a core package: |
does this documentation help you? |
thanks. I already stumbled upon this repo. So the composer.json should look like this?
But will all the symlinks in magento be overwritten with a file copy if i run composer update/install? I fear changing the deploy strategy afterwards will have no effect, won't it? |
you will need to list the core modules one by one. Actually it would be better to instead use one of the core installers like https://github.com/AydinHassan/magento-core-composer-installer |
Unfortunately the dependency of Aydin hassan's module is already in my list, but i have no idea how to get rid of the magento_core_modules. By the way, making Edit:
|
huh, I see, which exact packages do you have which depend on it? You could introduce an own (mock) package, which replaces this dependency, I dont have the exact syntax on hand for his. But maybe this helps https://stackoverflow.com/questions/18882201/how-does-the-replace-property-work-with-composer |
When using the symlink strategy, the updated
include_path
of Magento becomes :This is due to line 29 of the
app/Mage.php
file defining theBP
constant, as long as__FILE__
resolves to the realpath and not to the symlink path :The text was updated successfully, but these errors were encountered: