Hi, I put some code in space.vm to retrieve my data:
#set($mydb=$xwiki.sql.getDatabase("myDB"))
#foreach($row in $mydb.executeQuery("select name from mytable"))
$row.getString(0)
#end
When I open Home page or any page but Log in and Register page, it's all ok.
I don't know there's difference between these 2 page and others?
Any tell me how to fix this problem? Thank you.
--
Ngô Thị Hồng Nga
Mobile: 0935 176133