You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using php 7.3.5 on my development server and the production server is still on 7.2.18.
From: Carlos (carcam) <notifications@github.com>
Sent: Tuesday, June 18, 2019 6:39 AM
To: carcam/jresearch <jresearch@noreply.github.com>
Cc: M. A. Ladd <maladd@mgh-ita.org>; Mention <mention@noreply.github.com>
Subject: Re: [carcam/jresearch] Can't import bibtex files w/ php7. (#23)
Hi @maladd<https://github.com/maladd>, still having issues? Can you please provide your exact version of PHP?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#23?email_source=notifications&email_token=AAWYMYNUVRJUDPLUXXTMAQ3P3C3LJA5CNFSM4HLLF7W2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX56W3I#issuecomment-503049069>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAWYMYJN52BUZCIKPWINC73P3C3LJANCNFSM4HLLF7WQ>.
I typo'd - my production server is using php5.6. The latest version of php the production server can use is 7.2.18. I can't move my site off php5 until Jresearch works.
I am developing a site design that will run on php7.2, and we use JResearch for our staff pages and publications site.
The Type appears as in the Backend as JRESEARCH_ARTICLE{CHHATWAL2019. The value for pubtype in the database is "article{chhatwal2019". The line in the BibTex file is "@Article{Chhatwal2019a,", so the process cut the tailing character off the end of the citekey, as well as failing to put in the correct field. Not a big deal, but I notice it also lowercased the citekey from the original text.
Activity
carcam commentedon Jun 18, 2019
Hi @maladd, still having issues? Can you please provide your exact version of PHP?
maladd commentedon Jun 18, 2019
maladd commentedon Jul 18, 2019
I typo'd - my production server is using php5.6. The latest version of php the production server can use is 7.2.18. I can't move my site off php5 until Jresearch works.
I am developing a site design that will run on php7.2, and we use JResearch for our staff pages and publications site.
Thanks for your efforts!
maladd commentedon Aug 9, 2019
I redownloaded the latest build and installed it. I made the following changes to the BibTex.php file and my bibtex file uploaded almost successfully.
administrator/components/com_jresearch/includes$ diff BibTex.php-orig BibTex.php
421c421
< $arr = split('{', $entry);
630c630
< $authorarray = split(' and ', $entry);
642c642
< $tmparray = split(' |~', $author);
The Type appears as in the Backend as JRESEARCH_ARTICLE{CHHATWAL2019. The value for pubtype in the database is "article{chhatwal2019". The line in the BibTex file is "@Article{Chhatwal2019a,", so the process cut the tailing character off the end of the citekey, as well as failing to put in the correct field. Not a big deal, but I notice it also lowercased the citekey from the original text.
Any thoughts?
maladd commentedon Aug 9, 2019
Got it. Remove the escape from line 421.
$arr = explode('{', $entry);
Pubs now upload as expected.