[web2py] Re: Getting an error in auth.wiki()

2012-10-28 Thread Andrew W
You're welcome, and I agree - doco is required to make any sense of it. I have gleamed what I know from various posts to this group. It does need to be combined and given a bit of context. I would like to do the same but am trying to get a little more understanding first (and time !). I guess

[web2py] Re: Getting an error in auth.wiki()

2012-10-28 Thread Simon Carr
Thanks Andrew, That did it. We desperately need some documentation on auth.wiki() Do you know of any existing documentation or a place where someone like myself could start to create documentation. Thanks Simon On Sunday, 28 October 2012 18:21:32 UTC, Andrew W wrote: > > Try [[New Page @n

[web2py] Re: Getting an error in auth.wiki()

2012-10-28 Thread Andrew W
Try [[New Page @newpage]] On Monday, October 29, 2012 2:14:03 AM UTC+13, Simon Carr wrote: > > In Answer to your questions about step 6, there is no need to type the > name, the name is already populated for you. > > Could someone else try to test this issue. I have just downloaded the > la

[web2py] Re: Getting an error in auth.wiki()

2012-10-28 Thread Simon Carr
No need to type the name, the name is already populated for you. Could someone else try to test this issue. I have just downloaded the latest nightly build and still get the same error. A very quick test to replicate this problem is 1) Create new App and in default/index simply return auth.wiki

[web2py] Re: Getting an error in auth.wiki()

2012-10-28 Thread Andrew W
I can't step through it right now, but in step6 did you type in the name of your new page before pressing the button? You need to enter the name of the page, or "slug" before pressing Create from Slug. Maybe that is it, your page doesn't actually have a "slug". ( who came up with that name in t

[web2py] Re: Getting an error in auth.wiki()

2012-10-27 Thread Simon Carr
I have tried this now on an Installation in Windows and Linux. Here is the process I go through. 1) Create a new simple App 2) Edit Controller default.py 3) Edit def index() to have just return auth.wiki() 4) Now go to the Front End index file 5) I am asked to login, so I register a new user and

[web2py] Re: Getting an error in auth.wiki()

2012-10-27 Thread HittingSmoke
You are missing something. Let me explain: What your code looks like in default.py after uncommenting auth.wiki() is this: def index(): return auth.wiki() Web2py is working in the most obvious way. The URL structure in web2py is domain/app/controller/function. In this example localhost is

[web2py] Re: Getting an error in auth.wiki()

2012-10-27 Thread Andrew W
Because you don't. ( at least I haven't had to)- Back to your first post, how did you create your first page because the URL you have there is not what web2y produces. It's working ok for me so far so if you could add some more detail as to how you did it and what you clicked. --

[web2py] Re: Getting an error in auth.wiki()

2012-10-27 Thread Simon Carr
I feel as though I am missing something here. In default/index it states if you need a simple wiki simple replace the two lines below with: return auth.wiki() >From what I know so far about Web2Py, things just work in the most obvious way. Why do the above comments not mention having to set

[web2py] Re: Getting an error in auth.wiki()

2012-10-26 Thread HittingSmoke
Default is your controller. You're running auth.wiki under the index function of the default controller. Your auth.wiki pages are called with auth.wiki so you need your index function which is where auth.wiki is. You could hide the function part of the URL using routing if you want. On Friday,