[Dspace-tech] How to modify Recent Submissions tag

2013-12-09 Thread Henry Agbodza
​Dear all,
can anyone show me how to modify the Recent Submissions tag on the XMLUI 
template?
Thanks all,
Henry
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Error generated after clicking on feedback

2013-05-23 Thread Henry Agbodza
Running this command  :   /usr/local/dspace/bin/dspace test-email
gives me what is below
 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: 
DSpaceKernel:org.dspace:name=a72545a6-24b6-49e9-8d14-bc78a16ed0c0,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
 INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: 
file:/usr/local/dspace/config/dspace.cfg
 INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log 
configuration (log.init.config)
 INFO [main] (ConfigurationManager.java:1224) - Loading: 
/usr/local/dspace/config/log4j.properties

About to send test email:
 - To: i...@awdflibrary.org
 - Subject: DSpace test email
 - Server: awdflibrary.org

Error sending email:
 - Error: javax.mail.MessagingException: Could not connect to SMTP host: 
awdflibrary.org, port: 25;
  nested exception is:
java.net.ConnectException: Connection refused

Please see the DSpace documentation for assistance.

On Wed, 05/22/2013 11:05 AM, helix84  wrote:
> On Wed, May 22, 2013 at 12:33 PM, Henry Agbodza
> " target="_blank"> wrote:
> > I had this error after clicking on the Feedback link.
> > I'm using Dspace 3.1 and the mirage theme.
> > java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> 
> That means you don't have mail.allowed.referrers set correctly in dspace.cfg.
> 
> We're aware that the error message should be more helpful and have
> filed it as a bug.
> https://jira.duraspace.org/browse/DS-1467
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> --
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Error generated after clicking on feedback

2013-05-23 Thread Henry Agbodza
Hi Helix, below is my mail mail.allowed.referrers settings.

mail.allowed.referrers = awdflibrary.org


On Wed, 05/22/2013 11:05 AM, helix84  wrote:
> On Wed, May 22, 2013 at 12:33 PM, Henry Agbodza
> " target="_blank"> wrote:
> > I had this error after clicking on the Feedback link.
> > I'm using Dspace 3.1 and the mirage theme.
> > java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> 
> That means you don't have mail.allowed.referrers set correctly in dspace.cfg.
> 
> We're aware that the error message should be more helpful and have
> filed it as a bug.
> https://jira.duraspace.org/browse/DS-1467
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> --
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Error generated after clicking on feedback

2013-05-22 Thread Henry Agbodza
​I had this error after clicking on the Feedback link.
I'm using Dspace 3.1 and the mirage theme.
java.lang.StringIndexOutOfBoundsException:
  String index out of range: -1

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Change the default background color of Mirage Header

2013-05-22 Thread Henry Agbodza
Thanks Hilton.

On Wed, 05/22/2013 07:43 AM, Hilton Gibson  wrote:
> Perhaps these links will help.
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Theme/Page_Structure
> 

http://wiki.lib.sun.ac.za/index.php/SUNScholar/Theme/Page_Content
> 
> Cheers
> 

hg
> 
> On 21 May 2013 19:17, Henry Agbodza  wrote:
> 

> Thanks for the quick response. I have solved it now. The login link at the 
> header section still has a white colour.
> 

How do i change that?
> Thanks.
> 
> On Tue, 05/21/2013 04:33 PM, helix84  wrote:
> > 

On Tue, May 21, 2013 at 6:20 PM, Henry Agbodza
>  wrote:
> > Can someone direct me as to how i can change the default background color of
> 

> Mirage theme Header.
> 
> Header background:
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/css/style.css#L48
> 

Breadcrumb trail:
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/css/style.css#L90
> 


> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> 


--

Try New Relic Now & We'll Send You this Cool Shirt

New Relic is the only SaaS-based application performance monitoring service

that delivers powerful full stack analytics. Optimize and monitor your

browser, app, & servers with just a few lines of code. Try New Relic

and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___

DSpace-tech mailing list

DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech

List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette





-- 
Hilton GibsonSystems AdministratorJS Gericke LibraryRoom 1025CStellenbosch 
UniversityPrivate Bag X5036Stellenbosch

7599South Africa
Tel: +27 21 808 4100 | Cell: +27 84 646 
4758http://library.sun.ac.zahttp://scholar.sun.ac.za

http://ar1.sun.ac.zahttp://aj1.sun.ac.za

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Change the default background color of Mirage Header

2013-05-22 Thread Henry Agbodza
Thanks a lot.

On Tue, 05/21/2013 08:11 PM, helix84  wrote:
> On Tue, May 21, 2013 at 7:17 PM, Henry Agbodza
> " target="_blank"> wrote:
> > Thanks for the quick response. I have solved it now. The login link at the
> > header section still has a white colour.
> > How do i change that?
> 
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/css/style.css#L86
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> --
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Change the default background color of Mirage Header

2013-05-21 Thread Henry Agbodza
Thanks for the quick response. I have solved it now. The login link at the 
header section still has a white colour.
How do i change that?
Thanks.

On Tue, 05/21/2013 04:33 PM, helix84  wrote:
> On Tue, May 21, 2013 at 6:20 PM, Henry Agbodza
> " target="_blank"> wrote:
> > Can someone direct me as to how i can change the default background color of
> > Mirage theme Header.
> 
> Header background:
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/css/style.css#L48
> Breadcrumb trail:
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/css/style.css#L90
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> --
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Change the default background color of Mirage Header

2013-05-21 Thread Henry Agbodza
​Can someone direct me as to how i can change the default background color of 
Mirage theme Header.
Thanks

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Mirage Customisation

2013-05-21 Thread Henry Agbodza
Helix,Kiriaki and all,
The problem i had was not associated with the locale. I have realized that if i 
download a file and edit before uploading is what is causing the problem.
Thus i used nano to edit files on the server and it solved my problems. This is 
really my first experience with cloud hosting so i guess i'm on a leaning curve.
Thanks to all.


On Tue, 05/21/2013 10:42 AM, helix84  wrote:
> What locale are you using? If you have your browser set to request a
> different language before English, you have to have those messages in
> a messages_XX.xml file where XX is your language code (the same as the
> browser sends). You also have to define webui.supported.locales, e.g.:
> 
> webui.supported.locales = en, de
> 
> The fact that you're seeing the message key
> (xmlui.general.dspace_home) instead of the message text means that the
> emssage key couldn't be found in the catalog (messages.xml file) that
> is currently used.
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> --
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Mirage Customisation

2013-05-21 Thread Henry Agbodza
Hi Helix,
i've done as you said and also restarted tomcat and rebooted the machine but it 
still shows the same things.

On Tue, 05/21/2013 09:41 AM, helix84  wrote:
> Hi Henry,
> 
> try this:
> 
> https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> --
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Mirage Customisation

2013-05-21 Thread Henry Agbodza
​Dear all,
I made some changes in messages.xml file under the Dspace directory and reboot 
my machine since for some strange reason restarting Tomcat as i usually do on 
another machine dspace machine doesn't reflect my changes.
My Dspace instance is not displaying exactly the changes i effected.
For instance i changed Dspace Home to XXX Home but it is displaying 
xmlui.general.dspace_home
I changed the header logo on mirage apple-touch-icon.png but it is still the 
same image.
I'm using Dspace 3.1
This my first experience with Dspace 3.1 thus i might be missing some few 
things.
Thanks

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Errors upon submitting an item

2013-05-20 Thread Henry Agbodza
​I have encountered an error on upon submitting a test item to a repository i 
just created. Below is the error:

net.sf.ehcache.CacheException:
  cocoon-ehcacheCache: Could not remove disk store entry for key
 
PK_G-aspect-cocoon://DRI/7/handle/123456789/1?pipelinehash=-2223749076000553528_T-Navigation--1253439676106052715.
 Error was invalid stream header: 74696C2F

It is a CENTOS cloud hosted repository using Dspace 3.1
The URL is http://awdflibrary.org:8080/xmlui/

Thanks for any help.

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Tomcat on port 80 (Hilton Gibson)

2013-05-16 Thread Henry Agbodza
I have made some progress on what i received from the community. I can now view 
my repository on port 80. ie http://ugspace.ug.edu.gh/
I followed the instructions on 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Dspace/S08
Unfortunately i can't view statistics, items and bitstreams that were visible 
when the URL was http://ugspace.ug.edu.gh:8080/XMLUI
I am able to login with my details and two of my colleagues too have logged in 
successfully.

I have tried removing Apache but realised that some strange Apache process was 
still using port 80. Thus i had to stop and tried removing it permanently based 
on Hilton's information. It however takes over port 80 once the machine is 
restarted.
Running sudo apt-get purge apache2 gives me:

Reading package lists... Done
Building dependency tree   
Reading state information... Done
Package apache2 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.


sudo apt-get autoremove apache2

Reading package lists... Done
Building dependency tree   
Reading state information... Done
Package apache2 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.


sudo dpkg -P apache2
dpkg: warning: ignoring request to remove apache2 which isn't installed.
root@ugspace:~# sudo /etc/init.d/apache2 stop
 * Stopping web server apache2
 ... waiting...done.



Running dpkg -l | grep apache gives me
ii  apache2-mpm-prefork  2.2.14-5ubuntu8.11 
 Apache HTTP Server - traditional non-threade
ii  apache2-utils2.2.14-5ubuntu8.11 
 utility programs for webservers
ii  apache2.2-bin2.2.14-5ubuntu8.11 
 Apache HTTP Server common binary files
ii  apache2.2-common 2.2.14-5ubuntu8.11 
 Apache HTTP Server common files
ii  libapache2-mod-php5  5.3.2-1ubuntu4.19  
 server-side, HTML-embedded scripting languag
ii  libapache2-mod-proxy-html3.0.1-1
 Apache2 filter module for HTML links rewriti
ii  libbatik-java1.7.ubuntu-4ubuntu1
 xml.apache.org SVG Lib


Thanks so far to the entire Community for the helpful information.



On Wed, 05/15/2013 09:16 PM, dspace-tech-requ...@lists.sourceforge.net wrote:
> 
> 
> Message: 2
> Date: Wed, 15 May 2013 23:15:49 +0200
> From: Hilton Gibson " target="_blank">
> Subject: Re: [Dspace-tech] Tomcat on port 80
> To: Henry Atsu Agbodza " target="_blank">
> Cc: dspace-tech " target="_blank">
> Message-ID:
>   " 
> target="_blank">
> Content-Type: text/plain; charset="utf-8"
> 
> Ok. A few things to check.
> 
> Can you run the following command to see if the ports are properly enabled.
> 
> ls -l /etc/authbind/byport
> 
> Plse attach the output to the list.
> 
> Then the following to see if Tomcat has authbind enabled.
> 
> cat /etc/default/tomcat6
> 
> Plse attach the output to the list
> 
> Then the following to see if the Tomcat config file is configured correctly
> to listen on those ports.
> 
> cat /etc/tomcat6/server.xml
> 
> Plse attach the output to the list
> 
> That should do it. Plse comment any sensitive data in the files you may
> have like password etc..
> 
> Regards
> 
> hg
> 
> 
> 
> On 15 May 2013 19:51, Henry Atsu Agbodza " 
> target="_blank"> wrote:
> 
> > I had a problem with my tomcat installation and since i wanted to run
> > Dspace from port 80, i uninstalled it together with Java and tried the
> > installation notes on
> > http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05.
> >
> > Everything was ok until i runned the command "sudo netstat -tapn | grep
> > java"
> > to check if tomcat was using port 80 as was stated. But i didn't see the
> > desired result.
> > Below is what was shown on the terminal:
> > tcp0  0 127.0.0.1:8005  0.0.0.0:*
> > LISTEN  2631/java
> >
> > Thanks in advance for the help.
> >
> > --
> > *Sincerely Yours,
> >
> > Henry Atsu Agbodza
> > Library Systems,
> > University of Ghana Computing Systems (UGCS)
> > Room G3, Ground Floor - East Wing,
> > Balme Library
> > Legon
> > Tel.: +233 (0) 207 027360*
> >
> > *University of Ghana Digital Collection 
> > (UGSpace)
> > University of Ghana Online Catalogue (UGCat) 
> > University of Ghana Research Portal 
> > University of Ghana Off - Campus Access to E - 
> > Resources
> > *
> >
> >
> > --
> > AlienVault Unified Security Management (USM) platform delivers complete
> > security visibility with the essential security capabilities. Easily and
> > efficiently configure, manage, and operate all of your securit