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

LOG.error: mkdir(): No such file or directory {"exception":{}} #21

Open
fakrulue opened this issue Aug 3, 2023 · 2 comments
Open

LOG.error: mkdir(): No such file or directory {"exception":{}} #21

fakrulue opened this issue Aug 3, 2023 · 2 comments

Comments

@fakrulue
Copy link

fakrulue commented Aug 3, 2023

Please help me to solve this issue
When i am trying to edit page and click on update this error arrived.

256998228-eb566dfc-24a0-4c11-b309-2b7ffae4a9c4

@thatsenam
Copy link

i also faced the same problem.

@melmasry97
Copy link

i also got it .
it's cause the $dir_path it's not correct it's suppose to use base_path()

after that you will face it on lines : [161 , 177 ]

image

protected function generateRoute($slug, $route)
    {
        $routes = __DIR__.'/../../routes/frontend.php';
        // dd(__DIR__);
        $method_name = $this->getControllerMethodName($slug);
        

image

 protected function addControllerMethod($method_name, $slug)
    {
        $controller = __DIR__.'/../Http/Controllers/FrontendController.php';

        $target_view = $slug === '/' ? 'home-page' : $slug;

that should solve the issue above

after i solve those 3 dir path issue it's created successfully

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