More 1.4 SVN update woes

I seem to have mucked up another svn site upgrade from 1.3.2 to 1.4. (This one is hosted at dreamhost.com, if that makes any difference.)

As with an earlier self-hosted site update, I dealt with the Zend directory issue and the new .htaccess file.

When trying to access the admin interface to complete the update, I'm told my Omeka configuration file is missing.

Trying to access the public interface gives this error message:

Warning: require_once(Omeka.php) [function.require-once]: failed to open stream: No such file or directory in /home/luahiwa/huapala.net/paths.php on line 175

Fatal error: require_once() [function.require]: Failed opening required 'Omeka.php' (include_path='/home/luahiwa/huapala.net/application/libraries:/home/luahiwa/huapala.net/application/models:.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/luahiwa/huapala.net/paths.php on line 175

What exactly is missing? Is there a road to recovery?

What do svn status and svn info say?

This one looks like not all your Omeka files got updated or switched to 1.4 (in particular, this problem is occurring because you've got an old paths.php file).

Output of the svn info and status commands is appended below. Nothing sticks out to my untutored eye.

As for the paths.php file, though, you're right. I see a line near the top that says

define('OMEKA_VERSION', 1.3.2');

Is it as simple as replacing this file with the correct one from the 1.4 distribution?

---------------------

svn info

Path: .
URL: https://omeka.org/svn/tags/1.4
Repository Root: https://omeka.org/svn
Repository UUID: d187d172-3112-0410-8ee7-ad866068e984
Revision: 6595
Node Kind: directory
Schedule: normal
Last Changed Author: jflatnes
Last Changed Rev: 6562
Last Changed Date: 2011-06-21 09:18:47 -0700 (Tue, 21 Jun 2011)

-------

svn status

? omdata_backup01.sql
? favicon.gif
? photo
? phpinfo.php
? oldhtaccess
? favicon.ico
? svninfo.txt
? googleb235432209f9b099.html
? ExhibitBuilder
S archive/files
S archive/square_thumbnails
S archive/thumbnails
S archive/theme_uploads
S archive/index.html
S archive/fullsize
X plugins/ExhibitBuilder
X plugins/SimplePages
X plugins/Coins
S plugins/index.html
X themes/default
X themes/minimalist
S themes/index.html
S admin
X admin/plugins/ExhibitBuilder
X admin/plugins/SimplePages
X admin/plugins/Coins
X admin/themes/default
X admin/themes/minimalist
X admin/themes/rhythm
X admin/themes/seasons
S application/tests/unit/models/Installer/Task/_files
S application/tests/_files
S application/tests/integration/Helpers/StringFunctions/SnippetByWordCountTest.php
S application/tests/integration/Helpers/StringFunctions/SnippetTest.php
S application/tests/integration/Tickets/759Test.php
S application/tests/integration/Core/OmekaDbTest.php
S application/tests/phpunit.xml
S application/models/index.html
S application/config/routes.ini
S application/config/index.html
S application/controllers/index.html
S application/core/schema/items.sql
S application/core/schema/plugins.sql
S application/core/schema/item_types.sql
S application/core/schema/entities.sql
S application/core/schema/element_sets.sql
S application/core/schema/options.sql
S application/core/schema/data_types.sql
S application/core/schema/tags.sql
S application/core/schema/users.sql
S application/core/schema/record_types.sql
S application/core/schema/taggings.sql
S application/core/schema/entities_relations.sql
S application/core/schema/mime_element_set_lookup.sql
S application/core/schema/users_activations.sql
S application/core/schema/processes.sql
S application/core/schema/elements.sql
S application/core/schema/item_types_elements.sql
S application/core/schema/collections.sql
S application/core/schema/entity_relationships.sql
S application/core/schema/element_texts.sql
S application/index.html
S application/libraries/VersionedDirectoryIterator.php
S application/libraries/globals.php
S application/libraries/index.html
S application/libraries/Inflector.php
S application/libraries/Omeka
S application/migrations
S application/views
S paths.php
S changelog.txt
S .gitignore
S install
S db.ini.changeme
S readme.txt

Performing status on external item at 'plugins/Coins'
! plugins/Coins
S plugins/Coins/plugin.php
S plugins/Coins/plugin.ini

Performing status on external item at 'plugins/ExhibitBuilder'
? plugins/ExhibitBuilder/exhibit-search-form.php
M plugins/ExhibitBuilder/routes.ini
M plugins/ExhibitBuilder/helpers/ExhibitFunctions.php
? plugins/ExhibitBuilder/models/ExhibitLuceneAdvancedSearchFactory.php
? plugins/ExhibitBuilder/models/ExhibitLuceneDocumentFactory.php
M plugins/ExhibitBuilder/models/ExhibitPage.php
M plugins/ExhibitBuilder/models/ExhibitSectionTable.php
M plugins/ExhibitBuilder/models/ExhibitPageEntry.php
M plugins/ExhibitBuilder/models/Exhibit.php
M plugins/ExhibitBuilder/models/ExhibitPageTable.php
M plugins/ExhibitBuilder/models/ExhibitSection.php
M plugins/ExhibitBuilder/models/ExhibitPageEntryTable.php
M plugins/ExhibitBuilder/models/ExhibitTable.php
M plugins/ExhibitBuilder/models/Sluggable.php
M plugins/ExhibitBuilder/models/ExhibitPermissions.php
M plugins/ExhibitBuilder/plugin.php
M plugins/ExhibitBuilder/controllers/ExhibitsController.php
M plugins/ExhibitBuilder/plugin.ini
M plugins/ExhibitBuilder/views/shared/exhibit_themes/thewall/summary.php
M plugins/ExhibitBuilder/views/shared/exhibit_themes/thewall/header.php
M plugins/ExhibitBuilder/views/shared/exhibit_themes/basic/header.php
M plugins/ExhibitBuilder/views/shared/exhibit_themes/modern/header.php
M plugins/ExhibitBuilder/views/shared/exhibit_themes/robot/summary.php
M plugins/ExhibitBuilder/views/shared/exhibit_themes/robot/header.php
M plugins/ExhibitBuilder/views/shared/exhibit_themes/noire/summary.php
M plugins/ExhibitBuilder/views/shared/exhibit_themes/noire/header.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/image-list-left/layout.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/image-list-left/form.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/image-list-left-thumbs/layout.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/image-list-left-thumbs/form.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/gallery-thumbnails-text-top/form.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/image-list-right/layout.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/image-list-right/form.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/image-list-right-thumbs/layout.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/image-list-right-thumbs/form.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/gallery-full-left/form.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/gallery-thumbnails-text-bottom/form.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/gallery-full-right/layout.php
M plugins/ExhibitBuilder/views/shared/exhibit_layouts/gallery-full-right/form.php
M plugins/ExhibitBuilder/views/admin/exhibits/exhibit-metadata-form.php
M plugins/ExhibitBuilder/views/admin/exhibits/page-metadata-form.php
M plugins/ExhibitBuilder/views/admin/exhibits/section-list.php
M plugins/ExhibitBuilder/views/admin/exhibits/browse.php
M plugins/ExhibitBuilder/views/admin/exhibits/items.php
M plugins/ExhibitBuilder/views/admin/exhibits/section-metadata-form.php
M plugins/ExhibitBuilder/views/admin/exhibits/page-content-form.php
M plugins/ExhibitBuilder/views/admin/exhibits/page-list.php
M plugins/ExhibitBuilder/views/admin/css/exhibits.css
M plugins/ExhibitBuilder/views/public/exhibits/item.php
M plugins/ExhibitBuilder/views/public/exhibits/tags.php
M plugins/ExhibitBuilder/views/public/exhibits/browse.php

Performing status on external item at 'plugins/SimplePages'
? plugins/SimplePages/helpers
? plugins/SimplePages/tests
M plugins/SimplePages/models/SimplePagesPageTable.php
M plugins/SimplePages/models/SimplePagesPage.php
M plugins/SimplePages/plugin.php
M plugins/SimplePages/controllers/IndexController.php
M plugins/SimplePages/controllers/PageController.php
M plugins/SimplePages/plugin.ini
? plugins/SimplePages/views/admin/index/browse-list.php
? plugins/SimplePages/views/admin/index/browse-hierarchy.php
? plugins/SimplePages/views/admin/index/browse-hierarchy-page.php
M plugins/SimplePages/views/admin/index/browse.php
M plugins/SimplePages/views/admin/index/form.php
M plugins/SimplePages/views/admin/index/edit.php
! plugins/SimplePages/views/admin/index/index.php
M plugins/SimplePages/views/admin/index/add.php
M plugins/SimplePages/views/public/page/show.php
M plugins/SimplePages/config_form.php

Performing status on external item at 'themes/default'
? themes/default/about.php

Performing status on external item at 'themes/minimalist'

Performing status on external item at 'admin/plugins/Coins'

Performing status on external item at 'admin/plugins/ExhibitBuilder'

Performing status on external item at 'admin/plugins/SimplePages'

Performing status on external item at 'admin/themes/default'

Performing status on external item at 'admin/themes/minimalist'

Performing status on external item at 'admin/themes/rhythm'

Performing status on external item at 'admin/themes/seasons'

All those lines that start with S are bad; they indicate folders and files that aren't on the same SVN branch as their parent.

You probably just need to do svn switch https://omeka.org/svn/tags/1.4 again.

Well, some progress. After some mucking around, I'm able to get into the admin interface. On the public side, I get this error message:

Fatal error: Cannot redeclare show_untitled_items() in /home/luahiwa/huapala.net/application/views/scripts/functions.php on line 8

So, something's still amiss.

Thanks for your patience.

Switching themes revived it. Works okay with some themes but not with Berlin, which I had been using. Maybe it was time for a change anyway.