EPrints Technical Mailing List Archive
Message: #09527
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] error in script
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] error in script
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Tue, 16 Jan 2024 08:47:44 +0000
Hi Zen,
The value for the depositing user is generated from the default user citation, therefore it is likely there is something wrong with this citation file. This can be found under EPRINTS_PATH/lib/citations/user/default.xml or may have been copied to your archive configuration under EPRINTS_PATH/archives/ARCHIVE_ID/cfg/citations/user/default.xml. The main test to see if there is an issue with this file is to use the xmlint command [1] against it, e.g.
xmllint citations/user/default.xml
If this show any errors then go in and fix the XML in this file. After you have done this you will need to regenerate the abstract page to fix the [error in script], as this page is cached. This can be done with the command:
EPRINTS_PATH/bin/generate_abstracts ARCHIVE_ID EPRINT_ID
Also, this command should provide some information about the error if the issue was not in the user's default citation file. If it does show and error, reply to this email with this error message and I will see if I can further advise. If fixing the citation file did resolve your issue, you will probably need to fix all abstract pages. You can either run the command above without an EPRINT_ID, which may take some time, or you can reload your webserver (e.g. apachectl graceful) and run the refresh abstracts command:
EPRINTS_PATH/bin/epadmin refresh_abstracts ARCHIVE_ID
This will ensure all abstract pages are regenerated on next request rather than using the existing cache.
Regards
David Newman
[1] If not already installed use "yum install libxml2" or "apt install libxml2-utils"
CAUTION: This e-mail originated outside the University of Southampton.CAUTION: This e-mail originated outside the University of Southampton.Good day!
I have a problem in some of the documents in my eprints repository
Item Type: Thesis (Masters)
Additional Information: MT LANG & LIT 5 1989
Subjects: P Language and Literature > P Philology. Linguistics
P Language and Literature > PN Literature (General)
Users: College of Liberal Arts and Communication > CLA Graduate Studies
Depositing User: [error in script]
Date Deposited: 05 Jul 2016 03:54
Last Modified: 05 Jul 2016 03:54
URI: http://thesis.dlsud.edu.ph/id/eprint/4190
Actions (login required)
It did not show Depositing user ( error in script)
when i tried to click view item, it give Internal server error 500
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at aklatan@dlsud.edu.ph to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.52 (Ubuntu) Server at thesis.dlsud.edu.ph Port 80
How can i delete is kind of file so that we can re encode it to our repository.
or how can i check the error.
Thank you!
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List *** Archive: https://www.eprints.org/tech.php/ *** EPrints community wiki: https://wiki.eprints.org/
- Follow-Ups:
- Re: [EP-tech] error in script
- From: zen zenitram <quickfire28@gmail.com>
- Re: [EP-tech] error in script
- References:
- [EP-tech] error in script
- From: zen zenitram <quickfire28@gmail.com>
- [EP-tech] error in script
- Prev by Date: [EP-tech] Internal Server error 500 opening view items, Saved searches and Users + Error in Script
- Next by Date: Re: [EP-tech] Internal Server error 500 opening view items, Saved searches and Users + Error in Script
- Previous by thread: [EP-tech] error in script
- Next by thread: Re: [EP-tech] error in script
- Index(es):