Did you actually call erlyweb:compile() from within the Yaws shell?

On Jan 2, 2008 4:09 AM, Dmitrii Dimandt <[EMAIL PROTECTED]> wrote:
>
> > On 12/30/07, Dmitrii Dimandt <[EMAIL PROTECTED]> wrote:
> >> On 12/30/07, andrewfromfly < [EMAIL PROTECTED]> wrote:
>  >> "and navigate to http://localhost:81/, I get erlyweb's welcome screen."
> >>
> >> you get that because the docroot is www and there is an index.html
>  >> file in there.  It's just straight up yaws webserver,  No Erlyweb is
> >> being called.
> >
> > It's like "doh, should've guessed myself" :)))))))) Must be the New Year's
> Eve
> > closing in on me :)
>
> Then I still don't understand why ErlyWeb crashes, because everything is
> ready and set up (or so it seems)
>
> I thought to myself: maybe it's because Erlang can't find the application's
> compiled files? I went ahead and edited yaws.conf:
>
> ebin_dir = /home/dmitriid/data/www/erlyweb/buktu/ebin
>
> Well, erlyweb crashes again, now for a different reason:
>
> ERROR erlang code crashed:
> File: appmod:0
> Reason: {function_clause,[{lists,dropwhile,
> [#Fun,undefined]},
> {erlyweb,get_ewc,2},
> {erlyweb,get_initial_ewc1,2},
> {erlyweb,handle_request,4},
> {yaws_server,deliver_dyn_part,8},
> {yaws_server,aloop,3},
> {yaws_server,acceptor0,2},
> {proc_lib,init_p,5}]}
> Req: {http_request,'GET',{abs_path,"/buktu"},{1,1}}
>
> :)
>
>
>
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to