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

Constant error when running pub/index.php #588

Closed
ldusan84 opened this Issue Jun 13, 2014 · 4 comments

Comments

Projects
3 participants
@ldusan84
Copy link
Collaborator

ldusan84 commented Jun 13, 2014

When I run pub/index.php I get the following error:

Fatal error: Undefined class constant 'PUB_LIB_DIR' in /var/www/magento2/pub/index.php on line 33

On line 33 of pub/index.php there is:

$params[Filesystem::PARAM_APP_DIRS][Filesystem::PUB_LIB_DIR] = array('uri' => 'lib');

And the constant Filesystem::PUB_LIB_DIR does not exist in Magento\Framework\App\Filesystem. So I think that line is not needed.

@verklov verklov added the major-check label Jun 13, 2014

@verklov verklov self-assigned this Jun 13, 2014

@verklov

This comment has been minimized.

Copy link
Contributor

verklov commented Jun 13, 2014

@ldusan84, I just added the ticket to the backlog. We will get back to you once we finish investigating. Thanks for reporting this issue!

@tim-bezhashvyly

This comment has been minimized.

Copy link

tim-bezhashvyly commented Jun 15, 2014

Another undefined constant is PUB_VIEW_CACHE_DIR. And yes, they don't seem to be used anywhere so can be safely removed.

@tim-bezhashvyly

This comment has been minimized.

Copy link

tim-bezhashvyly commented Jun 21, 2014

Confirming that this issue is resolved in -dev82 and can be closed.

@verklov

This comment has been minimized.

Copy link
Contributor

verklov commented Jun 23, 2014

Thank you, @tim-bezhashvyly! Closing the issues as resolved.

@verklov verklov closed this Jun 23, 2014

mazhalai added a commit that referenced this issue Sep 10, 2015

Merge pull request #588 from magento-ogre/PR_Branch
[Ogres] PR for Sprint 36

@magento-engcom-team magento-engcom-team moved this from TODO to Done in branch [2.3-develop] Sep 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment