File does not open or is not recognized on the Fedora Linux localhost?

Asked

Viewed 105 times

-2

On the terminal screen, permissions are correct:

inserir a descrição da imagem aqui

But on my localhost, the page is opening with error: inserir a descrição da imagem aqui

But on the IDE screen, it’s there too, see:

inserir a descrição da imagem aqui

The question is, how do I make my localhost recognize that this file exists on the system?

I’ve tried using the command sudo service httpd restart, but nothing has changed, someone knows something else that needs to be done?

Basically the permission is:

  1. owner (reading and writing) 6
  2. group (reading and writing) 6
  3. other (reading) 4

The other files on the list are opening normally, only the one that doesn’t:
gerenciar-premios-imprensa.phtml

  • Are you sure you are passing the correct file path? Try to pass the absolute path of it instead of passing the relative path to the file you are trying to include it.

  • I’m sure, because he’s in the same place as the others, and the others usually open.

  • All views are called through the method. I am using Zend Framework 1.12

1 answer

2


The file name is incorrect.

Are you trying to include:

gerenciar-premios-imprensa.phtml

... but the name with which you saved the file is:

gerenciar-premios-impresa.phtml

We’re missing a n in the middle.

  • Thank you, that’s right, Putz, that blind! thanks!

    • You can only accept the answer in 7 minutes... then I score, there, thanks!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.