ISE Won't Let Me Progress

15 views
Skip to first unread message

BeeRich33

unread,
Sep 12, 2017, 5:25:06 AM9/12/17
to sinatrarb
Hi folks.

I'm getting an ISE for some reason on a page I've been troubleshooting a module inclusion on.  I've commented out the module altogether, and I can't seem to get this page to load, and I have no clue why.  

Here's the nginx error log for that virtual host:

127.0.0.1 - - [12/Sep/2017:05:17:24 -0400] "GET / HTTP/1.1" 200 3324 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8"
127.0.0.1 - - [12/Sep/2017:05:17:37 -0400] "POST /login HTTP/1.1" 500 30 "http://ml_master.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8"


The route for post /login:

  post "/login" do
         
@title = "ML Testing Form Receive"
         
# require_relative('helpers/ml4')

         
@holder = "temporary helper"
         erb
:login
 
end

I've tested and restarted nginx with passenger, restarted my workstation.  Not sure how to proceed.  Any insight appreciated.  

Cheers

kashyap k

unread,
Sep 13, 2017, 1:54:42 PM9/13/17
to sinatrarb
Where is the template 'login.erb'? and what contents does it have? Any instance variables that you might not have declared, but are getting used in the template?

--
You received this message because you are subscribed to the Google Groups "sinatrarb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sinatrarb+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Kashyap

BeeRich

unread,
Sep 13, 2017, 2:10:49 PM9/13/17
to sina...@googlegroups.com
I figured it out.

The content was asking for something. I cleaned everything out and it came back to me. I thought some string interpolation would just be benign but it was messing things up.

When this happens, it would be nice to have some kind of idea what the problem is, but the nginx log, set to DEBUG, didn’t mention a thing.



> On Sep 13, 2017, at 1:53 PM, kashyap k <kashya...@gmail.com> wrote:
>
> Where is the template 'login.erb'? and what contents does it have? Any instance variables that you might not have declared, but are getting used in the template?



Cheers
bee...@gmail.com



Reply all
Reply to author
Forward
0 new messages