Biblio error

8 views
Skip to first unread message

al

unread,
Apr 17, 2009, 5:38:13 PM4/17/09
to wikipublisher
Hi,
I install the new version but I have a problem with page with
(:bib:) :

the message
----
Software error:

Document at http://www.milegas.fr/index.php/?action=print&ptype=print&format=pdf&n=MANUEL.Bibliographie&wpversion=2002011
does not appear to be in Wikipublisher XML:
<br />
<b>Fatal error</b>: Cannot use assign-op operators with overloaded
objects nor string offsets in <b>/homez.110/milegas/www/cookbook/
wikipublisher/latex/citations.php</b> on line <b>59</b><br />

First check your configuration for errors. If you cannot work out the
problem, please forward this message in its entirety to
Wikipublisher.
----


The page is on : http://www.milegas.fr/index.php?n=MANUEL.Bibliographie

So, you can see the (edit) references link is on the left (before is
on the right) and at the bottom a new line appears : REF:References
for Bibliographie.



I search, but i don't know where I make a mistake ? Can you help me,
please.

Thank a lot.

Al.

JR

unread,
Apr 19, 2009, 6:28:06 PM4/19/09
to wikipublisher
If I look at the source:
http://www.milegas.fr/index.php?n=MANUEL.Bibliographie?action=source

I see that you have 2 (:bib:) ... (:bibend:) blocks on the page. I am
pretty sure
that this is confusing the citations recipe. Try removing the block in
[@ ... @]
and see if this fixes the problem.

It may be possible to enhance the recipe to handle this case, but I
will have
to investigate the code.

JR

On Apr 18, 9:38 am, al <pasq...@gmail.com> wrote:
> Hi,
> I install the new version but I have a problem with page with
> (:bib:) :
>
> the message
> ----
> Software error:
>
> Document athttp://www.milegas.fr/index.php/?action=print&ptype=print&format=pdf&...

pasq2al

unread,
Apr 20, 2009, 2:52:54 PM4/20/09
to wikipu...@googlegroups.com
I think about this [@....@] and I have try already to remove all the
block, but the same error appears.
I search in citation.php but line 59 is a comment !!
I will try to find the difference between the original file and my site,
If I find, I tell you.

Thank for your disponibility.


JR a écrit :

JR

unread,
Apr 20, 2009, 5:24:09 PM4/20/09
to wikipublisher
Try commenting out the markup rule which generates
HTML output like this:
<div class='property-REF'>REF:References for <cite>Bibliographie</
cite></div>
<div class='property-exemple'>exemple :</div>

This produces at least 2 problems, described below.

I think the problem lies in the skin being used on the site.
If I try this:
http://www.milegas.fr/index.php?n=MANUEL.Bibliographie&action=print
the output is correct.

A local customisation (associated with the skin?) is
producing
<div class='property-REF'>REF:References for <cite>Bibliographie</
cite></div>

This causes the post-evaluation rule which moves the
references from the body to the end to fail.

However, you also have a local customisation which is
producing:

<div class='property-exemple'>exemple :</div>

You need to provide a wikibook xml equivalent, because in
the wikibook output this produces "exemple :" with no tag.
Everywhere that you have a local markup rule generating
HTML, you need to provide a corresponding rule when
$format=='pdf' that produces valid wikibook XML.

In the first instance, since the same markup rule is causing
both problems (I think), just disable this rule and see what
happens.

Hope this helps
JR

pasq2al

unread,
Apr 21, 2009, 4:58:35 PM4/21/09
to wikipu...@googlegroups.com
So after many research in the different files, EUREKA, I find, the
markup is in PmForm Cookbook (markup ptv: in pmform.php).

So i delete this markup in pmform (it run without this on my site!!) and
the bibliography is OK.

I hope this information is useful.

Thank for all, JR.




JR a écrit :
Reply all
Reply to author
Forward
0 new messages