# |
Jan 18th 2019, 18:31 |
ricksaccous |
yeah there are 2 index.phps |
# |
Jan 18th 2019, 18:31 |
ricksaccous |
you could try both though to see if that one works for funsies let me see |
# |
Jan 18th 2019, 18:31 |
ricksaccous |
then yeah the routes probably aren't working |
# |
Jan 18th 2019, 18:31 |
ricksaccous |
hehe |
# |
Jan 18th 2019, 18:31 |
ricksaccous |
webroot/index.php |
# |
Jan 18th 2019, 18:31 |
ricksaccous |
oh you just said |
# |
Jan 18th 2019, 18:31 |
ricksaccous |
which index.php are you echoing in? |
# |
Jan 18th 2019, 18:30 |
drouard.noelie |
it's an nginx server, so we followed the tutorial but big error 500 and nothing in the logs |
# |
Jan 18th 2019, 18:29 |
drouard.noelie |
I don't have a log folder though |
# |
Jan 18th 2019, 18:29 |
ricksaccous |
your server is prob just not configured right for redirects still |
# |
Jan 18th 2019, 18:28 |
drouard.noelie |
I was advised to try an echo in the index.php file, and after the line I sent, it still makes an error 500 |
# |
Jan 18th 2019, 18:28 |
drouard.noelie |
I don't really know, we are still on that error 500 issue |
# |
Jan 18th 2019, 18:27 |
ricksaccous |
did you get that figured out? |
# |
Jan 18th 2019, 18:27 |
drouard.noelie |
yes |
# |
Jan 18th 2019, 18:27 |
ricksaccous |
are you the same guy that had trouble with routing the server yesterday? |
# |
Jan 18th 2019, 18:27 |
drouard.noelie |
xD |
# |
Jan 18th 2019, 18:27 |
drouard.noelie |
sorry it was I |
# |
Jan 18th 2019, 18:26 |
drouard.noelie |
yeah, there is nothing in it |
# |
Jan 18th 2019, 18:25 |
ricksaccous |
or nginx error log |
# |
Jan 18th 2019, 18:25 |
ricksaccous |
did you check your apache error log |
# |
Jan 18th 2019, 18:25 |
ricksaccous |
are your tmp/cache/log folders writable |
# |
Jan 18th 2019, 18:22 |
Guest96497 |
Can you help me please? :/ |
# |
Jan 18th 2019, 18:21 |
Guest96497 |
we have nothing in any error_log file, we don't know what's going on at all |
# |
Jan 18th 2019, 18:20 |
Guest96497 |
yes webroot sorry |
# |
Jan 18th 2019, 18:20 |
yamcomnet |
webroo -> webroot |
# |
Jan 18th 2019, 18:19 |
Guest96497 |
hello. I have a 500 error after this line in webroo/index.php $server->emit($server->run()); on the production server |
# |
Jan 18th 2019, 18:18 |
ricksaccous |
;) |
# |
Jan 18th 2019, 18:18 |
yamcomnet |
Thanks Guys!! |
# |
Jan 18th 2019, 18:18 |
yamcomnet |
Cake is too smart for me |
# |
Jan 18th 2019, 18:18 |
jhall |
nice |
# |
Jan 18th 2019, 18:17 |
yamcomnet |
thats the issue :) |
# |
Jan 18th 2019, 18:17 |
yamcomnet |
@ricksaccous Wau! |
# |
Jan 18th 2019, 18:16 |
ricksaccous |
those are the things that might cause that |
# |
Jan 18th 2019, 18:16 |
ricksaccous |
are you sending application/json in request header? |
# |
Jan 18th 2019, 18:16 |
ricksaccous |
@yamcomnet are you requesting as .json? |
# |
Jan 18th 2019, 18:15 |
jhall |
might help |
# |
Jan 18th 2019, 18:15 |
jhall |
https://book.cakephp.org/3.0/en/views/json-and-xml-views.html |
# |
Jan 18th 2019, 18:13 |
yamcomnet |
detects automatically and then tries to render view under json folder automatically when i use $this->render( |
# |
Jan 18th 2019, 18:12 |
jhall |
ah |
# |
Jan 18th 2019, 18:12 |
yamcomnet |
cake is looking rendered template under json |
# |
Jan 18th 2019, 18:12 |
jhall |
could it be based on the type you are setting in the ajax call? |