# |
Jan 18th 2019, 18:36 |
ricksaccous |
BROOOOOO |
# |
Jan 18th 2019, 18:36 |
ricksaccous |
YOU WANT ME TO COMMAND LINE? ON THE SERVER? |
# |
Jan 18th 2019, 18:36 |
drouard.noelie |
wait a minute |
# |
Jan 18th 2019, 18:36 |
graziel |
yup |
# |
Jan 18th 2019, 18:36 |
drouard.noelie |
on server? |
# |
Jan 18th 2019, 18:36 |
ricksaccous |
yeah he means command line |
# |
Jan 18th 2019, 18:36 |
graziel |
yup |
# |
Jan 18th 2019, 18:36 |
graziel |
normal response : ) |
# |
Jan 18th 2019, 18:36 |
drouard.noelie |
command line? |
# |
Jan 18th 2019, 18:35 |
ricksaccous |
@graziel heh i've never tried that i wonder what i'd even see |
# |
Jan 18th 2019, 18:35 |
graziel |
just try to run it `php index.php` |
# |
Jan 18th 2019, 18:35 |
ricksaccous |
yeah |
# |
Jan 18th 2019, 18:35 |
graziel |
yup thats normal |
# |
Jan 18th 2019, 18:34 |
drouard.noelie |
I have only require 'webroot' . DIRECTORY_SEPARATOR . 'index.php'; in the root index.php file |
# |
Jan 18th 2019, 18:34 |
drouard.noelie |
oooh |
# |
Jan 18th 2019, 18:34 |
drouard.noelie |
sorry first project on it |
# |
Jan 18th 2019, 18:34 |
drouard.noelie |
yeah cakephp 3 |
# |
Jan 18th 2019, 18:34 |
ricksaccous |
lol |
# |
Jan 18th 2019, 18:34 |
ricksaccous |
prob not 1 |
# |
Jan 18th 2019, 18:33 |
ricksaccous |
are you on cakephp3? I think it's the same for other cakephp versions though not sure |
# |
Jan 18th 2019, 18:33 |
graziel |
one is on root and second one is in webroot |
# |
Jan 18th 2019, 18:33 |
drouard.noelie |
where is the other one? |
# |
Jan 18th 2019, 18:33 |
graziel |
it might give you some clue |
# |
Jan 18th 2019, 18:33 |
graziel |
dont modify index.php just run it through ssh |
# |
Jan 18th 2019, 18:32 |
ricksaccous |
that's just what i'd suspect |
# |
Jan 18th 2019, 18:32 |
ricksaccous |
but i dunno |
# |
Jan 18th 2019, 18:32 |
ricksaccous |
if you get nothing pretty sure it's your server not configured correctly for url rewriting |
# |
Jan 18th 2019, 18:32 |
ricksaccous |
you could try var_dump exiting in both |
# |
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? |