We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I run php public/index.php it returns this error:
php public/index.php
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.
php public/index.php development enable
I have updated laminas-view and laminas-cache to the latest version but no help.
laminas-view
laminas-cache
Is this normal behavior?
Throws error. Uncaught Laminas\View\Exception\RuntimeException: No base path provided in vendor\laminas\laminas-view\src\Helper\BasePath.php:37
api-tools-skeleton>php public/index.php Fatal error: Uncaught Laminas\View\Exception\RuntimeException: No base path provided in api-tools-skeleton\vendor\laminas\laminas-view\src\Helper\BasePath.php:37 Stack trace: #0 [internal function]: Laminas\View\Helper\BasePath->__invoke('/img/favicon.pn...') #1 api-tools-skeleton\vendor\laminas\laminas-view\src\Renderer\PhpRenderer.php(396): call_user_func_array(Object(Laminas\View\Helper\BasePath), Array) #2 api-tools-skeleton\module\Application\view\layout\layout.phtml(10): Laminas\View\Renderer\PhpRenderer->__call('basePath', Array) #3 api-tools-skeleton\vendor\laminas\laminas-view\src\Renderer\PhpRenderer.php(505): include('C:\\wamp64\\www\\a...') #4 api-tools-skeleton\vendor\laminas\laminas-view\src\View.php(206): Laminas\View\Renderer\PhpRenderer->render(NULL) #5 api-tools-skeleton\vendor\laminas\laminas-mvc\src\View\Http\DefaultRenderingStrategy.php(104): Laminas\View\View->render(Object(Laminas\View\Model\ViewModel)) #6 C:\wamp64\ in api-tools-skeleton\vendor\laminas\laminas-view\src\Helper\BasePath.php on line 37
Run php public/index.php
Show the command line tools.
laminas-api-tools/api-tools#82 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Summary
When I run
php public/index.php
it returns this error:However, running
php public/index.php development enable
does work.I have updated
laminas-view
andlaminas-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.
I have double confirmed by creating a fresh skeleton project
laminas-api-tools/api-tools#82 (comment)
The text was updated successfully, but these errors were encountered: