Erlang/OTP Forums

Author Message

<  Erlyweb mailing list  ~  Help needed once again :)

dmitriid
Posted: Wed Aug 22, 2007 2:45 pm Reply with quote
User Joined: 17 Aug 2006 Posts: 213
Yes, it's that time of the year when schizophrenia kicks in and I decide to spend some time with ErlyWeb Smile

Yaws 1.68
erlyweb 0.6.2
Quote:
1> erlyweb:create_app("gallery", "/home/dmitriid/data/www/").
...snip some lines...
yaws.conf
Quote:
<server localhost>
port = 8200
listen = 127.0.0.1
docroot = /home/dmitriid/data/www/gallery/www
appmods = </, erlyweb>
<opaque>
appname = gallery
</opaque>
</server>
Then
Quote:
> sudo yaws
...snip some lines...
Then
Quote:
2> erlyweb:compile("/home/dmitriid/data/www/gallery/").
...snip some lines...
Then go to
And get this:
Quote:
ERROR erlang code crashed:
File: appmod:0
Reason: {no_application_data,"Did you forget to call erlyweb:compile(AppDir) or add the app's previously compiled .beam files to the Erlang code path?"}
Req: {http_request,'GET',{abs_path,"/"},{1,1}}
I have no idea why Smile
Quote:

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

Post recived from mailinglist
View user's profile Send private message
dmitriid
Posted: Wed Aug 22, 2007 2:50 pm Reply with quote
User Joined: 17 Aug 2006 Posts: 213
Dmitrii 'Mamut' Dimandt wrote:
Quote:
Yes, it's that time of the year when schizophrenia kicks in and I decide to spend some time with ErlyWeb Smile

All right. I needed to do a erlyweb:create_component...

Weird... More hacking tomorrow Smile

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

Post recived from mailinglist
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum