OK, from what I'Ve gathered this is caused by the way that xwiki resolves
what wiki to display depending on URL or DNS name.
Did the image upload work when you used the IP address?
You can further demonstrate what is wrong by turning off the feature that
shows the default wiki when the wiki ask for does not exist.
In xwiki.cfg set
xwiki.virtual.failOnWikiDoesNotExist=0
To the setting
xwiki.virtual.failOnWikiDoesNotExist=1
This was very helpful in getting my base installation setup correctly
because instead of showing the default wiki, it would tell me the wiki I'M
asking for does not exist. I had an odd time going round in circles with
xwiki thinking I'M asking for a virtual wiki.
Also look at the xwiki.virtual.usepath setting. For my configuration I
have
wiki.company.com. I had to change the virtual.usepath from 1 to 0.
That made my installation start looking for the wiki named wiki (the
default btw is xwiki)
I then installed the WIKI manager Application (accessed via IP Address),
and setup a new "virtual wiki". I made the first virtual wiki use the
"xwiki" database (This is the database I had to setup during install, and
I had to check the force box). The magic for me came when I now had the
ability to assign an "alias" to the instance. Setting the alias to wiki
(instead of the default xwiki) and to the server name allowed for the
xwiki engine to correctly call (or instantiate) the wiki context I had
believed I was asking for in the beginning.
--
Mark Gardner
KC Research Automation
Mark.Gardner(a)kc.frb.org
(816) 881-2957
On 5/16/13 2:44 PM, "chrisward" <cw(a)yellowdave.co.uk> wrote:
Folks,
In my stack trace you will see the string "candhserver". That's my real
server name, in my email I tried to generalise it by replacing it with
"myserver" in the example URL.
Sorry for any confusion.
Chris
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Error-in-inserting-image-and-creating-li
nk-tp7585148p7585172.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users