Changes between Initial Version and Version 1 of Ticket #474


Ignore:
Timestamp:
02/26/13 21:51:12 (4 years ago)
Author:
chris
Comment:

Replying to chris:

But they are working here:

http://2011.archive.transitionnetwork.org/index.php

The 2011 archive had started doing the same thing so I have spent some time solving this, for the 2011 archives I re-enabled uploads and set it so that existing files can't be overwritten in lots of config.php files:

$EnableUpload = 1;
$EnableUploadOverwrite = 0;

New files can't actually be uploaded as all the files and directories are owned by root and the web server doesn't have permission write any files.

This didn't solve the problem with the 2010 archive, but editing paths in config files, as the location of the files changed when moved from the last web server, solved the problem, these regural expressions were used for this in vim:

:1,$s;/home/tt/public_html;/web/2010.archive.transitionnetwork.org/www;gc
:1,$s;/web/transitiontowns.org.webarch.net/www;/web/2010.archive.transitionnetwork.org/www;gc
:1,$s;http://transitiontowns.org/pub;http://2010.archive.transitionnetwork.org/pub;gc  

Now the archive have images again :-)

Also the archives do get traffic still -- the 2011 archive had 13 visits yesterday according to the piwik stats.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #474

    • Property Add Hours to Ticket changed from 0.0 to 0.6
    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
    • Property Total Hours changed from 0.0 to 0.6