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 login
6) I am taken to localhost/newapp/default/index/_create/index and presented 
with a form asking me to "Create page from Slug".  I click the button.
7) I am taken to the edit page 
form localhost/newapp/default/index/_edit/index
8) I add the following code at the bottom of the page [[New Page newpage]] 
and click Submit.
9) I am forward to the new page I just created and I can see the link to 
New Page. I click the link and am taken to 
localhost/newapp/default/index/_create/newpage. I this point I don't create 
a new page, but I can at least see that links are working while I am 
managing my wiki pages. 
10) I logout and now try to view the page as though I was a visitor to the 
site.
11) I point my browser to http://localhost/newapp and I can see the wiki 
page I created with the link to New Page. I click the link and am taken to 
http://localhost/newapp/newpage with the error message 
invalid controller (newpage/index)

What am I doing wrong?


Thanks
Simon
On Saturday, 27 October 2012 17:08:58 UTC+1, Andrew W wrote:
>
> 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.

-- 



Reply via email to