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

php public/index.php returns base path error #82

Closed
adarshkhatri opened this issue Oct 7, 2020 · 1 comment
Closed

php public/index.php returns base path error #82

adarshkhatri opened this issue Oct 7, 2020 · 1 comment

Comments

@adarshkhatri
Copy link

adarshkhatri commented Oct 7, 2020

Bug Report

Summary

When I run php public/index.php it returns this error:

Uncaught Laminas\View\Exception\RuntimeException: No base path provided in vendor\laminas\laminas-view\src\Helper\BasePath.php:37

However, running php public/index.php development enable does work.

I have updated laminas-view and laminas-cache to the latest version but no help.

Is this normal behavior?

Current behavior

Throws error. Uncaught Laminas\View\Exception\RuntimeException: No base path provided in vendor\laminas\laminas-view\src\Helper\BasePath.php:37

How to reproduce

Run php public/index.php

Expected behavior

Show the command line tools.

@samsonasik
Copy link
Member

This component mostly used via api-tools-skeleton, please follow documentation at https://api-tools.getlaminas.org/documentation/intro/installation .

If the issue persist, please re-create issue at https://github.com/laminas-api-tools/api-tools-skeleton

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

2 participants