From: Matthias S. <mst...@re...> - 2010-02-08 21:04:33
|
Hi Hiren, On Mon, 8-Feb-2010 14:58 -0500, Hiren wrote: > I have modified the index.php to give me what I want. Generally speaking, if you describe in more detail, what exactly you're trying to achieve, we might be able to provide a better solution or a workaround. If you want to generate a bibliography for a particular group or author, checkout these two pages: <http://bibliographies.refbase.net/> <http://linking.refbase.net/> These should provide the most important bits & pieces. > However, when I click on the PDF "Save citation" option I get an > error. The string I send to fetchDataFromURL that causes the error > is: > > "show.php?records=all&submit=Cite&client=inc-refbase-1.0&wrapResults=0& > citeOrder=year&without=dups&first_name=Hiren&last_name=D. > Patel&citeStyle=Chicago"; For PDF output, you shouldn't include these parameters: &client=inc-refbase-1.0 &wrapResults=0 Instead, these two are required for PDF output: &submit=Cite &citeType=PDF Here's a working example: <http://beta.refbase.net/show.php?author=Granskog&without=dups&showRows=50&submit=Cite&citeStyle=Chicago&citeOrder=year&citeType=PDF> > Fatal error: Allowed memory size of 16777216 bytes exhausted > (tried to allocate 64 bytes) in > /var/www/refbase/includes/classes/org/pdf-php/class.pdf.php on line > 1324 If you tell us what you've modified and where, it might be easier to diagnose the issue. > This does not happen when I change the search string to the > following: > > "show.php?records=all&submit=Cite&client=inc-refbase-1.0&wrapResults > =0&without=dups&first_name=Hiren&last_name=D.Patel&citeStyle=Chicago"; > > Notice that I removed the citeOrder=year. Is there some way to fix > this such that I can use the citeOrder as well? It's hard to imagine that this is directly related to the "citeOrder=year" parameter. Could it be the length of the GET URL? Do shorter URLs also work with "citeOrder=year"? Matthias |