Closed dwp-forge closed 9 years ago
Which PHP version do you use?
Original issue reported on code.google.com by dwp-forge
on 2012-10-03 08:36:34
PHPInfo says:
PHP Version 5.3.6-13ubuntu3.9
Original issue reported on code.google.com by frank.ellebrecht
on 2012-10-03 08:48:58
I tried Adora Belle and PHP 5.4 -- everything seems to work fine.
The error comes from BibTeX parser, so I don't think data entries are relevant here.
You should have a code section with BibTeX data on one of pages in reference database.
It would help to have that code to debug the problem. The error basically says that
we found a field outside of an entry, which should not be possible since we start looking
for the fields only inside of the entries. For BibTeX parsing I use DokuWiki parser
with different set of rules, so the parser itself is very robust and tested a lot.
It's probably something with the rules, but they also look fine to me.
In principle, you could add "if ($this->entry != NULL)" at the start of line 388. That
should prevent the crash, but will not fix the underlying issue.
Anyway, I guess I won't make much progress on this without BibTeX code that causes
the crash.
Original issue reported on code.google.com by dwp-forge
on 2012-10-21 14:16:02
Thanks for your reply. With the supplied information I was finally able
to find the error. It's not a bug in refnotes, it was me who made the
mistake. There are some documentation pages in the refnotes namespace
with explanations on how to use certain Bibtex-types. In one of them I
missed the closing curly brace for an example Bibtex-entry. I didn't
think about it that from refnotes point of view it has to be a valid
entry. That's it, buggy human ;-) I just moved the documentation into
another namespace outside refnotes'. Everything is fine now.
Sorry to have bothered you. Thank you very much for your time and the
work you've done.
Original issue reported on code.google.com by frank.ellebrecht
on 2012-10-21 21:57:12
You are welcome :)
Original issue reported on code.google.com by dwp-forge
on 2012-10-22 07:45:13
Original issue reported on code.google.com by
frank.ellebrecht
on 2012-10-03 07:38:55