Hi!

When I try to import page from PubMed with PMID I receive something like WSOD and I can't see anything in error_log. When I try to do it with site in my local server everything goes fine. Could you help me? I have php memory limit 64mb on my webserver. What can it be?

Comments

rjerome’s picture

That should be lots of memory, it requires PHP5.1 or better and SimpleXML to function, so you might want to check that.

Do you have php error logging turned on in the php.ini file?

Ron.

Daniel A. Beilinson’s picture

Thank you!
I just turned on simpleXML and now i have this error:

Fatal error: Uncaught exception 'Exception' with message 'Query http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmo... failed.' in /home/neurooncol/fnkc.neurooncologia.ru/docs/sites/all/modules/biblio/pubmed/EntrezClient.php:406 Stack trace: #0 /home/neurooncol/fnkc.neurooncologia.ru/docs/sites/all/modules/biblio/pubmed/biblio_pm.module(44): BiblioEntrezClient->fetch('17802785') #1 /home/neurooncol/fnkc.neurooncologia.ru/docs/includes/form.inc(774): biblio_pm_form_biblio_node_form_validate(Array, Array) #2 /home/neurooncol/fnkc.neurooncologia.ru/docs/includes/form.inc(719): form_execute_handlers('validate', Array, Array) #3 /home/neurooncol/fnkc.neurooncologia.ru/docs/includes/form.inc(584): _form_validate(Array, Array, 'biblio_node_for...') #4 /home/neurooncol/fnkc.neurooncologia.ru/docs/includes/form.inc(403): drupal_validate_form('biblio_node_for...', Array, Array) #5 /home/neurooncol/fnkc.neurooncologia.ru/docs/includes/form.inc(119): drupal_process_form('biblio_node_for...' in /home/neurooncol/fnkc.neurooncologia.ru/docs/sites/all/modules/biblio/pubmed/EntrezClient.php on line 406

rjerome’s picture

That appears to be a problem connecting to the pubmed web server rather than a problem with the code itself. If you just click on the URL in that message, it should return you an XML document with the following contents... (it does when I click on it). If it doesn't then there is some sort of network related (perhaps firewall) issue.

<pubmedarticle>
    <medlinecitation owner="NLM" status="MEDLINE">
        <pmid>17802785</pmid>
        <datecreated>
            <year>2007</year>
            <month>09</month>
            <day>06</day>

        </datecreated>
        <datecompleted>
            <year>2007</year>
            <month>09</month>
            <day>28</day>
        </datecompleted>
        <daterevised>

            <year>2007</year>
            <month>11</month>
            <day>15</day>
        </daterevised>
        <article pubmodel="Print">
            <journal>
                <issn issntype="Print">0040-3660</issn>

                <journalissue citedmedium="Print">
                    <volume>79</volume>
                    <issue>7</issue>
                    <pubdate>
                        <year>2007</year>
                    </pubdate>
                </journalissue>

                
                <isoabbreviation>Ter. Arkh.</isoabbreviation>
            </journal>
            <articletitle>[The results of a multicenter trial of acute lymphoblastic leukemia treatment on ALL-MB 91/ALL-BFM 90m in children: analysis of efficacy and toxicity]</articletitle>
            <pagination>
                <medlinepgn>19-26</medlinepgn>
            </pagination>
            <abstract>

                <abstracttext>AIM: A comparative analysis of efficacy and toxicity of two chemotherapy regimens: standard German protocol ALL-BFM 90m and less intensive original test protocol ALL-MB 91 in a multicenter trial of acute lymphoblastic leukemia (ALL) in children. MATERIAL AND METHODS: In 1995-2002 a total of 834 patients with newly diagnosed ALL aged 0-18 years were admitted to 10 clinics of Russia. Of them, 713 were randomized in two groups: treatment program ALL-BFM 90m (n = 355) and ALL-MB 91 program (n = 358). RESULTS: In 7-year follow-up median, 10-year event-free survival (EFS) and overall survival (OS) did not differ significantly between the groups and was 67 +/- 3 and 68 +/- 3% (ALL-MB 91) and 74 +/- 2, 71 +/- 3% (ALL-BFM 90m), respectively. Though the rate of isolated recurrences in CNS in patients on the protocol ALL-MB 91 was 2.8%, they developed only in 0.8% patients of the standard risk group. Anemia, thrombocytopenia and agranulocytosis developed less frequently, hospital stay was significantly shorter on the test protocol vs the control one (p &lt; 0.01). CONCLUSION: EFS and OS on the test (ALL-MB 91) and control (ALL-BFM 90m) protocols were equivalent in lower toxicity and cost of therapy.</abstracttext>
            </abstract>
            <authorlist completeyn="Y">
                <author validyn="Y">
                    <lastname>Karachunskiĭ</lastname>
                    <forename>A I</forename>

                    <initials>AI</initials>
                </author>
                <author validyn="Y">
                    <lastname>Miakova</lastname>
                    <forename>N V</forename>
                    <initials>NV</initials>
                </author>

                <author validyn="Y">
                    <lastname>Rumiantseva</lastname>
                    <forename>Iu V</forename>
                    <initials>IuV</initials>
                </author>
                <author validyn="Y">
                    <lastname>Timakov</lastname>

                    <forename>A M</forename>
                    <initials>AM</initials>
                </author>
                <author validyn="Y">
                    <lastname>Makhortykh</lastname>
                    <forename>T Zh</forename>
                    <initials>TZh</initials>

                </author>
                <author validyn="Y">
                    <lastname>Fechina</lastname>
                    <forename>L G</forename>
                    <initials>LG</initials>
                </author>
                <author validyn="Y">

                    <lastname>Shamardina</lastname>
                    <forename>A V</forename>
                    <initials>AV</initials>
                </author>
                <author validyn="Y">
                    <lastname>Dudkin</lastname>
                    <forename>S A</forename>

                    <initials>SA</initials>
                </author>
                <author validyn="Y">
                    <lastname>Lebedev</lastname>
                    <forename>V V</forename>
                    <initials>VV</initials>
                </author>

                <author validyn="Y">
                    <lastname>Varfolomeeva</lastname>
                    <forename>S R</forename>
                    <initials>SR</initials>
                </author>
                <author validyn="Y">
                    <lastname>Timofeeva</lastname>

                    <forename>V N</forename>
                    <initials>VN</initials>
                </author>
                <author validyn="Y">
                    <lastname>Herold</lastname>
                    <forename>R</forename>
                    <initials>R</initials>

                </author>
                <author validyn="Y">
                    <lastname>Stakelberg</lastname>
                    <forename>A</forename>
                    <initials>A</initials>
                </author>
                <author validyn="Y">

                    <lastname>Henze</lastname>
                    <forename>G</forename>
                    <initials>G</initials>
                </author>
                <author validyn="Y">
                    <lastname>Rumiantsev</lastname>
                    <forename>A G</forename>

                    <initials>AG</initials>
                </author>
            </authorlist>
            <language>rus</language>
            <publicationtypelist>
                <publicationtype>English Abstract</publicationtype>
                <publicationtype>Journal Article</publicationtype>

                <publicationtype>Multicenter Study</publicationtype>
                <publicationtype>Randomized Controlled Trial</publicationtype>
            </publicationtypelist>
        </article>
        <medlinejournalinfo>
            <country>Russia (Federation)</country>
            <medlineta>Ter Arkh</medlineta>

            <nlmuniqueid>2984818R</nlmuniqueid>
        </medlinejournalinfo>
        <chemicallist>
            <chemical>
                <registrynumber>0</registrynumber>
                <nameofsubstance>AIEOP acute lymphoblastic leukemia protocol</nameofsubstance>
            </chemical>

            <chemical>
                <registrynumber>147-94-4</registrynumber>
                <nameofsubstance>Cytarabine</nameofsubstance>
            </chemical>
            <chemical>
                <registrynumber>20830-81-3</registrynumber>
                <nameofsubstance>Daunorubicin</nameofsubstance>

            </chemical>
            <chemical>
                <registrynumber>50-18-0</registrynumber>
                <nameofsubstance>Cyclophosphamide</nameofsubstance>
            </chemical>
            <chemical>
                <registrynumber>50-44-2</registrynumber>

                <nameofsubstance>6-Mercaptopurine</nameofsubstance>
            </chemical>
            <chemical>
                <registrynumber>53-03-2</registrynumber>
                <nameofsubstance>Prednisone</nameofsubstance>
            </chemical>
            <chemical>

                <registrynumber>57-22-7</registrynumber>
                <nameofsubstance>Vincristine</nameofsubstance>
            </chemical>
            <chemical>
                <registrynumber>59-05-2</registrynumber>
                <nameofsubstance>Methotrexate</nameofsubstance>
            </chemical>

            <chemical>
                <registrynumber>EC 3.5.1.1</registrynumber>
                <nameofsubstance>Asparaginase</nameofsubstance>
            </chemical>
        </chemicallist>
        <citationsubset>IM</citationsubset>
        <meshheadinglist>

            <meshheading>
                <descriptorname majortopicyn="N">6-Mercaptopurine</descriptorname>
                <qualifiername majortopicyn="N">adverse effects</qualifiername>
                <qualifiername majortopicyn="N">economics</qualifiername>
                <qualifiername majortopicyn="N">therapeutic use</qualifiername>
            </meshheading>
            <meshheading>

                <descriptorname majortopicyn="N">Adolescent</descriptorname>
            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Antineoplastic Combined Chemotherapy Protocols</descriptorname>
                <qualifiername majortopicyn="Y">adverse effects</qualifiername>
                <qualifiername majortopicyn="N">economics</qualifiername>
                <qualifiername majortopicyn="N">therapeutic use</qualifiername>

            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Asparaginase</descriptorname>
                <qualifiername majortopicyn="N">adverse effects</qualifiername>
                <qualifiername majortopicyn="N">economics</qualifiername>
                <qualifiername majortopicyn="N">therapeutic use</qualifiername>
            </meshheading>

            <meshheading>
                <descriptorname majortopicyn="N">Child</descriptorname>
            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Child, Preschool</descriptorname>
            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Cyclophosphamide</descriptorname>

                <qualifiername majortopicyn="N">adverse effects</qualifiername>
                <qualifiername majortopicyn="N">economics</qualifiername>
                <qualifiername majortopicyn="N">therapeutic use</qualifiername>
            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Cytarabine</descriptorname>
                <qualifiername majortopicyn="N">adverse effects</qualifiername>

                <qualifiername majortopicyn="N">economics</qualifiername>
                <qualifiername majortopicyn="N">therapeutic use</qualifiername>
            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Daunorubicin</descriptorname>
                <qualifiername majortopicyn="N">adverse effects</qualifiername>
                <qualifiername majortopicyn="N">economics</qualifiername>

                <qualifiername majortopicyn="N">therapeutic use</qualifiername>
            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Female</descriptorname>
            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Humans</descriptorname>

            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Male</descriptorname>
            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Methotrexate</descriptorname>
                <qualifiername majortopicyn="N">adverse effects</qualifiername>

                <qualifiername majortopicyn="N">economics</qualifiername>
                <qualifiername majortopicyn="N">therapeutic use</qualifiername>
            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Precursor Cell Lymphoblastic Leukemia-Lymphoma</descriptorname>
                <qualifiername majortopicyn="Y">drug therapy</qualifiername>
                <qualifiername majortopicyn="N">mortality</qualifiername>

            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Prednisone</descriptorname>
                <qualifiername majortopicyn="N">adverse effects</qualifiername>
                <qualifiername majortopicyn="N">economics</qualifiername>
                <qualifiername majortopicyn="N">therapeutic use</qualifiername>
            </meshheading>

            <meshheading>
                <descriptorname majortopicyn="N">Treatment Outcome</descriptorname>
            </meshheading>
            <meshheading>
                <descriptorname majortopicyn="N">Vincristine</descriptorname>
                <qualifiername majortopicyn="N">adverse effects</qualifiername>
                <qualifiername majortopicyn="N">economics</qualifiername>

                <qualifiername majortopicyn="N">therapeutic use</qualifiername>
            </meshheading>
        </meshheadinglist>
    </medlinecitation>
    <pubmeddata>
        <history>
            <pubmedpubdate pubstatus="pubmed">
                <year>2007</year>

                <month>9</month>
                <day>7</day>
                <hour>9</hour>
                <minute>0</minute>
            </pubmedpubdate>
            <pubmedpubdate pubstatus="medline">
                <year>2007</year>

                <month>9</month>
                <day>29</day>
                <hour>9</hour>
                <minute>0</minute>
            </pubmedpubdate>
            <pubmedpubdate pubstatus="entrez">
                <year>2007</year>

                <month>9</month>
                <day>7</day>
                <hour>9</hour>
                <minute>0</minute>
            </pubmedpubdate>
        </history>
        <publicationstatus>ppublish</publicationstatus>

        <articleidlist>
            <articleid idtype="pubmed">17802785</articleid>
        </articleidlist>
    </pubmeddata>
</pubmedarticle>
Daniel A. Beilinson’s picture

Version: 6.x-1.8 » 6.x-1.9

With new version I just receive this message:
No data available for PubMed ID: 17802785

rjerome’s picture

What happens if you click on this link?

It still seems like your webserver can't connect to the pubmed server.

Ron.

Daniel A. Beilinson’s picture

I see text!
What kind of firewall can destroy it in my webserver?

rjerome’s picture

Could you give me more details about your server (OS and PHP versions).

I see there is also this requirement for SimpleXML in the manual (http://www.php.net/manual/en/simplexml.requirements.php) which could well be the issue here as we are trying to open a URL.

Ron.

Daniel A. Beilinson’s picture

Status: Active » Fixed

Great!
It was because php's allow_url_fopen switched off!
Thank you, Ron!

rjerome’s picture

Good to hear.

You have a well secured php installation, as I believe "allow_url_fopen" is on by default, so someone would have had to deliberately turn it off.

Ron.

quito’s picture

Issue tags: +PubMed, +PubMed Central, +free, +fulltext

Hi Daniel and Ron,
just a heads up on the new URL for PubMed Central:
http://www.nlm.nih.gov/pubs/techbull/nd09/nd09_pmc_urls.html
Best,
Daniel Hinostroza

rjerome’s picture

Thanks for the heads up on that, I'll make the appropriate changes in the code.

Ron.

rjerome’s picture

Thanks for the heads up on that, I'll make the appropriate changes in the code.

Ron.

Daniel A. Beilinson’s picture

Thank you!

Status: Fixed » Closed (fixed)
Issue tags: -PubMed, -PubMed Central, -free, -fulltext

Automatically closed -- issue fixed for 2 weeks with no activity.