Comments (7)
Hello there, can you check this out, still can't use the package because the default config sits at ~/.iginition.json
outside of the laravel basepath?
from ignition.
20 days and no reply? Like, nothing?
"Beautiful" error page that one can't get rid of and if something goes wrong - the support is no where to be found. Awesome. And this is core part of most popular framework...
from ignition.
@fightborn Please keep it friendly. If this is urgent for you doesn't necessarily make it urgent for us.
Here are a couple of options:
- Try to PR a fix.
- Remove ignition from composer. Laravel will still work, and you'll see a more basic error page.
Good luck!
from ignition.
Hello @freekmurze, I'm willing to submit a PR, what would be acceptable behavior for you?
Continuing to use the home dir as the default path and allowing to change the path in a config file or changing the default path to base_path()
.
Thank you!
from ignition.
Thank you! Allowing the path to be changed in the config file seems like the route to go for me.
from ignition.
I came across this issue when I upgraded to Laravel 9. Rather than override this with a config file setting, would it make sense to compare the desired .iginition.json path against the open_basedir paths to see if the users home directory is allowed? Then it could be seamless and there would be no need to worry about a separate config file setting and no need to direct people to manually add a config setting to override what is likely to be a pretty common problem -- for pretty much everyone that uses open_basedir restrictions.
How about this change to the getConfigFilePath in DefaultConfigFinder.php:
public function getConfigFilePath(): string
{
if (! $homeDirectory = $this->findHomeDirectory()) {
return '';
}
$filepath = "{$homeDirectory}/.ignition.json";
return @is_readable($filepath) ? $filepath : '';
}
I just created a pull request with this solution here:
#36
from ignition.
That's a mistake for me too. You may need to replace "getenv('HOME')" with "_SERVER['document_root']"
from ignition.
Related Issues (20)
- $setting
- NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
- NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
- NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
- NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
- NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
- TypeError: Cannot read properties of undefined (reading 'content-type')
- TypeError: Cannot read properties of undefined (reading 'slice')
- NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
- NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
- TypeError: Cannot read properties of undefined (reading 'map')
- TypeError: Cannot read properties of undefined (reading 'slice')
- NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
- NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
- NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
- NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
- TypeError: undefined is not an object (evaluating 'e.updates.map')
- TypeError: undefined is not an object (evaluating 'e.slice')
- SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'project_status' at row 1
- TypeError: Cannot read properties of undefined (reading 'considerAll')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ignition.