Invalid base URL...

8 views
Skip to first unread message

encra...@gmail.com

unread,
Nov 25, 2008, 11:30:46 AM11/25/08
to mwlib
Hi,

Sorry to disturb you with this little pb.
I have installed the collection extension on our website (
http://www.wda-fr.org/wiki ) but i have always an error :
"Invalid base URL: 'http://wda-fr.org/wiki' "
Do you know why ?
I think your server doesnt like my base url... But i cannot change
it...

Can you help me ?

Johannes Beigel

unread,
Nov 25, 2008, 12:07:38 PM11/25/08
to mw...@googlegroups.com
On 25.11.2008, at 17:30, encra...@gmail.com wrote:
> I have installed the collection extension on our website (
> http://www.wda-fr.org/wiki ) but i have always an error :
> "Invalid base URL: 'http://wda-fr.org/wiki' "
> Do you know why ?
> I think your server doesnt like my base url... But i cannot change
> it...

Just a guess: Seems like your MediaWiki requires login to view
articles. Did you configure $wgCollectionMWServeCredentials
accordingly in your LocalSettings.php?

-- Johannes

jo...@zitting.us

unread,
Nov 28, 2008, 9:54:41 PM11/28/08
to mwlib
I have the same problem ... don't need to login to see articles, and
left everything default in Collection.php so it would use the
PediPress server and updated monobook.php per the instructions, but to
no avail:

Invalid base URL: 'http://wiki.foundational.info

I thought the rewrite engine might be screwing up the Pediapress
server so I turned it all off and went back to the default index.php?
title= format, but still dies with an invalid base URL error message.
Anyone have any ideas?

JAZ

On Nov 25, 10:07 am, Johannes Beigel <johannes.bei...@brainbot.com>
wrote:
> On 25.11.2008, at 17:30, encraoud...@gmail.com wrote:
>
> > I have installed the collection extension on our website (
> >http://www.wda-fr.org/wiki) but i have always an error :

Johannes Beigel

unread,
Nov 29, 2008, 8:13:14 AM11/29/08
to mw...@googlegroups.com
On 29.11.2008, at 03:54, jo...@zitting.us wrote:
> I have the same problem ...

I doubt it, because the OP cited a wiki where login is required to
view pages.

> don't need to login to see articles, and
> left everything default in Collection.php so it would use the
> PediPress server and updated monobook.php per the instructions, but to
> no avail:
>
> Invalid base URL: 'http://wiki.foundational.info

I can't reproduce your problem: I tried the article JoDv03p080 [1] and
it rendered fine, both via the render server on tools.pediapress.com,
as well as on the command line:

$ mw-render -w rl -o test.pdf -c http://wiki.foundational.info/
JoDv03p080

[1] http://wiki.foundational.info/index.php?title=JoDv03p080

> I thought the rewrite engine might be screwing up the Pediapress
> server so I turned it all off and went back to the default index.php?
> title= format,

When you return to your previous settings (with the nicer URLs) and it
stops working again, could you write to the list or to me personally,
so I can look at the problem?

> but still dies with an invalid base URL error message.

Did you try to render a different article? What could be the case
here, is that a cached version of the error was returned. As of mwlib
changeset 59feade48ef0 [2] this shouldn't happen any more (and this
version is installed on tools.pediapress.com).

[2] http://code.pediapress.com/hg/mwlib/rev/59feade48ef0

-- Johannes Beigel

Reply all
Reply to author
Forward
0 new messages