[FM Discuss] Bug with BookiPublisherLite
Tuukka Hastrup
Tuukka.Hastrup at iki.fi
Fri Mar 2 07:55:58 PST 2012
Hi Michael,
2012-03-02 17:30, Michael McAndrew kirjoitti:
> I'm calling a URL to create a civicrm book
> <http://objavi.booki.cc/?book=civicrm&server=booki.flossmanuals.net&mode=templated_html&html_template=%3Chtml%3E%0A%3Chead%3E%0A%09%20%20%3Ctitle%3E%3C%2Ftitle%3E%0A%09%3Clink%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%20media%3D%22all%22%20href%3D%22%2Fstyle.css%22%20%2F%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%3Clink%20href%3D%27%2Fstyle.css%27%20rel%3D%27stylesheet%27%20type%3D%27text%2Fcss%27%3E%0A%3Ciframe%20scrolling%3D%22no%22%20style%3D%22max-height%3A%2035px%3B%20border%3A%200px%3B%20width%3A%20100%25%3B%20display%3A%20block%3B%22%20src%3D%22http%3A%2F%2Fcivicrm.org%2Fsites%2Fcivicrm.org%2Fdevelopers%2Findex.html%22%3E%3C%2Fiframe%3E%0A%3Cdiv%20id%3D%27header%27%3E%3Ch1%3ECiviCRM%20user%20and%20administrator%20guide%3C%2Fh1%3E%3C%2Fdiv%3E%0A%3Cdiv%20id%3D%27menu%27%3E%0A%09%3Cp%20id%3D%27edition%27%3EFourth%20edition%20for%20v4.1%2C%20Aug%202011%3C%2Fp%3E%3Cmenu-goes-here%2F%3E%3C%2Fdiv%3E%0A%3Cdiv%20id%3D%27content%27%3E%0A%09%3Cdiv%20class%3D%27nav%27%3E%3C%2F!
div%3E%0A%
09%3Cdiv%20class%3D%27section-breadcrumb%27%3E%3C%2Fdiv%3E%0A%09%3Ccontent-goes-here%20%2F%3E%0A%09%3Cdiv%20class%3D%27nav%27%3E%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%3Cdiv%20id%3D%27footer%27%3E%0A%3Cp%3ECiviCRM%20user%20and%20administrator%20guide.%20Fourth%20edition%20for%20CiviCRM%204.1.%20Published%20Aug%202011%20under%20%3Ca%20href%3D%22http%3A%2F%2Fwww.gnu.org%2Flicenses%2Fgpl-2.0.html%22%3EGPLv2%2B%3C%2Fa%3E.%20View%20older%20editions%20of%20this%20book%20in%20the%20%3Ca%20href%3D%22%2Fuser%2Farchive%22%3Earchives%3C%2Fa%3E.%3C%2Fp%3E%0A%3Cp%3ECiviCRM%20documentation%20is%20community%20driven.%20You%20can%20%3Ca%20href%3D%22http%3A%2F%2Fcivicrm.org%2Fdocumentation%22%3Ehelp%20improve%20documentation%3C%2Fa%3E.%20This%20book%20is%20powered%20by%20%3Ca%20href%3D%22http%3A%2F%2Fwww.flossmanuals.org%2F%22%3EFlossmanuals%3C%2Fa%3E.%3C%2Fp%3E%0A%3C%2Fdiv%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E>
> on line 45.
>
> It works when you call it in a browser.
>
> It also works in my script for a small book like
> civicrm-developer-guide. But is doesn't work for a big book like civicrm.
>
> Looking at the page that gets created when I do call the URL, it seems
> to end prematurely (see below).
Could it be that your script times out before Objavi has the complete reply?
Maybe you can use these approaches to raise the time limit?
http://www.php.net/manual/en/function.file-get-contents.php#74551
More information about the Discuss
mailing list