php - Laravel "This webpage has a redirect loop" only on a single route suddenly -


ok thing have laravel 4.2 installed , it's working great.

up today when did couple of small changes , website/used path returns incredibly infuriating message "this webpage has redirect loop" forever , ever. using localisation , mcamara plugin installed, until today perfect , use 2 locals en/da without problems website/en/used or website/da/used , of course normal paths website/used etc remember lang choice , show content such.

now after trying implement simple feature: creating usedcontroller handler form requests new view should make possible upload picture , title , description. worked couple of tries without posting database, dd, issue redirect starts , 6 hours or on keeps going on , on , on , it's making me totally frustrated, deleted created , still won't work @ all.

website/en/used , website/da/used still works though, website/used gets page hell every time :(

so question guess is: why can controller "hijack" route that, , refuse it's job?

currently when accessed website/used loop error, index @ used nothing despite trying move view there.

here routes.php file:

http://imgur.com/dnqgjwv

here routes:

http://i.imgur.com/om33cbq.png

still don't why controller here being "usedcontroller" hijacks /used , according routes table, requests /used should go through usedcontroller@index yes? weirdly doesn't happen :( ignores , atm endless loop thing.

after further testing , editing cleared entire routes file have usedcontroller left this: route::resource('used', 'usedcontroller'); still won't work when tried , tried displaying view index function @ usedcontroller.

investigating in chrome has following:

{"type":"program","data":{},"starttime":13961301.056,"children":         [{"type":"resourcesendrequest","data":    {"requestid":"1172.166","url":"westcoastmink.dev:8888/used/","requestmethod":"get"},"starttime":13961301.449,"frameid":"1172.1"}],"endtime":13961301.546}, 

{"type":"program","data":{},"starttime":13961301.957,"children":[],"endtime":13961301.989}, {"type":"program","data":{},"starttime":13961306.072,"children":[],"endtime":13961306.103}, {"type":"program","data":{},"starttime":13961306.133,"children":[{"type":"resourcesendrequest","data":{"requestid":"1172.166","url":"westcoastmink.dev:8888/used","requestmethod":"get"},"starttime":13961306.339,"frameid":"1172.1"}],"endtime":13961306.402}, {"type":"program","data":{},"starttime":13961309.474,"children":[],"endtime":13961309.507}, {"type":"program","data":{},"starttime":13961309.539,"children":[{"type":"resourcesendrequest","data":{"requestid":"1172.166","url":"westcoastmink.dev:8888/used/","requestmethod":"get"},"starttime":13961309.776,"frameid":"1172.1"}],"endtime":13961309.908}, {"type":"program","data":{},"starttime":13961312.76,"children":[],"endtime":13961312.811}, {"type":"program","data":{},"starttime":13961317.462,"children":[],"endtime":13961317.505}, {"type":"program","data":{},"starttime":13961317.555,"children":[{"type":"resourcesendrequest","data":{"requestid":"1172.166","url":"westcoastmink.dev:8888/used","requestmethod":"get"},"starttime":13961317.899,"frameid":"1172.1"}],"endtime":13961318.027}, {"type":"program","data":{},"starttime":13961325.426,"children":[],"endtime":13961325.469}, {"type":"program","data":{},"starttime":13961325.539,"children":[{"type":"resourcesendrequest","data":{"requestid":"1172.166","url":"westcoastmink.dev:8888/used/","requestmethod":"get"},"starttime":13961326.142,"frameid":"1172.1"}],"endtime":13961326.299}, {"type":"program","data":{},"starttime":13961329.605,"children":[],"endtime":13961329.634}, {"type":"program","data":{},"starttime":13961329.664,"children":[{"type":"resourcesendrequest","data":{"requestid":"1172.166","url":"westcoastmink.dev:8888/used","requestmethod":"get"},"starttime":13961329.964,"frameid":"1172.1"}],"endtime":13961330.057}, {"type":"program","data":{},"starttime":13961333.556,"children":[],"endtime":13961333.585}, {"type":"program","data":{},"starttime":13961333.619,"children":[{"type":"resourcesendrequest","data":{"requestid":"1172.166","url":"westcoastmink.dev:8888/used/","requestmethod":"get"},"starttime":13961334.033,"frameid":"1172.1"}],"endtime":13961334.201}, {"type":"program","data":{},"starttime":13961341.465,"children":[],"endtime":13961341.521}, {"type":"program","data":{},"starttime":13961341.586,"children":[{"type":"resourcesendrequest","data":{"requestid":"1172.166","url":"westcoastmink.dev:8888/used","requestmethod":"get"},"starttime":13961341.946,"frameid":"1172.1"}],"endtime":13961342.057}, {"type":"program","data":{},"starttime":13961348.486,"children":[],"endtime":13961348.518}, {"type":"program","data":{},"starttime":13961348.553,"children":[{"type":"resourcesendrequest","data":{"requestid":"1172.166","url":"westcoastmink.dev:8888/used/","requestmethod":"get"},"starttime":13961348.829,"frameid":"1172.1"}],"endtime":13961348.902}, {"type":"program","data":{},"starttime":13961353.626,"children":[],"endtime":13961353.655}, {"type":"program","data":{},"starttime":13961353.687,"children":[{"type":"resourcesendrequest","data":{"requestid":"1172.166","url":"westcoastmink.dev:8888/used","requestmethod":"get"},"starttime":13961353.908,"frameid":"1172.1"}],"endtime":13961353.985}, {"type":"program","data":{},"starttime":13961359.02,"children":[],"endtime":13961359.05}, {"type":"program","data":{},"starttime":13961359.076,"children":[{"type":"resourcesendrequest","data":{"requestid":"1172.166","url":"westcoastmink.dev:8888/used/","requestmethod":"get"},"starttime":13961359.292,"frameid":"1172.1"}],"endtime":13961359.356}, {"type":"program","data":{},"starttime":13961363.636,"children":[],"endtime":13961363.668},

a lot of requests , without / @ end ? :o

any appreciated have been stuck day literally... :(

so status still not know caused problem, guess had localisation, solved issue using different controller , routes editing part, , leave translation of route other.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -