PHP Notice: Undefined index followed by fatal error.

We are running version 2.0.4 and have been having problems.

Our wiki gets hung to where when we go to http://exhibits.libraries.psu.edu/wiki, it is unresponsive. Reloading the apache server seems to correct this.

Along with this is another associated problem. The two problems seem to happen at the same time. This problem is that our /tmp directory is getting filled with tif files when our user is trying to load items. Below is what she says she is doing. I correct the problem by removing the tif files from the /tmp directory.

Her description of what she does:
Hi Todd, As you expected problems today.
First: It looks like the wiki is down again. (As noted above, I corrected by reloading apache)
Second: Friday I loaded the drop box before I left with the Christ Diaries.
This morning I tried to load those TIFFS (140) as files in one item.
This didn't work so I went back and tried loading them as individual items.
That worked. (However I can't use them that way)
Went back and started it from scratch, loaded the Christ Diaries folder 2 (140 TIFFS)
They went to the drop box fine.
Tried loading them as files in one item. Got an error code.
(This is when I noticed the wiki wasn't working)
Tried loading a batch on only 8. Same error. (At this point, I think things were hosed)
The items that I successfully loaded individually are not displaying correctly. The DOC viewer won't show the files. But if you click the link it give you you can download the image so it is loaded in somewhere. (It got trapped in the /tmp directory)

Here is the contents of the apache error_log. The files in the /tmp directory were all dated Oct 21, between 8:38 and 9:10.
[Mon Oct 21 08:38:27 2013] [error] [client 128.118.152.81] PHP Notice: Undefined index: html in /prodat/omeka/omeka-2.0.4-peoplescontest/application/models/Mixin/ElementText.php on line 506, referer: http://exhibits.libraries.psu.edu/peoplescontest/admin/items/edit/578
[Mon Oct 21 08:39:30 2013] [error] [client 128.118.152.81] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /prodat/omeka/omeka-2.0.4-peoplescontest/application/libraries/getid3/getid3.php on line 1115, referer: http://exhibits.libraries.psu.edu/peoplescontest/admin/items/edit/578
[Mon Oct 21 08:39:31 2013] [error] [client 128.118.152.81] PHP Fatal error: Undefined class constant 'PRIMARY_TYPE_NUM' in /prodat/omeka/omeka-2.0.4-peoplescontest/application/libraries/Zend/Session/SaveHandler/DbTable.php on line 522, referer: http://exhibits.libraries.psu.edu/peoplescontest/admin/items/edit/578
[Mon Oct 21 08:44:42 2013] [error] [client 128.118.152.81] PHP Notice: Undefined index: html in /prodat/omeka/omeka-2.0.4-peoplescontest/application/models/Mixin/ElementText.php on line 506, referer: http://exhibits.libraries.psu.edu/peoplescontest/admin/items/edit/578
[Mon Oct 21 08:45:42 2013] [error] [client 128.118.152.81] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /prodat/omeka/omeka-2.0.4-peoplescontest/application/models/File.php on line 314, referer: http://exhibits.libraries.psu.edu/peoplescontest/admin/items/edit/578
[Mon Oct 21 08:45:43 2013] [error] [client 128.118.152.81] PHP Fatal error: Undefined class constant 'PRIMARY_TYPE_NUM' in /prodat/omeka/omeka-2.0.4-peoplescontest/application/libraries/Zend/Session/SaveHandler/DbTable.php on line 522, referer: http://exhibits.libraries.psu.edu/peoplescontest/admin/items/edit/578
[Mon Oct 21 08:46:34 2013] [error] [client 128.118.152.81] PHP Notice: Undefined index: dropbox-files in /prodat/omeka/omeka-2.0.4-peoplescontest/plugins/Dropbox/controllers/IndexController.php on line 27, referer: http://exhibits.libraries.psu.edu/peoplescontest/admin/dropbox
[Mon Oct 21 08:46:47 2013] [error] [client 128.118.152.81] PHP Notice: Undefined index: geolocation in /prodat/omeka/omeka-2.0.4-peoplescontest/plugins/Geolocation/GeolocationPlugin.php on line 177, referer: http://exhibits.libraries.psu.edu/peoplescontest/admin/dropbox
[Mon Oct 21 08:46:50 2013] [error] [client 128.118.152.81] PHP Notice: Undefined index: geolocation in /prodat/omeka/omeka-2.0.4-peoplescontest/plugins/Geolocation/GeolocationPlugin.php on line 177, referer: http://exhibits.libraries.psu.edu/peoplescontest/admin/dropbox
[Mon Oct 21 08:46:52 2013] [error] [client 128.118.152.81] PHP Notice: Undefined index: geolocation in /prodat/omeka/omeka-2.0.4-peoplescontest/plugins/Geolocation/GeolocationPlugin.php on line 177, referer: http://exhibits.libraries.psu.edu/peoplescontest/admin/dropbox

There is lots more in the error log below this, but it's all similar to this.

When this happens, our system disk is getting filled with the tif files in the /tmp folder. I'm asking our user if these files have to be tif files or if they can be converted to jpg to save space. Each one is around 34MB. Could it be that omeka is using the /tmp folder for temporary space and running out of space and when that happens, nothing good becomes of anything and the files get stuck in /tmp? I'm not sure why the wiki would get hung then and require an apache restart, but anything could be happening probably if the disk is full.

That must have been what was happening. I converted all the files to jpg and loaded all 150 files where each was less than 5MB. This can be closed.