[EP-tech] Re: generate_views - no list pages...

John Salter J.Salter at leeds.ac.uk
Mon Jun 16 08:35:32 BST 2014


Hi Nick,
Have you created any of these views since last restarting Apache (if so, do a restart and check again)?

I think the lack of the '.html' pages is normal - they are glued together with the template when requested.
In our ~/archives/ARCHIVEID/html/en/view/year directory, we have (for 2013):
2013.default.export
2013.default.include
2013.default.page
2013.default.title
2013.default.title.textonly
2013.export
2013.include
2013.page
2013.title
2013.title.textonly
2013.type.export
2013.type.include
2013.type.page
2013.type.title
2013.type.title.textonly

If that doesn't help, look in the Apache access/error logs and see if the path reported for the 404 response matches where the files live on disk.

Cheers,
John

-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Nick Wallingford
Sent: 16 June 2014 05:31
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] generate_views - no list pages...

Hi

New to the list, and to eprints.  I've spent time over the weekend 
getting to know the structure of the application, so have a fair idea of 
how things are working, but have hit a 'wall'.

When I use generate_views <rep name> it does create the various 
index.html pages for creators, divisions, subjects, years - as it should.

It creates the 'precursor' pages for the specific lists, such as 
*.export, *.include, *.page, *.title, *.title.textonly - but it doesn't 
make the resulting *.html files.

In the year folder, for instance, I have all of those for the (one year) 
I have in the database: 2005 (as well as equivalent pages for 
2005.default and 2005.type - but the only .html file in that folder is 
the index.html

When you click, you just get the 404...

Am I missing something pretty obvious here?  As it getting to the 
immediate step before, I thought maybe permissions?  But can't see 
anything odd there - and it *is* creating the index.html, so can't see 
that could be it.

But maybe someone can put me on the right track!

EPrints Release: 3.3.12
Database Driver: EPrints::Database::mysql [DBI 1.609, DBD::mysql 4.012]
Database Server Version: MySQL 5.1.41-3ubuntu12.10-log

The underlying Ubuntu is several steps old, but can't see that as 
significant?

Thanks...

Nick Wallingford
Tauranga, NZ
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/



More information about the Eprints-tech mailing list