On Jan 13, 2008 2:49 PM, jm <[EMAIL PROTECTED]> wrote:
>
>
>
> With erlyweb 0.7 adding
>
>   -erlyweb_magic(off)
>
>
> to either the controller or the view results in
>
> =ERROR REPORT==== 14-Jan-2008::09:43:39 ===
> Error in process <0.11074.1> with exit value:
> {undef,[{off,module_info,[]},{smerl,get_extend_data,2},{smerl,extend,4},{erlyweb_compile,add_forms,3},{erlyweb_compile,compile_file,5},{erlyweb_compile,compile_component_file,6},{filelib,fold_files2,6},{filelib,fold_files2...
>
>
> ** exited: {undef,[{off,module_info,[]},
>                     {smerl,get_extend_data,2},
>                     {smerl,extend,4},
>                     {erlyweb_compile,add_forms,3},
>                     {erlyweb_compile,compile_file,5},
>                     {erlyweb_compile,compile_component_file,6},
>                     {filelib,fold_files2,6},
>                     {filelib,fold_files2,6}]} **
>
> at the moment the fix appears to be to comment the line out.

thanks...

>
> Second, is there anyway to use the standard MVC setup for one component
> with out a table in the database? As erlyweb automatically tries to
> inspect the tabe it generates this error,
>
> ** exited: {no_such_table,{{module,modulename},{table,modulename}}} **

You can do this by removing the "model" modules (modules that don't
end with "_controller" or "_view") from src/components. ErlyWeb only
attempts to inspect database tables for model modules under
src/components.

>
>
>
> Jeff.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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