Admin Items page blank after update


I recently updated to 2.0. Almost everything seems to be running smoothly except the "Items" page in Admin. If you click it, it just gives a blank page. If you click "Collections" it works fine and items are viewable. Any ideas on what might be going wrong?

Just to follow up, I deactivated the COiNs plugin and my "Items" page came back. Hope that helps anyone else with a similar issue.

Did you replace your old Coins plugin?

Remember, Omeka comes bundled with Coins, ExhibitBuilder, and SimplePages. You should almost always use the version that comes with a new Omeka download, not keep your old one.

The upgrading instructions might not be clear enough on this point.

I did keep the most recent one that came with the upgrade and was careful not to replace it when adding back my old plugins. It still prompted me to upgrade it despite this after I had everything running, so I did (it did this with all of the plugins that came with the Omeka download). It appears to be the most recent version, so I'm not sure why the plugin is still causing the issue.

To be clear, Coins is still causing a white-screen error on the items page when you leave it activated?

This could be a bug in Coins. Try enabling error messages (you just uncomment one line in your .htaccess file).

That should give you some kind of error message instead of just a white screen, which should help us figure out what's going wrong.

I actually already had error messages enabled (double checked it just now though). I tried reactivating Coins again and it once again caused my Items page to go blank, but I'm not getting any errors visible. Deactivating it did result in the Items page being viewable again. Is there another way I can track the error?

The prompt for you to upgrade Coins is normal and expected, you're still switching versions of Coins at that point, it just happened to come along with an upgrade of the whole system.

You did the "new" style of enabling error messages, right? The old, 1.x htaccess files had a different way of turning on error reporting than the 2.0 one does (it's now a SetEnv directive).

Finally, maybe we could figure something out from the output of the "System Information" page (linked at the bottom-right of admin pages).

Thanks. I did enable it by uncommenting the SetEnv directive, and it was helpful early in the implementation to identify the issues being caused by other older plugins.

Here is the system information:

Browser Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.56 Safari/537.17
Role super
Omeka 2.0
PHP 5.2.17 (apache2handler)
OS Linux 2.6.18-274.3.1.el5 x86_64
MySQL Server 5.1.52
MySQL Client 5.1.52
Apache Apache/2.2.21 (EL)
PHP Extensions
Regular apache2handler, bz2, calendar, ctype, curl, date, dbase, dom, exif, filter, ftp, gd, gettext, gmp, hash, iconv, json, ldap, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib
Coins 2.0 (inactive)
Contribution 2.2.1
CsvImport 1.3.2 (inactive)
DocsViewer 2.0 (inactive)
Dropbox 0.7
ExhibitBuilder 2.0
Geolocation 1.2
ImageAnnotation 1.0 (inactive)
OaiPmhRepository 1.0 (inactive)
SimplePages 2.0
SimpleVocab 2.0
SocialBookmarking 1.0.1 (inactive)
Berlin 1.3
Griddy 0.1
Minimalist Omeka Theme 1.2
Rhythm 1.2
Seasons 2.0 (current)
Sorin Oak 0.1
Stedwards 1.3
Thanks, Roy 2.0

Any additional advice is welcome.

Looks like most of those active plugins aren't compatible with Omeka 2.0. The only ones we expect to work are Coins, DocsViewer, Dropbox, ExhibitBuilder, SimplePages, and SimpleVocab -- all with the most recent release. You'll want to deactivate the others, but if COinS is updated there's still a mystery.

Thanks. Contribution and Geolocation are not showing as "inactive", however I've yet to even move them over as even having them in the plugins folder was causing an understandable php function error. The only active plugins are the ones you've mentioned, with the exception that we currently don't have Coins or DocsViewer active.

I'll admit I'm a little stumped on this one.

You can look in your PHP log (which is often the same as your Apache log) to see if there's anything that showed up there, but everything that would be there should be printed to your screen with "development" mode on.

One last question: do you have a large number of items set to display on each admin page? A memory limit problem seems like a decent possibility now.

That's not a bad idea. Right now it's displaying 100 items per page. I'm looking for a setting to change that but I'm not seeing an easy one in the admin interface, although I could just be missing it. Is there an easy option and if not could you point me to the right PHP file to edit?

There is a setting for that in the admin interface, it's just moved a little bit from Omeka 1.5 to 2.0.

You should find the page limits under Appearance (on the top bar) -> Settings. They're under the heading "Display Settings" on that page.

If bumping the limit down fixes your problem, I'd be 99.99% sure it's a memory limit issue, which we'd be able to fix with an update to Coins.

I'm pretty sure this is it.

That did it. Thanks so much for sticking with me on this one. I really appreciate it!

It's my pleasure. Resolving these kinds of problem reports often helps us out as much or more than the person having the problem in the first place. We get more real-world use cases, and you get your site back working again: a win-win.

Now we know Coins is a memory hog, on PHP 5.2 at least, so we can fix it, and you'll be able to be back to 100 items per page again.