EPrints Technical Mailing List Archive
Message: #00755
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Mon, 18 Jun 2012 16:09:41 +0100
There used to be a bug with this (but I don't know which version of
EPrints you're using...) Try editing: /opt/eprints3/perl_lib/EPrints/Plugin/Screen/Admin/Config/Edit.pm (replace /opt/eprints3 with your EPrints install path) Look for: # install the new file unless( open( DATA, ">$fn" ) ) { $self->{processor}->add_message( "error", $self->{session}->html_phrase( "Plugin/Screen/Admin/Config/Edit:could_not_write", error_msg=>$self->{session}->make_text($!), filename=>$self->{session}->make_text( $self->{processor}->{configfilepath} ) ) ); return; } print DATA $data; close DATA; If it looks like the code above, then change to: # install the new file unless( open( DATA, ">$fn" ) ) { $self->{processor}->add_message( "error", $self->{session}->html_phrase( "Plugin/Screen/Admin/Config/Edit:could_not_write", error_msg=>$self->{session}->make_text($!), filename=>$self->{session}->make_text( $self->{processor}->{configfilepath} ) ) ); return; } binmode( DATA, ":utf8" ); print DATA $data; close DATA; Restart Apache after making the change & let us know if that fixed your problem? Seb. On 18/06/12 15:58, Mario Beaudoin wrote:
|
- References:
- [EP-tech] Unable to edit home page via "Edit XPage Code"?
- From: Alex Birchall <A.Birchall@mdx.ac.uk>
- [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- From: Alex Birchall <A.Birchall@mdx.ac.uk>
- [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- From: Alex Birchall <A.Birchall@mdx.ac.uk>
- [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- From: Mario Beaudoin <Mario.Beaudoin@uqtr.ca>
- [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- From: Mario Beaudoin <Mario.Beaudoin@uqtr.ca>
- [EP-tech] Unable to edit home page via "Edit XPage Code"?
- Prev by Date: [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- Next by Date: [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- Previous by thread: [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- Next by thread: [EP-tech] Re: Unable to edit home page via "Edit XPage Code"?
- Index(es):