D
D
Denis Sechin2015-04-09 15:35:58
PHP
Denis Sechin, 2015-04-09 15:35:58

[SOLVED] Why is apache swearing?

I'm trying to raise the site on a local LAMP server, I seem to have done everything right, the site has opened, but it doesn't go into the menu items, it gives an error

The requested URL /mystore was not found on this server.

Here are the logs
[Thu Apr 09 15:17:53.377845 2015] [:error] [pid 20564] [client 127.0.0.1:53095] PHP Fatal error: require_once(): Failed opening required '/var/www/html/upload/system/ library/ocstore.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/www/index.php on line 31, referer: localhost
[Thu Apr 09 15:25:57.850983 2015] [:error] [pid 20563] [client 127.0.0.1:53241] script '/var/www/html/index.php' not found or unable to stat, referer: localhost/www

This directory, which the server does not see, I have, the rights are set to full, what does he not like?
That's it, the problem was in the host file, now another problem, instead of an error 404 it gives out "The requested page was not found"
Everything figured out, I connected the wrong table

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Nagaets, 2015-04-09
@gr1mm3r

PHP Fatal error: require_once(): Failed opening required '/var/www/html/upload/system/library/ocstore.php'

this is the first bird. I advise you to check how the index.php log stated line 31. And everything related to it for the correctness of the code. And also chowns on the folder.

R
Rikcon, 2015-04-09
@Rikcon

'/var/www/html/upload/system/library/ocstore.php' cannot open the file on this path, check if it is in place.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question