jgrunder / website-aion

Website created for RealAion, and now available for free :) Yeah i'm a nice guys. And the agreement of PML (Ex-Administrator of RealAion)
2 stars 0 forks source link

Admin Panel 404 ERROR #55

Open jeazyee opened 7 years ago

jeazyee commented 7 years ago

Hey, i've got this error on Admin Panel:

/var/aion/www/bootstrap/cache/compiled.php#8913 Symfony\Component\HttpKernel\Exception\NotFoundHttpException if (count($others) > 0) { return $this->getRouteForMethods($request, $others); } throw new NotFoundHttpException(); } protected function checkForAlternateVerbs($request) {

my laravel logs are empty 😨 (storage/logs) no files inside except the .gitignore

and NGINX logs: Error Log: 2016/12/27 13:43:22 [error] 10099#0: *4864 directory index of "/var/aion/www/" is forbidden, client: 78.43.39.142, server: aion.jeazyee.com, request: "GET / HTTP/1.1", host: "aion.jeazyee.com" 2016/12/27 13:43:25 [error] 10099#0: *4866 directory index of "/var/aion/www/" is forbidden, client: 78.43.39.142, server: aion.jeazyee.com, request: "GET / HTTP/1.1", host: "aion.jeazyee.com" 2016/12/27 13:43:27 [error] 10099#0: *4864 directory index of "/var/aion/www/" is forbidden, client: 78.43.39.142, server: aion.jeazyee.com, request: "GET / HTTP/1.1", host: "aion.jeazyee.com" 2016/12/27 13:48:32 [error] 10099#0: *4880 directory index of "/var/aion/www/" is forbidden, client: 78.43.39.142, server: aion.jeazyee.com, request: "GET / HTTP/1.1", host: "aion.jeazyee.com" 2016/12/27 14:02:53 [emerg] 13413#0: duplicate location "/" in /etc/nginx/conf.d/virtual.conf:190 2016/12/27 14:02:58 [emerg] 13439#0: duplicate location "/" in /etc/nginx/conf.d/virtual.conf:190 2016/12/27 14:05:19 [error] 13481#0: *1 directory index of "/var/aion/www/" is forbidden, client: 78.43.39.142, server: aion.jeazyee.com, request: "GET / HTTP/1.1", host: "aion.jeazyee.com" 2016/12/27 14:05:19 [error] 13481#0: *9 directory index of "/var/aion/www/" is forbidden, client: 78.43.39.142, server: aion.jeazyee.com, request: "GET / HTTP/1.1", host: "aion.jeazyee.com" 2016/12/27 15:43:40 [error] 13515#0: *6 directory index of "/var/aion/www/" is forbidden, client: 77.153.108.94, server: aion.jeazyee.com, request: "GET / HTTP/1.1", host: "aion.jeazyee.com"

i did produced it on a windows computer which got the same setup of DB's as it have on this server after producing i did transfered it there and inserted the DB's of the windows computer to the server may this caused this problem?

Here are some warnings which occured while npm -install:

$ npm install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\ch okidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64" }) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\gu lp-watch\node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64" })

Greetings, Jeazyee

ghost commented 7 years ago

First of all run php artisan cache:clear at root of the project and try again. Then why npm says that your os is win32 if you run it under Fedora ?

jeazyee commented 7 years ago

@Sipherion I did made all that steps of the description on my windows computer then i transfered the files to the web root of my CentOS7 Server.

I found a solution:

I runned those commands: $ find -type d -exec chmod 755 {} \ ; $ find -type f -exec chmod 644 {} \ ; $ chown apache:apache -R *

apache because php cgi runs as apache on my server :D

this solved the problem now it shows the page but if i click into example shop add item it shows again in Exeptions (but page is still shown and seems to work):

/var/aion/www/bootstrap/cache/compiled.php#8913 Symfony\Component\HttpKernel\Exception\NotFoundHttpException if (count($others) > 0) { return $this->getRouteForMethods($request, $others); } throw new NotFoundHttpException(); } protected function checkForAlternateVerbs($request) {

ghost commented 7 years ago

I think you should make complete install using a fresh copy of this depot into your Linux environment for dependencies to be correctly setted.

ghost commented 7 years ago

Any news ?